svn commit: r343578 - head/net/GeoIP

Martin Wilke miwi at FreeBSD.org
Mon Feb 10 03:19:24 UTC 2014


Author: miwi
Date: Mon Feb 10 03:19:23 2014
New Revision: 343578
URL: http://svnweb.freebsd.org/changeset/ports/343578
QAT: https://qat.redports.org/buildarchive/r343578/

Log:
  - Stage support

Modified:
  head/net/GeoIP/Makefile
  head/net/GeoIP/pkg-plist

Modified: head/net/GeoIP/Makefile
==============================================================================
--- head/net/GeoIP/Makefile	Mon Feb 10 03:06:04 2014	(r343577)
+++ head/net/GeoIP/Makefile	Mon Feb 10 03:19:23 2014	(r343578)
@@ -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>

Modified: head/net/GeoIP/pkg-plist
==============================================================================
--- head/net/GeoIP/pkg-plist	Mon Feb 10 03:06:04 2014	(r343577)
+++ head/net/GeoIP/pkg-plist	Mon Feb 10 03:19:23 2014	(r343578)
@@ -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
+ at 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%%


More information about the svn-ports-all mailing list