Index: net-p2p/ncdc/Makefile =================================================================== --- net-p2p/ncdc/Makefile (revision 506289) +++ net-p2p/ncdc/Makefile (working copy) @@ -2,8 +2,8 @@ # $FreeBSD: head/net-p2p/ncdc/Makefile 506289 2019-07-09 17:13:07Z sunpoet $ PORTNAME= ncdc -PORTVERSION= 1.20 -PORTREVISION= 2 +PORTVERSION= 1.22.1 +PORTREVISION= 1 CATEGORIES= net-p2p MASTER_SITES= http://dev.yorhel.nl/download/ @@ -29,4 +29,12 @@ CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +OPTIONS_DEFINE= GEOIP +OPTIONS_DEFAULT= GEOIP + +GEOIP_CONFIGURE_WITH= geoip +GEOIP_CONFIGURE_ENV= GEOIP_CFLAGS="-I${LOCALBASE}/include" \ + GEOIP_LIBS="-L${LOCALBASE}/lib -lmaxminddb" +GEOIP_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb + .include Index: net-p2p/ncdc/distinfo =================================================================== --- net-p2p/ncdc/distinfo (revision 477374) +++ net-p2p/ncdc/distinfo (working copy) @@ -1,3 +1,3 @@ -TIMESTAMP = 1533016608 -SHA256 (ncdc-1.20.tar.gz) = 8a998857df6289b6bd44287fc06f705b662098189f2a8fe95b1a5fbc703b9631 -SIZE (ncdc-1.20.tar.gz) = 367688 +TIMESTAMP = 1564822079 +SHA256 (ncdc-1.22.1.tar.gz) = d15fd378aa345f423e59a38691c668f69b516cd4b8afbbcdc446007740c3afad +SIZE (ncdc-1.22.1.tar.gz) = 371572