1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

Update to 2.2.2.

Also, use localbase.mk instead of setting CPPFLAGS/LDFLAGS manually, and
use the new two-argument @sample instead of renaming and sed-ing.
This commit is contained in:
Adam Weinberger 2016-01-27 01:16:01 +00:00
parent 8afa6554da
commit 5c6f3dddec
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=407331
3 changed files with 5 additions and 16 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= geoipupdate
PORTVERSION= 2.2.1
PORTVERSION= 2.2.2
DISTVERSIONPREFIX= v
CATEGORIES= net geography
@ -16,19 +16,8 @@ LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
USE_GITHUB= yes
GH_ACCOUNT= maxmind
USES= libtool pathfix autoreconf
USES= libtool localbase pathfix autoreconf
PATHFIX_MAKEFILEIN= Makefile.am
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-extract:
@${MV} ${WRKSRC}/conf/GeoIP.conf.default ${WRKSRC}/conf/GeoIP.conf.sample
post-patch:
@${REINPLACE_CMD} -e '/^DEFAULT_CONFIG_FILE =/s/$$/.sample/' \
-e 's/.default/.sample/' \
${WRKSRC}/conf/Makefile.am
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (maxmind-geoipupdate-v2.2.1_GH0.tar.gz) = c43278cda58ed0d01fb8ecf853b221dc0a02311519d0fe52e05e224b3b6acd0c
SIZE (maxmind-geoipupdate-v2.2.1_GH0.tar.gz) = 32685
SHA256 (maxmind-geoipupdate-v2.2.2_GH0.tar.gz) = e2eb95f471b1c8f590361aefe52afd28a04560147d3e2970e17889a5ce2b5746
SIZE (maxmind-geoipupdate-v2.2.2_GH0.tar.gz) = 33596

View File

@ -1,4 +1,4 @@
bin/geoipupdate
@sample etc/GeoIP.conf.sample
@sample etc/GeoIP.conf etc/GeoIP.conf.default
man/man1/geoipupdate.1.gz
man/man5/GeoIP.conf.5.gz