diff options
author | tijl <tijl@FreeBSD.org> | 2014-09-19 22:01:08 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2014-09-19 22:01:08 +0800 |
commit | 6ba169e34b71896094a71f39af62100bc7a7a35c (patch) | |
tree | 15b1a62aa72560de137d90cbf0333c5dc88f8e0e /net/dictd | |
parent | a32d21d3fa83e8037d57cd6447981e536a652a99 (diff) | |
download | freebsd-ports-gnome-6ba169e34b71896094a71f39af62100bc7a7a35c.tar.gz freebsd-ports-gnome-6ba169e34b71896094a71f39af62100bc7a7a35c.tar.zst freebsd-ports-gnome-6ba169e34b71896094a71f39af62100bc7a7a35c.zip |
- Switch to USES=libtool:build
- Use @sample
Diffstat (limited to 'net/dictd')
-rw-r--r-- | net/dictd/Makefile | 7 | ||||
-rw-r--r-- | net/dictd/pkg-plist | 4 |
2 files changed, 4 insertions, 7 deletions
diff --git a/net/dictd/Makefile b/net/dictd/Makefile index 1f566d690209..d4fef4460dcc 100644 --- a/net/dictd/Makefile +++ b/net/dictd/Makefile @@ -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> diff --git a/net/dictd/pkg-plist b/net/dictd/pkg-plist index baaf440ae912..8a07725ba8fd 100644 --- a/net/dictd/pkg-plist +++ b/net/dictd/pkg-plist @@ -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 |