View | Details | Raw Unified | Return to bug 145425
Collapse All | Expand All

(-)Makefile (-1 / +3 lines)
Lines 22-32 Link Here
22
22
23
MAN1=		geoiplookup.1 geoipupdate.1 geoiplookup6.1
23
MAN1=		geoiplookup.1 geoipupdate.1 geoiplookup6.1
24
24
25
SUB_FILES=	geoipupdate.sh
26
25
run-autotools:
27
run-autotools:
26
	@${REINPLACE_CMD} -e '/^LIBTOOL=/s^\$$(top_builddir)/libtool^${LIBTOOL}^g' \
28
	@${REINPLACE_CMD} -e '/^LIBTOOL=/s^\$$(top_builddir)/libtool^${LIBTOOL}^g' \
27
	${WRKSRC}/aclocal.m4
29
	${WRKSRC}/aclocal.m4
28
30
29
post-install:
31
post-install:
30
	${INSTALL_SCRIPT} ${FILESDIR}/geoipupdate.sh ${PREFIX}/bin/
32
	${INSTALL_SCRIPT} ${WRKDIR}/geoipupdate.sh ${PREFIX}/bin/
31
33
32
.include <bsd.port.mk>
34
.include <bsd.port.mk>
(-)files/geoipupdate.sh (-5 lines)
Removed Link Here
1
#!/bin/sh
2
cd /tmp
3
fetch http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
4
gunzip GeoIP.dat.gz
5
mv -f GeoIP.dat /usr/local/share/GeoIP
(-)files/geoipupdate.sh.in (+2 lines)
Added Link Here
1
#!/bin/sh
2
fetch -o - http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz | gunzip > %%DATADIR%%/GeoIP.dat

Return to bug 145425