aboutsummaryrefslogtreecommitdiff
path: root/net/GeoIP
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-10 03:19:23 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-10 03:19:23 +0000
commit66bbb742c703db2f65f98f67374050071d4ce40f (patch)
tree4a964e5cd558ff0a2c8b8e330dfdf7f0c59e604f /net/GeoIP
parentb5fcf4bd1624869f3baeb53731da770e98d580c2 (diff)
downloadports-66bbb742c703db2f65f98f67374050071d4ce40f.tar.gz
ports-66bbb742c703db2f65f98f67374050071d4ce40f.zip
Notes
Diffstat (limited to 'net/GeoIP')
-rw-r--r--net/GeoIP/Makefile5
-rw-r--r--net/GeoIP/pkg-plist4
2 files changed, 5 insertions, 4 deletions
diff --git a/net/GeoIP/Makefile b/net/GeoIP/Makefile
index c9bf14ece3a1..3c32fb82c53b 100644
--- a/net/GeoIP/Makefile
+++ b/net/GeoIP/Makefile
@@ -16,16 +16,13 @@ CONFIGURE_ARGS= CC="${CC}" PATH="${PATH}" \
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
-MAN1= geoiplookup.1 geoipupdate.1 geoiplookup6.1
-
SUB_FILES= geoipupdate.sh
-NO_STAGE= yes
run-autotools:
@${REINPLACE_CMD} -e '/^LIBTOOL=/s^\$$(top_builddir)/libtool^${LIBTOOL}^g' \
${WRKSRC}/aclocal.m4
post-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/geoipupdate.sh ${PREFIX}/bin/
+ ${INSTALL_SCRIPT} ${WRKDIR}/geoipupdate.sh ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>
diff --git a/net/GeoIP/pkg-plist b/net/GeoIP/pkg-plist
index 0a58804f973e..6eb139558402 100644
--- a/net/GeoIP/pkg-plist
+++ b/net/GeoIP/pkg-plist
@@ -4,6 +4,7 @@ bin/geoipupdate
bin/geoipupdate.sh
@unexec if cmp -s %D/etc/GeoIP.conf %D/etc/GeoIP.conf.default; then rm -f %D/etc/GeoIP.conf; fi
etc/GeoIP.conf.default
+@exec if [ ! -f %D/etc/GeoIP.conf ]; then cp -p %D/%F %B/GeoIP.conf; fi
include/GeoIP.h
include/GeoIPCity.h
include/GeoIPUpdate.h
@@ -16,4 +17,7 @@ lib/libGeoIPUpdate.la
lib/libGeoIPUpdate.so
lib/libGeoIPUpdate.so.0
%%DATADIR%%/GeoIP.dat
+man/man1/geoiplookup.1.gz
+man/man1/geoiplookup6.1.gz
+man/man1/geoipupdate.1.gz
@dirrmtry %%DATADIR%%