2010-01-13 06:33:07 +00:00
|
|
|
# New ports collection makefile for: autotrust
|
|
|
|
# Date created: 2010-01-09
|
|
|
|
# Whom: Jaap Akkerhuis <jaap@nlnetlabs.nl>
|
|
|
|
#
|
|
|
|
# $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
|
|
|
|
2012-10-31 07:58:36 +00:00
|
|
|
LIB_DEPENDS+= ldns:${PORTSDIR}/dns/ldns \
|
|
|
|
unbound:${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
|
|
|
|
|
|
|
MAN8= autotrust.8
|
|
|
|
|
|
|
|
PLIST_FILES= sbin/autotrust \
|
|
|
|
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:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
|
|
|
|
${MKDIR} ${ETCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.sample ${ETCDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${PREFIX}/man/man8
|
2010-01-13 06:33:07 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|