summaryrefslogtreecommitdiff
path: root/net/p5-Net-Google
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-05-08 04:50:50 +0000
committersnj <snj@pkgsrc.org>2004-05-08 04:50:50 +0000
commit2e0c9e1bcf6bcaf593233c9a4994c01ef41ac8cc (patch)
tree1ffb8dcfa7a6b12826404fc0f9b49d9b9ec0954b /net/p5-Net-Google
parent3ba9289620f2022bc9eb1d74d1695c593de25658 (diff)
downloadpkgsrc-2e0c9e1bcf6bcaf593233c9a4994c01ef41ac8cc.tar.gz
Convert to buildlink3.
Diffstat (limited to 'net/p5-Net-Google')
-rw-r--r--net/p5-Net-Google/Makefile4
-rw-r--r--net/p5-Net-Google/buildlink2.mk18
-rw-r--r--net/p5-Net-Google/buildlink3.mk18
3 files changed, 20 insertions, 20 deletions
diff --git a/net/p5-Net-Google/Makefile b/net/p5-Net-Google/Makefile
index a573d873a37..44772586865 100644
--- a/net/p5-Net-Google/Makefile
+++ b/net/p5-Net-Google/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/04/09 11:31:55 grant Exp $
+# $NetBSD: Makefile,v 1.2 2004/05/08 05:25:12 snj Exp $
DISTNAME= Net-Google-0.61
PKGNAME= p5-${DISTNAME}
@@ -8,7 +8,7 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/}
MAINTAINER= tech-pkg@NetBSD.org
COMMENT= Perl module for accessing Google search engine
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Net/Google/.packlist
.include "../../lang/perl5/module.mk"
diff --git a/net/p5-Net-Google/buildlink2.mk b/net/p5-Net-Google/buildlink2.mk
deleted file mode 100644
index 176af77cb07..00000000000
--- a/net/p5-Net-Google/buildlink2.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.1.1.1 2004/04/09 11:31:55 grant Exp $
-#
-
-.if !defined(P5_NET_GOOGLE_BUILDLINK2_MK)
-P5_NET_GOOGLE_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= p5-Net-Google
-BUILDLINK_DEPENDS.p5-Net-Google?= p5-Net-Google>=0.61
-BUILDLINK_PKGSRCDIR.p5-Net-Google?= ../../net/p5-Net-Google
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.p5-Net-Google=p5-Net-Google
-BUILDLINK_PREFIX.p5-Net-Google_DEFAULT= ${LOCALBASE}
-
-BUILDLINK_TARGETS+= p5-Net-Google-buildlink
-
-p5-Net-Google-buildlink: _BUILDLINK_USE
-
-.endif # P5_NET_GOOGLE_BUILDLINK2_MK
diff --git a/net/p5-Net-Google/buildlink3.mk b/net/p5-Net-Google/buildlink3.mk
new file mode 100644
index 00000000000..e40dc36d620
--- /dev/null
+++ b/net/p5-Net-Google/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/05/08 05:25:12 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+P5_NET_GOOGLE_BUILDLINK3_MK:= ${P5_NET_GOOGLE_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= p5-Net-Google
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Np5-Net-Google}
+BUILDLINK_PACKAGES+= p5-Net-Google
+
+.if !empty(P5_NET_GOOGLE_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.p5-Net-Google+= p5-Net-Google>=0.61
+BUILDLINK_PKGSRCDIR.p5-Net-Google?= ../../net/p5-Net-Google
+.endif # P5_NET_GOOGLE_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}