summaryrefslogtreecommitdiff
path: root/wm/windowmaker
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-02-25 19:02:39 +0000
committerminskim <minskim@pkgsrc.org>2004-02-25 19:02:39 +0000
commitd3efe164a28e318f72a161fc7bc3e5ee2053faf3 (patch)
tree4c2075a9d10a1177384fa05519a9af158aa9be45 /wm/windowmaker
parenta6b5c103f1acaf115d9b333d0e9c181a154d896b (diff)
downloadpkgsrc-d3efe164a28e318f72a161fc7bc3e5ee2053faf3.tar.gz
bl3ify
Diffstat (limited to 'wm/windowmaker')
-rw-r--r--wm/windowmaker/Makefile18
-rw-r--r--wm/windowmaker/buildlink3.mk28
2 files changed, 37 insertions, 9 deletions
diff --git a/wm/windowmaker/Makefile b/wm/windowmaker/Makefile
index bb2248bbd04..8dc257725a3 100644
--- a/wm/windowmaker/Makefile
+++ b/wm/windowmaker/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2004/02/14 17:21:53 jlam Exp $
+# $NetBSD: Makefile,v 1.44 2004/02/25 19:02:39 minskim Exp $
DISTNAME= WindowMaker-0.80.2
PKGNAME= windowmaker-0.80.2
@@ -14,7 +14,7 @@ COMMENT= GNUStep-compliant NEXTSTEP(tm) window manager clone
BUILD_USES_MSGFMT= YES
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_PKGINSTALL= YES
USE_X11BASE= YES
USE_PKGLOCALEDIR= YES
@@ -86,12 +86,12 @@ post-install:
FAQ FAQ.I18N \
${PREFIX}/share/doc/WindowMaker
-.include "../../devel/gettext-lib/buildlink2.mk"
-.include "../../graphics/hermes/buildlink2.mk"
-.include "../../graphics/libungif/buildlink2.mk"
-.include "../../graphics/jpeg/buildlink2.mk"
-.include "../../graphics/png/buildlink2.mk"
-.include "../../graphics/tiff/buildlink2.mk"
-.include "../../graphics/xpm/buildlink2.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../graphics/hermes/buildlink3.mk"
+.include "../../graphics/libungif/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../graphics/xpm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/wm/windowmaker/buildlink3.mk b/wm/windowmaker/buildlink3.mk
new file mode 100644
index 00000000000..8042ffeadd2
--- /dev/null
+++ b/wm/windowmaker/buildlink3.mk
@@ -0,0 +1,28 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/25 19:02:39 minskim Exp $
+#
+# This Makefile fragment is included by packages that use windowmaker.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+WINDOWMAKER_BUILDLINK3_MK:= ${WINDOWMAKER_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= windowmaker
+.endif
+
+.if !empty(WINDOWMAKER_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= windowmaker
+BUILDLINK_DEPENDS.windowmaker+= windowmaker>=0.80.2nb3
+BUILDLINK_PKGSRCDIR.windowmaker?= ../../wm/windowmaker
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../graphics/hermes/buildlink3.mk"
+.include "../../graphics/libungif/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../graphics/xpm/buildlink3.mk"
+
+.endif # WINDOWMAKER_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}