summaryrefslogtreecommitdiff
path: root/graphics/compface
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-09-21 11:56:47 +0000
committerjlam <jlam@pkgsrc.org>2002-09-21 11:56:47 +0000
commit21f6d90637b75eb9e050fd06b739193dbc5ef02e (patch)
tree4f0e3aae5f97c8ef134241a39891a27c9637bfb7 /graphics/compface
parenta5171d8755807091deeeaafa28a376ac058a64e1 (diff)
downloadpkgsrc-21f6d90637b75eb9e050fd06b739193dbc5ef02e.tar.gz
buildlink1 -> buildlink2
Diffstat (limited to 'graphics/compface')
-rw-r--r--graphics/compface/Makefile8
-rw-r--r--graphics/compface/buildlink2.mk19
2 files changed, 23 insertions, 4 deletions
diff --git a/graphics/compface/Makefile b/graphics/compface/Makefile
index c8e87b34f20..6d33db62c9e 100644
--- a/graphics/compface/Makefile
+++ b/graphics/compface/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/07/19 01:13:52 hubertf Exp $
+# $NetBSD: Makefile,v 1.2 2002/09/21 12:03:28 jlam Exp $
DISTNAME= compface-1.4
CATEGORIES= graphics
@@ -8,8 +8,8 @@ MAINTAINER= oishi@ims.ac.jp
HOMEPAGE= http://freshmeat.net/projects/compface/
COMMENT= 48x48x1 image compression and decompression (X-face utility)
-GNU_CONFIGURE= yes
-USE_GMAKE= yes
-CONFIGURE_ARGS+=--prefix=${LOCALBASE}
+USE_BUILDLINK2= # defined
+GNU_CONFIGURE= # defined
+USE_GMAKE= # defined
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/compface/buildlink2.mk b/graphics/compface/buildlink2.mk
new file mode 100644
index 00000000000..78f0ab8e0f9
--- /dev/null
+++ b/graphics/compface/buildlink2.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink2.mk,v 1.1 2002/09/21 12:03:28 jlam Exp $
+
+.if !defined(COMPFACE_BUILDLINK2_MK)
+COMPFACE_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= compface
+BUILDLINK_DEPENDS.compface?= compface>=1.4
+BUILDLINK_PKGSRCDIR.compface?= ../../graphics/compface
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.compface=compface
+BUILDLINK_PREFIX.compface_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.compface+= include/compface.h
+BUILDLINK_FILES.compface+= lib/libcompface.*
+
+BUILDLINK_TARGETS+= compface-buildlink
+
+compface-buildlink: _BUILDLINK_USE
+
+.endif # COMPFACE_BUILDLINK2_MK