2018-03-21 16:14:11 -04:00
|
|
|
# Created by: Leo Vandewoestijne <freebsd@dns.company>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= dsc
|
2019-07-16 13:43:27 -04:00
|
|
|
PORTVERSION= 2.8.1
|
2018-03-21 16:14:11 -04:00
|
|
|
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
|
|
|
|
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
|
2018-07-09 04:40:17 -04:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2019-02-14 22:07:46 -05:00
|
|
|
LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb
|
2019-02-12 20:01:13 -05:00
|
|
|
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 \
|
2018-03-21 16:14:11 -04:00
|
|
|
dsp>=2.0.0:dns/dsp
|
|
|
|
|
2019-02-12 20:01:13 -05:00
|
|
|
USES= gmake perl5 shebangfix
|
2019-01-13 16:22:06 -05:00
|
|
|
|
2018-03-21 16:14:11 -04:00
|
|
|
GNU_CONFIGURE= yes
|
2019-07-16 13:43:27 -04:00
|
|
|
CONFIGURE_ARGS= --with-extra-cflags=-I${LOCALBASE}/include \
|
|
|
|
--with-extra-ldflags=-L${LOCALBASE}/lib
|
2018-03-21 16:14:11 -04:00
|
|
|
|
|
|
|
SUB_FILES= pkg-message
|
2019-02-13 19:45:52 -05:00
|
|
|
SHEBANG_FILES= cron/upload-prep.pl
|
2018-03-21 16:14:11 -04:00
|
|
|
|
2019-02-13 19:45:52 -05:00
|
|
|
USE_RC_SUBR= dsc
|
2018-08-27 20:45:52 -04:00
|
|
|
|
2018-09-10 09:14:50 -04:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2019-02-13 19:45:52 -05:00
|
|
|
post-extract:
|
|
|
|
${REINPLACE_CMD} -e 's|/usr/local/dsc/etc|${PREFIX}/etc/dsc|' \
|
|
|
|
${WRKSRC}/cron/upload-prep.pl
|
|
|
|
${REINPLACE_CMD} -e 's|/usr/local/|${PREFIX}/|' \
|
|
|
|
${WRKSRC}/cron/upload-rsync.sh \
|
|
|
|
${WRKSRC}/cron/upload-ssh.sh \
|
|
|
|
${WRKSRC}/cron/upload-x509.sh \
|
|
|
|
${WRKSRC}/src/dsc.conf.5.in \
|
|
|
|
${WRKSRC}/src/dsc.sh
|
|
|
|
|
2018-03-21 16:14:11 -04:00
|
|
|
.include <bsd.port.mk>
|