summaryrefslogtreecommitdiff
path: root/print/ijs
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-05-05 02:26:41 +0000
committersnj <snj@pkgsrc.org>2004-05-05 02:26:41 +0000
commit52416161afe15bcde3f672a1de08396a0bd00ef7 (patch)
treebf1b8da3bc055953755670ddba3d61cdc87aa00c /print/ijs
parenta585cd4176323d2864c62dd779312d3c43402f40 (diff)
downloadpkgsrc-52416161afe15bcde3f672a1de08396a0bd00ef7.tar.gz
Convert to buildlink3.
Diffstat (limited to 'print/ijs')
-rw-r--r--print/ijs/Makefile4
-rw-r--r--print/ijs/buildlink2.mk19
-rw-r--r--print/ijs/buildlink3.mk18
3 files changed, 20 insertions, 21 deletions
diff --git a/print/ijs/Makefile b/print/ijs/Makefile
index 0642a1e29d4..163313ab4ff 100644
--- a/print/ijs/Makefile
+++ b/print/ijs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/04/24 22:46:11 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2004/05/05 02:26:42 snj Exp $
DISTNAME= ijs-0.34
CATEGORIES= print
@@ -8,7 +8,7 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.linuxprinting.org/ijs/
COMMENT= Protocol library for raster page transmission
-USE_BUILDLINK2= # defined
+USE_BUILDLINK3= yes
USE_GNU_TOOLS+= make
USE_LIBTOOL= # defined
GNU_CONFIGURE= # defined
diff --git a/print/ijs/buildlink2.mk b/print/ijs/buildlink2.mk
deleted file mode 100644
index 103499970a8..00000000000
--- a/print/ijs/buildlink2.mk
+++ /dev/null
@@ -1,19 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.1 2002/09/11 18:40:12 jlam Exp $
-
-.if !defined(IJS_BUILDLINK2_MK)
-IJS_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= ijs
-BUILDLINK_DEPENDS.ijs?= ijs>=0.34
-BUILDLINK_PKGSRCDIR.ijs?= ../../print/ijs
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.ijs=ijs
-BUILDLINK_PREFIX.ijs_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.ijs= include/ijs/*
-BUILDLINK_FILES.ijs+= lib/libijs.*
-
-BUILDLINK_TARGETS+= ijs-buildlink
-
-ijs-buildlink: _BUILDLINK_USE
-
-.endif # IJS_BUILDLINK2_MK
diff --git a/print/ijs/buildlink3.mk b/print/ijs/buildlink3.mk
new file mode 100644
index 00000000000..c3f4db4395b
--- /dev/null
+++ b/print/ijs/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/05/05 02:26:42 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+IJS_BUILDLINK3_MK:= ${IJS_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= ijs
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nijs}
+BUILDLINK_PACKAGES+= ijs
+
+.if !empty(IJS_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.ijs+= ijs>=0.34
+BUILDLINK_PKGSRCDIR.ijs?= ../../print/ijs
+.endif # IJS_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}