Files
ports/dns/dsc/Makefile
T
Leo Vandewoestijne 0f6d49efe3 dns/dsc: Update 2.15.1 → 2.15.2
- Replace PORTVERSION with DISTVERSION.
- Remove GNU_CONFIGURE_MANPREFIX.
- Add USES=pkgconfig (required to detect libmaxminddb during configure stage).

Changelog:
https://github.com/DNS-OARC/dsc/releases/tag/v2.15.2

PR:	281284
MFH:	2024Q3
2024-09-06 01:59:14 +03:00

39 lines
962 B
Makefile

PORTNAME= dsc
DISTVERSION= 2.15.2
CATEGORIES= dns
MASTER_SITES= https://www.dns-oarc.net/files/dsc/ \
https://dns.company/files/dsc/
MAINTAINER= freebsd@dns.company
COMMENT= Tool used for collecting and exploring statistics from DNS servers
WWW= https://www.dns-oarc.net/tools/dsc/
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${RUN_DEPENDS}
LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb
RUN_DEPENDS= libpcap>=1.8.1:net/libpcap \
p5-Proc-PID-File>=1.28:devel/p5-Proc-PID-File \
p5-XML-Simple>=2.24:textproc/p5-XML-Simple
USES= gmake localbase perl5 pkgconfig python shebangfix
USE_RC_SUBR= dsc
SHEBANG_FILES= src/dsc-psl-convert
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-pid-file=/var/run/${PORTNAME}.pid
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
post-extract:
${REINPLACE_CMD} -e 's|/usr/local/|${PREFIX}/|' \
${WRKSRC}/src/dsc.conf.5.in \
${WRKSRC}/src/dsc.sh
post-install:
${MKDIR} ${STAGEDIR}/var/lib/${PORTNAME}
.include <bsd.port.mk>