[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / graphics / libbpg

File: [cvs.NetBSD.org] / pkgsrc / graphics / libbpg / Makefile (download)

Revision 1.5, Mon Nov 21 18:20:42 2022 UTC (2 months, 1 week ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, HEAD
Changes since 1.4: +3 -2 lines

*: Re-apply SunOS linker argument removals.

These are currently duplicated in mk/platform/SunOS.mk but the generic
removals will be removed soon in favour of per-package removals, due to
flags getting leaked into installed files.

# $NetBSD: Makefile,v 1.5 2022/11/21 18:20:42 jperkin Exp $

DISTNAME=	libbpg-0.9.2
CATEGORIES=	graphics
MASTER_SITES=	https://bellard.org/bpg/

MAINTAINER=	agc@NetBSD.org
HOMEPAGE=	https://bellard.org/bpg/
COMMENT=	Better Portable Graphics image format library
LICENSE=	modified-bsd

USE_TOOLS+=	gmake
USE_LANGUAGES+=	c c++

AUTO_MKDIRS=	yes

SUBST_CLASSES+=		config
SUBST_MESSAGE.config=	config.h file substitutions
SUBST_STAGE.config=	pre-configure
SUBST_FILES.config=	config.h
SUBST_VARS.config=	PREFIX

BUILDLINK_TRANSFORM.SunOS+=	rm:-Wl,--gc-sections

.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"