summaryrefslogtreecommitdiff
path: root/x11/xforms
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-04-11 15:40:01 +0000
committerxtraeme <xtraeme>2004-04-11 15:40:01 +0000
commit6a28059f89fd87d9682d369e5bbe8a715dba2cbd (patch)
tree71f72ae2187fdbeef8d8863604ff839db6951042 /x11/xforms
parent4a6b58b586316a6d920268585fec6b09efb71a17 (diff)
downloadpkgsrc-6a28059f89fd87d9682d369e5bbe8a715dba2cbd.tar.gz
bl3ify
Diffstat (limited to 'x11/xforms')
-rw-r--r--x11/xforms/Makefile10
-rw-r--r--x11/xforms/buildlink3.mk22
2 files changed, 27 insertions, 5 deletions
diff --git a/x11/xforms/Makefile b/x11/xforms/Makefile
index 6725b9076a0..e8c3dbf58a9 100644
--- a/x11/xforms/Makefile
+++ b/x11/xforms/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2004/01/03 18:50:01 reed Exp $
+# $NetBSD: Makefile,v 1.50 2004/04/11 15:40:01 xtraeme Exp $
#
DISTNAME= xforms-1.0-release
@@ -13,14 +13,14 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://world.std.com/~xforms/
COMMENT= Graphical user interface toolkit for X Window System
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_IMAKE= YES
MAKE_ENV= DEPEND_DEFINES="${CPPFLAGS}"
SCRIPTS_ENV= DEPEND_DEFINES="${CPPFLAGS}"
-.include "../../graphics/jpeg/buildlink2.mk"
-.include "../../graphics/tiff/buildlink2.mk"
-.include "../../graphics/xpm/buildlink2.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../graphics/xpm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xforms/buildlink3.mk b/x11/xforms/buildlink3.mk
new file mode 100644
index 00000000000..9dfc06af91d
--- /dev/null
+++ b/x11/xforms/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/11 15:40:01 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+XFORMS_BUILDLINK3_MK:= ${XFORMS_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= xforms
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxforms}
+BUILDLINK_PACKAGES+= xforms
+
+.if !empty(XFORMS_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.xforms+= xforms>=1.0nb2
+BUILDLINK_PKGSRCDIR.xforms?= ../../x11/xforms
+.endif # XFORMS_BUILDLINK3_MK
+
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../graphics/xpm/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}