summaryrefslogtreecommitdiff
path: root/graphics/jasper
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-02-11 08:55:58 +0000
committerxtraeme <xtraeme>2004-02-11 08:55:58 +0000
commit1b2a74615bf3b388cf7a00d9c075666b95bd10eb (patch)
treea73d3af32486e7f2a0c01e1b6590c88f0a550304 /graphics/jasper
parentc092d10c3fdeb8a492292503ed344f5987743a7f (diff)
downloadpkgsrc-1b2a74615bf3b388cf7a00d9c075666b95bd10eb.tar.gz
bl3ify
Diffstat (limited to 'graphics/jasper')
-rw-r--r--graphics/jasper/Makefile6
-rw-r--r--graphics/jasper/buildlink3.mk24
2 files changed, 27 insertions, 3 deletions
diff --git a/graphics/jasper/Makefile b/graphics/jasper/Makefile
index a38eac2cd69..7fed618e7ac 100644
--- a/graphics/jasper/Makefile
+++ b/graphics/jasper/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2004/02/05 20:14:05 skrll Exp $
+# $NetBSD: Makefile,v 1.13 2004/02/11 09:10:15 xtraeme Exp $
#
DISTNAME= jasper-1.600.0
@@ -12,7 +12,7 @@ HOMEPAGE= http://www.ece.uvic.ca/~mdadams/jasper/
COMMENT= Software-based reference implementation of the JPEG-2000 codec
GNU_CONFIGURE= YES
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_LIBTOOL= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
CONFIGURE_ARGS+= --enable-shared --without-x --disable-opengl
@@ -25,5 +25,5 @@ post-install:
.include "../../mk/bsd.prefs.mk"
-.include "../../graphics/jpeg/buildlink2.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/jasper/buildlink3.mk b/graphics/jasper/buildlink3.mk
new file mode 100644
index 00000000000..e66823bb737
--- /dev/null
+++ b/graphics/jasper/buildlink3.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/11 09:10:15 xtraeme Exp $
+#
+# This Makefile fragment is included by packages that use jasper.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+JASPER_BUILDLINK3_MK:= ${JASPER_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= jasper
+.endif
+
+.if !empty(JASPER_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= jasper
+BUILDLINK_DEPENDS.jasper+= jasper>=1.600.0
+BUILDLINK_PKGSRCDIR.jasper?= ../../graphics/jasper
+
+.include "../../graphics/jpeg/buildlink3.mk"
+
+.endif # JASPER_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}