summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-02-14 18:08:44 +0000
committerminskim <minskim@pkgsrc.org>2004-02-14 18:08:44 +0000
commitd41cb93b37809dae24ce375a47b346805c435a2d (patch)
tree2e2d88bf4b38fc3ccd24e570ace60d0e717d746d
parentbdf56499ca536f146fd83b5a6bf9feba29115ba7 (diff)
downloadpkgsrc-d41cb93b37809dae24ce375a47b346805c435a2d.tar.gz
bl3ify
-rw-r--r--graphics/compface/Makefile4
-rw-r--r--graphics/compface/buildlink3.mk20
2 files changed, 22 insertions, 2 deletions
diff --git a/graphics/compface/Makefile b/graphics/compface/Makefile
index d068b8e47e7..79af450d394 100644
--- a/graphics/compface/Makefile
+++ b/graphics/compface/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/01/24 15:46:43 grant Exp $
+# $NetBSD: Makefile,v 1.5 2004/02/14 18:08:44 minskim Exp $
DISTNAME= compface-1.4
CATEGORIES= graphics
@@ -10,7 +10,7 @@ COMMENT= 48x48x1 image compression and decompression (X-face utility)
CONFLICTS= faces-[0-9]*
-USE_BUILDLINK2= # defined
+USE_BUILDLINK3= # defined
GNU_CONFIGURE= # defined
USE_GNU_TOOLS+= make
diff --git a/graphics/compface/buildlink3.mk b/graphics/compface/buildlink3.mk
new file mode 100644
index 00000000000..8a80a1067c4
--- /dev/null
+++ b/graphics/compface/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/14 18:08:44 minskim Exp $
+#
+# This Makefile fragment is included by packages that use compface.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+COMPFACE_BUILDLINK3_MK:= ${COMPFACE_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= compface
+.endif
+
+.if !empty(COMPFACE_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= compface
+BUILDLINK_DEPENDS.compface+= compface>=1.4
+BUILDLINK_PKGSRCDIR.compface?= ../../graphics/compface
+
+.endif # COMPFACE_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}