summaryrefslogtreecommitdiff
path: root/net/freewais-sf
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-05-11 04:07:52 +0000
committersnj <snj@pkgsrc.org>2004-05-11 04:07:52 +0000
commitdcd6066e7fda8f32ca6040ca46fea296dd160914 (patch)
tree0c54a8732ed76b58481b0b6fea3410692e95ebe1 /net/freewais-sf
parentcfa17a3c25580a7f6b11ece305bdabb1b4a464ab (diff)
downloadpkgsrc-dcd6066e7fda8f32ca6040ca46fea296dd160914.tar.gz
Convert to buildlink3.
Diffstat (limited to 'net/freewais-sf')
-rw-r--r--net/freewais-sf/Makefile3
-rw-r--r--net/freewais-sf/buildlink2.mk24
-rw-r--r--net/freewais-sf/buildlink3.mk18
3 files changed, 20 insertions, 25 deletions
diff --git a/net/freewais-sf/Makefile b/net/freewais-sf/Makefile
index 790ff8232e9..da925da7957 100644
--- a/net/freewais-sf/Makefile
+++ b/net/freewais-sf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2004/03/09 11:24:04 seb Exp $
+# $NetBSD: Makefile,v 1.15 2004/05/11 04:07:52 snj Exp $
#
DISTNAME= freeWAIS-sf-2.2.12
@@ -11,6 +11,7 @@ MAINTAINER= bad@NetBSD.org
HOMEPAGE= http://ls6-www.informatik.uni-dortmund.de/ir/projects/freeWAIS-sf/index.html
COMMENT= Enhanced Wide Area Information Server
+USE_BUILDLINK3= yes
USE_PERL5= build
USE_LIBTOOL= # defined
diff --git a/net/freewais-sf/buildlink2.mk b/net/freewais-sf/buildlink2.mk
deleted file mode 100644
index 5ff18a8382d..00000000000
--- a/net/freewais-sf/buildlink2.mk
+++ /dev/null
@@ -1,24 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.2 2002/10/26 18:45:14 seb Exp $
-#
-# This Makefile fragment is included by packages that use freewais-sf.
-#
-# This file was created automatically using createbuildlink 2.2.
-#
-
-.if !defined(FREEWAIS_SF_BUILDLINK2_MK)
-FREEWAIS_SF_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= freewais-sf
-BUILDLINK_DEPENDS.freewais-sf?= freewais-sf>=2.2.12
-BUILDLINK_PKGSRCDIR.freewais-sf?= ../../net/freewais-sf
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.freewais-sf=freewais-sf
-BUILDLINK_PREFIX.freewais-sf_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.freewais-sf+= include/wais.h
-BUILDLINK_FILES.freewais-sf+= lib/libwais.*
-
-BUILDLINK_TARGETS+= freewais-sf-buildlink
-
-freewais-sf-buildlink: _BUILDLINK_USE
-
-.endif # FREEWAIS_SF_BUILDLINK2_MK
diff --git a/net/freewais-sf/buildlink3.mk b/net/freewais-sf/buildlink3.mk
new file mode 100644
index 00000000000..39a089a778c
--- /dev/null
+++ b/net/freewais-sf/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/05/11 04:07:52 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+FREEWAIS_SF_BUILDLINK3_MK:= ${FREEWAIS_SF_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= freewais-sf
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfreewais-sf}
+BUILDLINK_PACKAGES+= freewais-sf
+
+.if !empty(FREEWAIS_SF_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.freewais-sf+= freewais-sf>=2.2.12
+BUILDLINK_PKGSRCDIR.freewais-sf?= ../../net/freewais-sf
+.endif # FREEWAIS_SF_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}