Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Aug 2014 09:14:13 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r366386 - head/dns/yadifa
Message-ID:  <201408280914.s7S9EDVn029989@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Thu Aug 28 09:14:12 2014
New Revision: 366386
URL: http://svnweb.freebsd.org/changeset/ports/366386
QAT: https://qat.redports.org/buildarchive/r366386/

Log:
  - Convert to USES=libtool
  - Use @sample

Modified:
  head/dns/yadifa/Makefile
  head/dns/yadifa/pkg-plist

Modified: head/dns/yadifa/Makefile
==============================================================================
--- head/dns/yadifa/Makefile	Thu Aug 28 09:00:38 2014	(r366385)
+++ head/dns/yadifa/Makefile	Thu Aug 28 09:14:12 2014	(r366386)
@@ -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}

Modified: head/dns/yadifa/pkg-plist
==============================================================================
--- head/dns/yadifa/pkg-plist	Thu Aug 28 09:00:38 2014	(r366385)
+++ head/dns/yadifa/pkg-plist	Thu Aug 28 09:14:12 2014	(r366386)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408280914.s7S9EDVn029989>