diff options
author | tijl <tijl@FreeBSD.org> | 2014-08-28 17:14:12 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2014-08-28 17:14:12 +0800 |
commit | 209bac5df8938e935f76ca3f961967661775a883 (patch) | |
tree | edf3bbfdb48823271ed53afd29c4dd48367372c5 /dns | |
parent | 4e6a41440caf3b422208da0b7d01ccb248a045b7 (diff) | |
download | freebsd-ports-gnome-209bac5df8938e935f76ca3f961967661775a883.tar.gz freebsd-ports-gnome-209bac5df8938e935f76ca3f961967661775a883.tar.zst freebsd-ports-gnome-209bac5df8938e935f76ca3f961967661775a883.zip |
- Convert to USES=libtool
- Use @sample
Diffstat (limited to 'dns')
-rw-r--r-- | dns/yadifa/Makefile | 7 | ||||
-rw-r--r-- | dns/yadifa/pkg-plist | 7 |
2 files changed, 5 insertions, 9 deletions
diff --git a/dns/yadifa/Makefile b/dns/yadifa/Makefile index 8dca9c528d18..81463fecd413 100644 --- a/dns/yadifa/Makefile +++ b/dns/yadifa/Makefile @@ -3,7 +3,7 @@ PORTNAME= yadifa PORTVERSION= 1.0.3 -PORTREVISION= 2 +PORTREVISION= 3 DISTVERSIONSUFFIX= -2880 CATEGORIES= dns ipv6 MASTER_SITES= http://cdn.yadifa.eu/sites/default/files/releases/ @@ -16,7 +16,7 @@ LICENSE= BSD OPTIONS_DEFINE= DOCS EXAMPLES TCL GNU_CONFIGURE= yes -USE_AUTOTOOLS= libtool +USES= libtool USE_OPENSSL= yes CONFIGURE_ARGS= --localstatedir=/var TCL_USES= tcl @@ -32,7 +32,8 @@ post-configure: ${REINPLACE_CMD} -e 's|/usr/local/var|/var|' -e 's|/var/zones|/var/${PORTNAME}|' ${WRKSRC}/etc/yadifad.conf.example post-install: - ${INSTALL_DATA} ${WRKSRC}/etc/yadifad.conf.example ${STAGEDIR}${PREFIX}/etc/ + ${INSTALL_DATA} ${WRKSRC}/etc/yadifad.conf.example \ + ${STAGEDIR}${PREFIX}/etc/yadifad.conf.sample @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} @${MV} ${STAGEDIR}/var/zones ${STAGEDIR}/var/${PORTNAME} diff --git a/dns/yadifa/pkg-plist b/dns/yadifa/pkg-plist index dec0d746c22e..63371bb91640 100644 --- a/dns/yadifa/pkg-plist +++ b/dns/yadifa/pkg-plist @@ -1,6 +1,4 @@ -@unexec if cmp -s %D/etc/yadifad.conf.sample %D/etc/yadifad.conf; then rm -f %D/etc/yadifad.conf; fi -etc/yadifad.conf.example -@exec if [ ! -f %D/etc/yadifad.conf ] ; then cp -p %D/%F %B/yadifad.conf; fi +@sample etc/yadifad.conf.sample include/dnscore/alarm.h include/dnscore/avl.c.inc include/dnscore/avl.h.inc @@ -131,11 +129,8 @@ include/dnszone/resourcerecord.h include/dnszone/zone_axfr_reader.h include/dnszone/zone_file_reader.h lib/libdnscore.a -lib/libdnscore.la lib/libdnsdb.a -lib/libdnsdb.la lib/libdnszone.a -lib/libdnszone.la man/man1/yadifad.1.gz man/man5/yadifad.conf.5.gz sbin/yadifad |