From adbfaebbe991038ee6831472296196ebbdc00c06 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Mon, 8 Dec 2014 09:11:52 +0000 Subject: [PATCH] - Remove unrecognized CONFIGURE_ARGS - Silence patch message - Cosmetic change - Reformat pkg-descr - Add sourceforge to WWW - Sort PLIST - Take maintainership --- textproc/dict/Makefile | 18 +++++++----------- textproc/dict/files/patch-dict.h | 6 ------ textproc/dict/pkg-descr | 10 +++++----- textproc/dict/pkg-plist | 2 +- 4 files changed, 13 insertions(+), 23 deletions(-) delete mode 100644 textproc/dict/files/patch-dict.h diff --git a/textproc/dict/Makefile b/textproc/dict/Makefile index 4de9c4d56411..15778fee8d95 100644 --- a/textproc/dict/Makefile +++ b/textproc/dict/Makefile @@ -7,27 +7,23 @@ CATEGORIES= textproc MASTER_SITES= SF/${PORTNAME}/${PORTNAME}d/${PORTNAME}d-${PORTVERSION} DISTNAME= ${PORTNAME}d-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Dictionary Server Protocol (RFC2229) client LICENSE= GPLv2 LIB_DEPENDS= libmaa.so:${PORTSDIR}/devel/libmaa -USES= bison gmake libtool:build -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --without-local-zlib --with-cflags="${CFLAGS}" \ - --with-etcdir=${PREFIX}/etc -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib ALL_TARGET= dict +CPPFLAGS+= -I${LOCALBASE}/include +GNU_CONFIGURE= yes INSTALL_TARGET= install.dict +LIBS+= -L${LOCALBASE}/lib +USES= bison gmake libtool:build post-patch: - ${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/dict.1.in - -post-configure: - ${REINPLACE_CMD} -e 's|^ mkdir| mkdir|g' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|^ mkdir| mkdir|' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/dict.1.in post-install: ${INSTALL_DATA} ${FILESDIR}/dict.conf ${STAGEDIR}${PREFIX}/etc/dict.conf.sample diff --git a/textproc/dict/files/patch-dict.h b/textproc/dict/files/patch-dict.h deleted file mode 100644 index e5ba7a712ac0..000000000000 --- a/textproc/dict/files/patch-dict.h +++ /dev/null @@ -1,6 +0,0 @@ ---- dict.h.orig Fri Dec 22 06:15:25 2000 -+++ dict.h Mon Aug 20 17:52:08 2001 -@@ -32,3 +32,2 @@ - --#include - #include diff --git a/textproc/dict/pkg-descr b/textproc/dict/pkg-descr index f219ab6efc6a..019786e032ba 100644 --- a/textproc/dict/pkg-descr +++ b/textproc/dict/pkg-descr @@ -1,10 +1,10 @@ -The Dictionary Server Protocol (DICT) is a TCP transaction based -query/response protocol that allows a client to access dictionary -definitions from a set of natural language dictionary databases. +The Dictionary Server Protocol (DICT) is a TCP transaction based query/response +protocol that allows a client to access dictionary definitions from a set of +natural language dictionary databases. RFC 2229 describes the DICT client/server protocol. -dict(1) is a client which can access DICT servers from the -command line. +dict is a client which can access DICT servers from the command line. WWW: http://www.dict.org/ +WWW: http://sourceforge.net/projects/dict/ diff --git a/textproc/dict/pkg-plist b/textproc/dict/pkg-plist index 659a0510b451..463a099941fe 100644 --- a/textproc/dict/pkg-plist +++ b/textproc/dict/pkg-plist @@ -3,5 +3,5 @@ bin/dict_lookup bin/dictl @sample etc/dict.conf.sample man/man1/dict.1.gz -man/man1/dictl.1.gz man/man1/dict_lookup.1.gz +man/man1/dictl.1.gz