Date: Fri, 19 Sep 2014 14:01:08 +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: r368563 - head/net/dictd Message-ID: <201409191401.s8JE18ep039334@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tijl Date: Fri Sep 19 14:01:08 2014 New Revision: 368563 URL: http://svnweb.freebsd.org/changeset/ports/368563 QAT: https://qat.redports.org/buildarchive/r368563/ Log: - Switch to USES=libtool:build - Use @sample Modified: head/net/dictd/Makefile head/net/dictd/pkg-plist Modified: head/net/dictd/Makefile ============================================================================== --- head/net/dictd/Makefile Fri Sep 19 14:00:08 2014 (r368562) +++ head/net/dictd/Makefile Fri Sep 19 14:01:08 2014 (r368563) @@ -14,13 +14,12 @@ LICENSE= GPLv2 LIB_DEPENDS= libmaa.so:${PORTSDIR}/devel/libmaa USE_RC_SUBR= ${PORTNAME} -USES= bison libtool gmake -USE_AUTOTOOLS= libtoolize +USES= bison gmake libtool:build GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-etcdir=${PREFIX}/etc --with-cflags="${CFLAGS}" \ --without-local-zlib CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +LIBS+= -L${LOCALBASE}/lib SUB_FILES+= dictd.conf pkg-message SUB_LIST+= PORTSDIR=${PORTSDIR} @@ -35,6 +34,6 @@ post-patch: @${REINPLACE_CMD} -e "s|\([\ \t(]\)T_USER|\1T_USERNAME|g" ${WRKSRC}/*.[chly] post-install: - @${CP} ${WRKDIR}/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample + @${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample .include <bsd.port.mk> Modified: head/net/dictd/pkg-plist ============================================================================== --- head/net/dictd/pkg-plist Fri Sep 19 14:00:08 2014 (r368562) +++ head/net/dictd/pkg-plist Fri Sep 19 14:01:08 2014 (r368563) @@ -1,7 +1,5 @@ bin/dictzip +@sample etc/dictd.conf.sample man/man1/dictzip.1.gz man/man8/dictd.8.gz sbin/dictd -@unexec if cmp -s %D/etc/dictd.conf %D/etc/dictd.conf.sample; then rm -f %D/etc/dictd.conf; fi -etc/dictd.conf.sample -@exec [ -f %B/dictd.conf ] || cp %B/%f %B/dictd.conf
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409191401.s8JE18ep039334>