summaryrefslogtreecommitdiff
path: root/x11/gtk+extra
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-04-25 06:58:43 +0000
committersnj <snj@pkgsrc.org>2004-04-25 06:58:43 +0000
commit124c08223318aabd7419b3aeca428c2ff403d364 (patch)
tree3f2ec27cec855a6431cd2ac0a66f486e2f234bfb /x11/gtk+extra
parent87dcd1486440390b1dde82e50daabd97471e1ebb (diff)
downloadpkgsrc-124c08223318aabd7419b3aeca428c2ff403d364.tar.gz
Convert to buildlink3.
Diffstat (limited to 'x11/gtk+extra')
-rw-r--r--x11/gtk+extra/Makefile6
-rw-r--r--x11/gtk+extra/buildlink3.mk20
2 files changed, 23 insertions, 3 deletions
diff --git a/x11/gtk+extra/Makefile b/x11/gtk+extra/Makefile
index d41f7ac8644..bfeac6b8434 100644
--- a/x11/gtk+extra/Makefile
+++ b/x11/gtk+extra/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2004/01/24 15:30:33 grant Exp $
+# $NetBSD: Makefile,v 1.14 2004/04/25 07:05:42 snj Exp $
#
DISTNAME= gtk+extra-0.99.17
@@ -10,7 +10,7 @@ MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://gtkextra.sourceforge.net/
COMMENT= Useful set of GTK+ widgets for creating GUIs
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_X11BASE= YES
USE_GNU_TOOLS+= make
GNU_CONFIGURE= YES
@@ -18,5 +18,5 @@ GNU_CONFIGURE= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
-.include "../../x11/gtk/buildlink2.mk"
+.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/gtk+extra/buildlink3.mk b/x11/gtk+extra/buildlink3.mk
new file mode 100644
index 00000000000..6095d142a01
--- /dev/null
+++ b/x11/gtk+extra/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/25 07:05:42 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GTK+EXTRA_BUILDLINK3_MK:= ${GTK+EXTRA_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= gtk+extra
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngtk+extra}
+BUILDLINK_PACKAGES+= gtk+extra
+
+.if !empty(GTK+EXTRA_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.gtk+extra+= gtk+extra>=0.99.17nb2
+BUILDLINK_PKGSRCDIR.gtk+extra?= ../../x11/gtk+extra
+.endif # GTK+EXTRA_BUILDLINK3_MK
+
+.include "../../x11/gtk/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}