2013-09-20 16:31:57 +00:00
|
|
|
# Created by: Jaap Akkerhuis <jaap@nlnetlabs.nl>
|
2010-01-13 06:33:07 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= autotrust
|
|
|
|
PORTVERSION= 0.3.1
|
2012-10-31 07:58:36 +00:00
|
|
|
PORTREVISION= 4
|
2010-01-13 06:33:07 +00:00
|
|
|
CATEGORIES= dns
|
|
|
|
MASTER_SITES= http://www.nlnetlabs.nl/downloads/autotrust/
|
|
|
|
|
2011-03-30 16:13:42 +00:00
|
|
|
MAINTAINER= jaap@NLnetLabs.nl
|
2010-01-13 14:20:09 +00:00
|
|
|
COMMENT= A tool to automatically update DNSSEC trust anchors
|
2010-01-13 06:33:07 +00:00
|
|
|
|
2014-03-18 14:59:23 +00:00
|
|
|
LIB_DEPENDS+= libldns.so:${PORTSDIR}/dns/ldns \
|
|
|
|
libunbound.so:${PORTSDIR}/dns/unbound
|
2010-01-13 14:20:09 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2013-02-07 12:52:44 +00:00
|
|
|
CFLAGS= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -pthread
|
2010-01-13 06:33:07 +00:00
|
|
|
|
2014-03-18 14:59:23 +00:00
|
|
|
PLIST_FILES= sbin/autotrust man/man8/autotrust.8.gz \
|
2010-01-13 06:33:07 +00:00
|
|
|
etc/autotrust/autotrust.conf.sample
|
|
|
|
PLIST_DIRS= etc/autotrust
|
|
|
|
|
2010-01-13 14:20:09 +00:00
|
|
|
do-patch:
|
|
|
|
${REINPLACE_CMD} \
|
|
|
|
'45s!=!\?=!; \
|
|
|
|
46s!^\(CFLAGS \)\(= -I.\) @CFLAGS@!\1+\2!' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
|
|
|
|
do-install:
|
2014-03-18 14:59:23 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
|
|
|
|
@${MKDIR} ${STAGEDIR}${ETCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.sample ${STAGEDIR}${ETCDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8
|
2010-01-13 06:33:07 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|