diff options
-rw-r--r-- | net/GeoIP/Makefile | 6 | ||||
-rw-r--r-- | net/GeoIP/distinfo | 4 | ||||
-rw-r--r-- | net/GeoIP/pkg-plist | 4 |
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 |