aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-12-25 05:34:37 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-12-25 05:34:37 +0000
commit2880b8e3e0e512389f9af0827e2d7793d97bf63f (patch)
tree2a9fb430e86b963440620cedc5177ff11aa1038e /net
parent930c34b1646f9ddb704c0f3578834e29ff3e2491 (diff)
downloadports-2880b8e3e0e512389f9af0827e2d7793d97bf63f.tar.gz
ports-2880b8e3e0e512389f9af0827e2d7793d97bf63f.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/GeoIP/Makefile6
-rw-r--r--net/GeoIP/distinfo4
-rw-r--r--net/GeoIP/pkg-plist4
3 files changed, 7 insertions, 7 deletions
diff --git a/net/GeoIP/Makefile b/net/GeoIP/Makefile
index 1d7b054da847..a15e5c7a3cf0 100644
--- a/net/GeoIP/Makefile
+++ b/net/GeoIP/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= GeoIP
-PORTVERSION= 1.3.6
+PORTVERSION= 1.3.8
CATEGORIES= net
MASTER_SITES= http://www.maxmind.com/download/geoip/api/c/
@@ -19,8 +19,8 @@ INSTALLS_SHLIB= yes
MAN1= geoiplookup.1 geoipupdate.1
post-install:
-.if !exists(${PREFIX}/etc/GeoIP.conf.default)
- @${CP} ${PREFIX}/etc/GeoIP.conf.default ${PREFIX}/etc/GeoIP.conf
+.if !exists(${PREFIX}/etc/GeoIP.conf)
+ @${INSTALL_DATA} ${PREFIX}/etc/GeoIP.conf.default ${PREFIX}/etc/GeoIP.conf
.endif
.include <bsd.port.mk>
diff --git a/net/GeoIP/distinfo b/net/GeoIP/distinfo
index 8ec910493717..42000a896da1 100644
--- a/net/GeoIP/distinfo
+++ b/net/GeoIP/distinfo
@@ -1,2 +1,2 @@
-MD5 (GeoIP-1.3.6.tar.gz) = f5afa496b562a7524b9b33b1d30dbee9
-SIZE (GeoIP-1.3.6.tar.gz) = 579850
+MD5 (GeoIP-1.3.8.tar.gz) = 7bbd491dfbe4314c817ba0bbc7fa0932
+SIZE (GeoIP-1.3.8.tar.gz) = 585538
diff --git a/net/GeoIP/pkg-plist b/net/GeoIP/pkg-plist
index 7721e30ee25c..c0aca41eb2cc 100644
--- a/net/GeoIP/pkg-plist
+++ b/net/GeoIP/pkg-plist
@@ -18,5 +18,5 @@ lib/libGeoIPBitReader.so.0
lib/libGeoIPUpdate.a
lib/libGeoIPUpdate.so
lib/libGeoIPUpdate.so.0
-share/GeoIP/GeoIP.dat
-@unexec rmdir %D/share/GeoIP 2>/dev/null || true
+%%DATADIR%%/GeoIP.dat
+@unexec rmdir %D/%%DATADIR%% 2>/dev/null || true