summaryrefslogtreecommitdiff
path: root/dns/dnstable-convert/Makefile
blob: 9ebc59359fbb07527e1b0b3727fdc628b8ea786a (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
31
PORTNAME=	dnstable-convert
PORTVERSION=	0.11.0
PORTREVISION=	1
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>