aboutsummaryrefslogtreecommitdiffstats
path: root/dns/dnscap/Makefile
blob: ffc3b098290aea90c2884372ef2ea30b4ea08014 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: Edwin Groothuis <edwin@mavetju.org>
# $FreeBSD$

PORTNAME=   dnscap
PORTVERSION=    1.7.1
PORTREVISION=   1
PORTEPOCH=  1
CATEGORIES= dns
MASTER_SITES=   https://www.dns-oarc.net/files/dnscap/ \
        LOCAL/sunpoet

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    DNS network traffic capture utility

LICENSE=    BSD3CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENSE

OPTIONS_DEFINE= DOCS THREADS
OPTIONS_DEFAULT=THREADS

CONFIGURE_ARGS= --enable-shared --enable-static
GNU_CONFIGURE=  yes
INSTALL_TARGET= install-strip
USES=       libtool

THREADS_CONFIGURE_ENABLE=   threads

post-patch-DOCS-off:
    @${REINPLACE_CMD} -e '/^install-data-am: / s| install-dist_docDATA||' ${WRKSRC}/Makefile.in

post-patch-DOCS-on:
    @${REINPLACE_CMD} -e '/^dist_doc_DATA = / s| LICENSE||' ${WRKSRC}/Makefile.in

.include <bsd.port.mk>