diff options
author | jlam <jlam> | 2002-08-25 18:38:05 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-08-25 18:38:05 +0000 |
commit | f22b8c42a61ccfbb462bf2b94c3486b7baec18bd (patch) | |
tree | d2b31bb9a6a069ebfb63079b9dddde1e6688bc4b /graphics/mng | |
parent | 71eaa77968f19e23d72fdc88e5f38259b8f7cdf3 (diff) | |
download | pkgsrc-f22b8c42a61ccfbb462bf2b94c3486b7baec18bd.tar.gz |
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk. This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
Diffstat (limited to 'graphics/mng')
-rw-r--r-- | graphics/mng/Makefile | 15 | ||||
-rw-r--r-- | graphics/mng/buildlink2.mk | 25 |
2 files changed, 33 insertions, 7 deletions
diff --git a/graphics/mng/Makefile b/graphics/mng/Makefile index 82368453aa6..c38ddcbc3bb 100644 --- a/graphics/mng/Makefile +++ b/graphics/mng/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2002/01/09 12:28:37 agc Exp $ +# $NetBSD: Makefile,v 1.4 2002/08/25 18:39:17 jlam Exp $ DISTNAME= libmng-1.0.3 PKGNAME= ${DISTNAME:S/lib//} @@ -11,15 +11,16 @@ MAINTAINER= packages@netbsd.com HOMEPAGE= http://www.libmng.com/ COMMENT= Multiple-image Network Graphics (MNG) reference library -USE_BUILDLINK_ONLY= yes +USE_BUILDLINK2= yes GNU_CONFIGURE= yes USE_LIBTOOL= yes LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig -CONFIGURE_ARGS+= --with-jpeg=${BUILDLINK_DIR} -CONFIGURE_ARGS+= --with-lcms=${BUILDLINK_DIR} +CONFIGURE_ARGS+= --with-jpeg=${BUILDLINK_PREFIX.jpeg} +CONFIGURE_ARGS+= --with-lcms=${BUILDLINK_PREFIX.lcms} + +.include "../../devel/zlib/buildlink2.mk" +.include "../../graphics/jpeg/buildlink2.mk" +.include "../../graphics/lcms/buildlink2.mk" -.include "../../devel/zlib/buildlink.mk" -.include "../../graphics/jpeg/buildlink.mk" -.include "../../graphics/lcms/buildlink.mk" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/mng/buildlink2.mk b/graphics/mng/buildlink2.mk new file mode 100644 index 00000000000..5fcf19a49b4 --- /dev/null +++ b/graphics/mng/buildlink2.mk @@ -0,0 +1,25 @@ +# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:39:17 jlam Exp $ + +.if !defined(MNG_BUILDLINK2_MK) +MNG_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= mng +BUILDLINK_DEPENDS.mng?= mng>=1.0.0 +BUILDLINK_PKGSRCDIR.mng?= ../../graphics/mng + +EVAL_PREFIX+= BUILDLINK_PREFIX.mng=mng +BUILDLINK_PREFIX.mng_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.mng= include/libmng.h +BUILDLINK_FILES.mng+= include/libmng_conf.h +BUILDLINK_FILES.mng+= include/libmng_types.h +BUILDLINK_FILES.mng+= lib/libmng.* + +.include "../../devel/zlib/buildlink2.mk" +.include "../../graphics/jpeg/buildlink2.mk" +.include "../../graphics/lcms/buildlink2.mk" + +BUILDLINK_TARGETS+= mng-buildlink + +mng-buildlink: _BUILDLINK_USE + +.endif # MNG_BUILDLINK2_MK |