pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/GeoIP bl3ify and enable pkgviews installation.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/83e18f17a753
branches:  trunk
changeset: 468837:83e18f17a753
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Tue Feb 17 03:34:07 2004 +0000

description:
bl3ify and enable pkgviews installation.

diffstat:

 net/GeoIP/Makefile      |   6 ++++--
 net/GeoIP/buildlink3.mk |  22 ++++++++++++++++++++++
 2 files changed, 26 insertions(+), 2 deletions(-)

diffs (47 lines):

diff -r 0a2bee78ad57 -r 83e18f17a753 net/GeoIP/Makefile
--- a/net/GeoIP/Makefile        Tue Feb 17 03:26:46 2004 +0000
+++ b/net/GeoIP/Makefile        Tue Feb 17 03:34:07 2004 +0000
@@ -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 @@
 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 -r 0a2bee78ad57 -r 83e18f17a753 net/GeoIP/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/GeoIP/buildlink3.mk   Tue Feb 17 03:34:07 2004 +0000
@@ -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/+$//}



Home | Main Index | Thread Index | Old Index