Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2014 03:19:23 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343578 - head/net/GeoIP
Message-ID:  <201402100319.s1A3JNQG082103@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
+@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%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402100319.s1A3JNQG082103>