freebsd-ports/net-mgmt/gnu-ipcalc/Makefile
Stefan Eßer 5933ac0b09 */*: Remove redundant '-[0-9]*' from CONFLICTS_INSTALL
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Approved by: portmgr (blanket)
2021-11-23 23:11:40 +01:00

36 lines
852 B
Makefile

# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
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 <bsd.port.mk>