summaryrefslogtreecommitdiff
path: root/graphics/compface
diff options
context:
space:
mode:
authorminskim <minskim>2004-02-14 18:08:44 +0000
committerminskim <minskim>2004-02-14 18:08:44 +0000
commit3479f8a0b055691b265607ba8b578c1c95003cf5 (patch)
tree2e2d88bf4b38fc3ccd24e570ace60d0e717d746d /graphics/compface
parent5ccba87be46fc51bdcc6b50817ea75b84c82eca6 (diff)
downloadpkgsrc-3479f8a0b055691b265607ba8b578c1c95003cf5.tar.gz
bl3ify
Diffstat (limited to 'graphics/compface')
-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/+$//}