mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
cb00e89e4a
scripts to update the data file, turn use @sample on the data file included in the port. PORTREVISION bump for this change.
28 lines
727 B
Makefile
28 lines
727 B
Makefile
# Created by: Yen-Ming Lee <leeym@leeym.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= GeoIP
|
|
PORTVERSION= 1.4.8
|
|
PORTREVISION= 5
|
|
CATEGORIES= net geography
|
|
MASTER_SITES= http://geolite.maxmind.com/download/geoip/api/c/
|
|
|
|
MAINTAINER= adamw@FreeBSD.org
|
|
COMMENT= Find the country that any IP address or hostname originates from
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= libtool:oldver
|
|
USE_LDCONFIG= yes
|
|
|
|
SUB_FILES= geoipupdate.sh
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/geoipupdate.sh ${STAGEDIR}${PREFIX}/bin
|
|
${MV} ${STAGEDIR}${DATADIR}/GeoIP.dat \
|
|
${STAGEDIR}${DATADIR}/GeoIP.dat.sample
|
|
${MV} ${STAGEDIR}${PREFIX}/etc/GeoIP.conf.default \
|
|
${STAGEDIR}${PREFIX}/etc/GeoIP.conf.sample
|
|
${RM} ${STAGEDIR}${PREFIX}/etc/GeoIP.conf
|
|
|
|
.include <bsd.port.mk>
|