summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-03-11 06:58:12 +0000
committerjlam <jlam@pkgsrc.org>2004-03-11 06:58:12 +0000
commit512789f4b1b7f82b4aafefddccdc7043f04cf77b (patch)
treee634e29f0141de58bea504e8e1b860e146218dc7
parent668d14d1dadc3d9922e6a868df1da474bb8d2ccc (diff)
downloadpkgsrc-512789f4b1b7f82b4aafefddccdc7043f04cf77b.tar.gz
bl3ify
-rw-r--r--graphics/libgii/Makefile5
-rw-r--r--graphics/libgii/buildlink3.mk21
2 files changed, 23 insertions, 3 deletions
diff --git a/graphics/libgii/Makefile b/graphics/libgii/Makefile
index 3cebc0ddb59..e645019a189 100644
--- a/graphics/libgii/Makefile
+++ b/graphics/libgii/Makefile
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2004/02/14 17:21:42 jlam Exp $
-#
+# $NetBSD: Makefile,v 1.11 2004/03/11 06:58:12 jlam Exp $
DISTNAME= libgii-0.8.4.src
PKGNAME= ${DISTNAME:S/.src//}
@@ -14,7 +13,7 @@ HOMEPAGE= http://www.ggi-project.org/
COMMENT= General Input Interface - API for all possible input sources
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
USE_PKGINSTALL= yes
USE_X11= yes
USE_LIBTOOL= yes
diff --git a/graphics/libgii/buildlink3.mk b/graphics/libgii/buildlink3.mk
new file mode 100644
index 00000000000..eb7815911ab
--- /dev/null
+++ b/graphics/libgii/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/11 06:58:12 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBGII_BUILDLINK3_MK:= ${LIBGII_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libgii
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgii}
+BUILDLINK_PACKAGES+= libgii
+
+.if !empty(LIBGII_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libgii+= libgii>=0.8.3
+BUILDLINK_PKGSRCDIR.libgii?= ../../graphics/libgii
+
+USE_X11= yes
+
+.endif # LIBGII_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}