diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2014-01-26 14:42:54 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2014-01-26 14:42:54 +0000 |
commit | 9ef39344e69d55b22fadfd70c616362b6b8a7674 (patch) | |
tree | ae371cacbf07b30fe516accdfbfac5296e9c87a1 /textproc/dict | |
parent | 96ca0a085ec8cc83171fbcfc16bc646dd32afdd4 (diff) | |
download | ports-9ef39344e69d55b22fadfd70c616362b6b8a7674.tar.gz ports-9ef39344e69d55b22fadfd70c616362b6b8a7674.zip |
Notes
Diffstat (limited to 'textproc/dict')
-rw-r--r-- | textproc/dict/Makefile | 14 | ||||
-rw-r--r-- | textproc/dict/pkg-plist | 3 |
2 files changed, 8 insertions, 9 deletions
diff --git a/textproc/dict/Makefile b/textproc/dict/Makefile index 8ce9afb4eba6..63c8449ae24e 100644 --- a/textproc/dict/Makefile +++ b/textproc/dict/Makefile @@ -10,21 +10,20 @@ DISTNAME= ${PORTNAME}d-${PORTVERSION} MAINTAINER= clsung@FreeBSD.org COMMENT= Dictionary Server Protocol (RFC2229) client -LIB_DEPENDS= maa.3:${PORTSDIR}/devel/libmaa +LICENSE= GPLv2 -USES= bison +LIB_DEPENDS= libmaa.so:${PORTSDIR}/devel/libmaa + +USES= bison gmake GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-local-zlib --with-cflags="${CFLAGS}" \ --with-etcdir=${PREFIX}/etc CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -USE_GMAKE= yes USE_AUTOTOOLS= libtool ALL_TARGET= dict INSTALL_TARGET= install.dict -MAN1= dict.1 dictl.1 dict_lookup.1 -NO_STAGE= yes post-patch: ${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/dict.1.in @@ -32,9 +31,6 @@ post-configure: ${REINPLACE_CMD} -e 's|^ mkdir| mkdir|g' ${WRKSRC}/Makefile post-install: - ${INSTALL_DATA} ${FILESDIR}/dict.conf ${PREFIX}/etc/dict.conf.sample - if [ ! -f ${PREFIX}/etc/dict.conf ]; then \ - ${CP} -p ${PREFIX}/etc/dict.conf.sample ${PREFIX}/etc/dict.conf; \ - fi + ${INSTALL_DATA} ${FILESDIR}/dict.conf ${STAGEDIR}${PREFIX}/etc/dict.conf.sample .include <bsd.port.mk> diff --git a/textproc/dict/pkg-plist b/textproc/dict/pkg-plist index 231af9bb3ba6..b32cc794f117 100644 --- a/textproc/dict/pkg-plist +++ b/textproc/dict/pkg-plist @@ -1,6 +1,9 @@ bin/dict bin/dict_lookup bin/dictl +man/man1/dict.1.gz +man/man1/dictl.1.gz +man/man1/dict_lookup.1.gz @unexec if cmp -s %D/etc/dict.conf.sample %D/etc/dict.conf; then rm -f %D/etc/dict.conf; fi etc/dict.conf.sample @exec [ -f %B/dict.conf ] || cp %B/%f %B/dict.conf |