summaryrefslogtreecommitdiff
path: root/dns/dnstable-convert/Makefile
blob: a604969f0a35fff91023d7443923c5982ed6af0a (plain)
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
PORTNAME=	dnstable-convert
PORTVERSION=	0.11.0
CATEGORIES=	dns
MASTER_SITES=	FARSIGHT LOCAL/truckman/farsight

MAINTAINER=	truckman@FreeBSD.org
COMMENT=	Conversion utility for passive DNS data in dnstable format

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/COPYRIGHT

BUILD_DEPENDS=	sie-nmsg>0:net/sie-nmsg
LIB_DEPENDS=	libdnstable.so:dns/dnstable \
		libmtbl.so:devel/mtbl \
		libnmsg.so:net/nmsg \
		libwdns.so:dns/wdns
RUN_DEPENDS=	sie-nmsg>0:net/sie-nmsg

USES=		gmake libtool pathfix pkgconfig
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip
PLIST_FILES=	bin/dnstable_convert bin/dnstable_unconvert \
		man/man1/dnstable_convert.1.gz \
		man/man1/dnstable_unconvert.1.gz

post-install:
	${INSTALL_MAN} ${WRKSRC}/man/*.1 ${STAGEDIR}/${PREFIX}/man/man1

.include <bsd.port.mk>