summaryrefslogtreecommitdiff
path: root/net/GeoIP
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-02-17 03:34:07 +0000
committerminskim <minskim@pkgsrc.org>2004-02-17 03:34:07 +0000
commitfa7705eeb38c3dc0a29e028a2de00882cbe58a56 (patch)
treeedf2479cd247630c03dd3710e690fe7f2a888d81 /net/GeoIP
parent5eec0a060ecfb1183a4c2e20b79fc6543cad6186 (diff)
downloadpkgsrc-fa7705eeb38c3dc0a29e028a2de00882cbe58a56.tar.gz
bl3ify and enable pkgviews installation.
Diffstat (limited to 'net/GeoIP')
-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/+$//}