summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/libdockapp/Makefile6
-rw-r--r--devel/libdockapp/buildlink3.mk22
2 files changed, 25 insertions, 3 deletions
diff --git a/devel/libdockapp/Makefile b/devel/libdockapp/Makefile
index 0cb36e5ad02..0265c4bfce7 100644
--- a/devel/libdockapp/Makefile
+++ b/devel/libdockapp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2003/07/21 16:43:26 martti Exp $
+# $NetBSD: Makefile,v 1.11 2004/03/07 14:10:39 minskim Exp $
#
DISTNAME= libdockapp-0.4.0
@@ -9,7 +9,7 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://shadowmere.student.utwente.nl/
COMMENT= Simple library to create dockapps for WindowMaker
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
@@ -19,5 +19,5 @@ post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libdockapp
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libdockapp
-.include "../../graphics/xpm/buildlink2.mk"
+.include "../../graphics/xpm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libdockapp/buildlink3.mk b/devel/libdockapp/buildlink3.mk
new file mode 100644
index 00000000000..e4f9517b4c7
--- /dev/null
+++ b/devel/libdockapp/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/07 14:10:39 minskim Exp $
+#
+# This Makefile fragment is included by packages that use libdockapp.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBDOCKAPP_BUILDLINK3_MK:= ${LIBDOCKAPP_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libdockapp
+.endif
+
+.if !empty(LIBDOCKAPP_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= libdockapp
+BUILDLINK_DEPENDS.libdockapp+= libdockapp>=0.4.0
+BUILDLINK_PKGSRCDIR.libdockapp?= ../../devel/libdockapp
+
+.include "../../graphics/xpm/buildlink3.mk"
+
+.endif # LIBDOCKAPP_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}