summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim>2004-02-17 03:34:07 +0000
committerminskim <minskim>2004-02-17 03:34:07 +0000
commitdc3bdd37d188999669dd75cedfdb15cd23ee3e67 (patch)
treeedf2479cd247630c03dd3710e690fe7f2a888d81
parent8abf702904a1f0de049c505897484557c9a3b7cb (diff)
downloadpkgsrc-dc3bdd37d188999669dd75cedfdb15cd23ee3e67.tar.gz
bl3ify and enable pkgviews installation.
-rw-r--r--net/GeoIP/Makefile6
-rw-r--r--net/GeoIP/buildlink3.mk22
2 files changed, 26 insertions, 2 deletions
diff --git a/net/GeoIP/Makefile b/net/GeoIP/Makefile
index 5302d2df8cd..a3ab171e6fe 100644
--- a/net/GeoIP/Makefile
+++ b/net/GeoIP/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/02/14 17:21:45 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2004/02/17 03:34:07 minskim Exp $
#
DISTNAME= GeoIP-1.3.1
@@ -9,8 +9,10 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.maxmind.com/download/geoip/api/c/
COMMENT= Find the country from any IP address
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
GNU_CONFIGURE= yes
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
USE_LIBTOOL= yes
USE_PKGINSTALL= yes
diff --git a/net/GeoIP/buildlink3.mk b/net/GeoIP/buildlink3.mk
new file mode 100644
index 00000000000..4c5f87ff7a1
--- /dev/null
+++ b/net/GeoIP/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/17 03:34:07 minskim Exp $
+#
+# This Makefile fragment is included by packages that use GeoIP.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GEOIP_BUILDLINK3_MK:= ${GEOIP_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= GeoIP
+.endif
+
+.if !empty(GEOIP_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= GeoIP
+BUILDLINK_DEPENDS.GeoIP+= GeoIP>=1.3.1
+BUILDLINK_PKGSRCDIR.GeoIP?= ../../net/GeoIP
+
+.endif # GEOIP_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}