# Created by: Emanuel Haupt PORTNAME= ipcalc PORTVERSION= 1.0.1 PORTREVISION= 1 CATEGORIES= net-mgmt PKGNAMEPREFIX= gnu- MAINTAINER= ehaupt@FreeBSD.org COMMENT= Modern network address calculation tool for IPv4 and IPv6 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= localbase meson pkgconfig USE_GITLAB= yes GL_ACCOUNT= ipcalc GL_COMMIT= 8dfa28013234755ef3ce3e157b3940eeaaa2b7df CONFLICTS_INSTALL= ipcalc OPTIONS_DEFINE= DOCS MAXMINDDB OPTIONS_SUB= yes MAXMINDDB_DESC= Enable GeoIP1 + GeoIP2 Support DOCS_BUILD_DEPENDS= ronn:textproc/rubygem-ronn MAXMINDDB_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb MAXMINDDB_MESON_ENABLED= use_maxminddb MAXMINDDB_SUB_FILES= pkg-message post-patch-MAXMINDDB-on: @${REINPLACE_CMD} -e "s|/usr/share|${LOCALBASE}/share|g" \ ${WRKSRC}/ipcalc-maxmind.c .include