diff options
author | jlam <jlam@pkgsrc.org> | 2004-03-11 06:45:55 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-03-11 06:45:55 +0000 |
commit | 0b536ea6d1ed15c3fcc6e97343334dd330dddd62 (patch) | |
tree | ba346ac05ff8226a8a628abd68655b42199de347 /archivers/zziplib | |
parent | 990c8d715e0cf8b81c462c506585770339b295e3 (diff) | |
download | pkgsrc-0b536ea6d1ed15c3fcc6e97343334dd330dddd62.tar.gz |
bl3ify
Diffstat (limited to 'archivers/zziplib')
-rw-r--r-- | archivers/zziplib/Makefile | 8 | ||||
-rw-r--r-- | archivers/zziplib/buildlink3.mk | 21 |
2 files changed, 25 insertions, 4 deletions
diff --git a/archivers/zziplib/Makefile b/archivers/zziplib/Makefile index 492b995ba2d..707a4052e55 100644 --- a/archivers/zziplib/Makefile +++ b/archivers/zziplib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2004/02/14 17:21:32 jlam Exp $ +# $NetBSD: Makefile,v 1.4 2004/03/11 06:45:55 jlam Exp $ # DISTNAME= zziplib-0.10.82 @@ -10,10 +10,10 @@ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://zziplib.sourceforge.net/ COMMENT= Library for ZIP archive handling -USE_BUILDLINK2= yes +USE_BUILDLINK3= yes USE_LIBTOOL= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-zlib=${BUILDLINK_DIR} +CONFIGURE_ARGS= --with-zlib=${BUILDLINK_PREFIX.zlib} -.include "../../devel/zlib/buildlink2.mk" +.include "../../devel/zlib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/archivers/zziplib/buildlink3.mk b/archivers/zziplib/buildlink3.mk new file mode 100644 index 00000000000..fcb533f8fe3 --- /dev/null +++ b/archivers/zziplib/buildlink3.mk @@ -0,0 +1,21 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/03/11 06:45:55 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +ZZIPLIB_BUILDLINK3_MK:= ${ZZIPLIB_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= zziplib +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nzziplib} +BUILDLINK_PACKAGES+= zziplib + +.if !empty(ZZIPLIB_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.zziplib+= zziplib>=0.10.82 +BUILDLINK_PKGSRCDIR.zziplib?= ../../archivers/zziplib + +.include "../../devel/zlib/buildlink3.mk" + +.endif # ZZIPLIB_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |