summaryrefslogtreecommitdiff
path: root/textproc/raptor
diff options
context:
space:
mode:
authorsnj <snj>2004-04-25 05:23:54 +0000
committersnj <snj>2004-04-25 05:23:54 +0000
commit8789bf258b8520c53537c1c032e331e8e1fcb52c (patch)
tree62457bd41c62e336138a53af80fd542368af8b5f /textproc/raptor
parent488ea41b42c3b7de7bcd55b5bcfcd785a15b64a7 (diff)
downloadpkgsrc-8789bf258b8520c53537c1c032e331e8e1fcb52c.tar.gz
Convert to buildlink3.
Diffstat (limited to 'textproc/raptor')
-rw-r--r--textproc/raptor/Makefile10
-rw-r--r--textproc/raptor/buildlink3.mk21
2 files changed, 26 insertions, 5 deletions
diff --git a/textproc/raptor/Makefile b/textproc/raptor/Makefile
index 8f932d55b3d..25bfcfa5a3d 100644
--- a/textproc/raptor/Makefile
+++ b/textproc/raptor/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2004/03/26 02:27:55 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2004/04/25 05:25:37 snj Exp $
#
DISTNAME= raptor-1.0.0
@@ -10,14 +10,14 @@ MAINTAINER= xtraeme@NetBSD.org
HOMEPAGE= http://www.redland.opensource.ac.uk/raptor/
COMMENT= RDF Parser Toolkit written in C
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
PKGCONFIG_OVERRIDE+= raptor.pc.in
-.include "../../devel/glib2/buildlink2.mk"
-.include "../../textproc/libxml2/buildlink2.mk"
-.include "../../www/curl/buildlink2.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/raptor/buildlink3.mk b/textproc/raptor/buildlink3.mk
new file mode 100644
index 00000000000..94cd7674288
--- /dev/null
+++ b/textproc/raptor/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/25 05:25:37 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+RAPTOR_BUILDLINK3_MK:= ${RAPTOR_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= raptor
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nraptor}
+BUILDLINK_PACKAGES+= raptor
+
+.if !empty(RAPTOR_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.raptor?= raptor>=1.0.0
+BUILDLINK_RECOMMENDED.raptor?= raptor>=1.0.0nb3
+.endif # RAPTOR_BUILDLINK3_MK
+
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}