1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/net-mgmt/gnu-ipcalc/Makefile
2022-11-27 14:35:43 +01:00

34 lines
826 B
Makefile

PORTNAME= ipcalc
PORTVERSION= 1.0.2
CATEGORIES= net-mgmt
PKGNAMEPREFIX= gnu-
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Modern network address calculation tool for IPv4 and IPv6
WWW= https://gitlab.com/ipcalc/ipcalc/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= localbase meson pkgconfig
USE_GITLAB= yes
GL_ACCOUNT= ipcalc
GL_COMMIT= 4c4261a47f355946ee74013d4f5d0494487cc2d6
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 <bsd.port.mk>