6 CATEGORIES= net geography
8 MAINTAINER= adamw@FreeBSD.org
9 COMMENT= Fetch the latest copies of the paid GeoIP database
13 LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
17 GH_TAGNAME= v${PORTVERSION}
20 USES= libtool pathfix autoreconf
21 PATHFIX_MAKEFILEIN= Makefile.am
24 CPPFLAGS+= -I${LOCALBASE}/include
25 LDFLAGS+= -L${LOCALBASE}/lib
28 @${MV} ${WRKSRC}/conf/GeoIP.conf.default ${WRKSRC}/conf/GeoIP.conf.sample
31 @${REINPLACE_CMD} -e '/^DEFAULT_CONFIG_FILE =/s/$$/.sample/' \
32 -e 's/.default/.sample/' \
33 ${WRKSRC}/conf/Makefile.am
35 .include <bsd.port.mk>