aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-12-08 17:11:52 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-12-08 17:11:52 +0800
commit089a83d3d460618b19d0ea506765132894c42f73 (patch)
treed00a5c071e85bab057337c280b6dbeb9aaadc0cc /textproc
parentc0aff8c46fef47dbfe145de472176e88575125fe (diff)
downloadfreebsd-ports-gnome-089a83d3d460618b19d0ea506765132894c42f73.tar.gz
freebsd-ports-gnome-089a83d3d460618b19d0ea506765132894c42f73.tar.zst
freebsd-ports-gnome-089a83d3d460618b19d0ea506765132894c42f73.zip
- Remove unrecognized CONFIGURE_ARGS
- Silence patch message - Cosmetic change - Reformat pkg-descr - Add sourceforge to WWW - Sort PLIST - Take maintainership
Diffstat (limited to 'textproc')
-rw-r--r--textproc/dict/Makefile18
-rw-r--r--textproc/dict/files/patch-dict.h6
-rw-r--r--textproc/dict/pkg-descr10
-rw-r--r--textproc/dict/pkg-plist2
4 files changed, 13 insertions, 23 deletions
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 <signal.h>
- #include <sys/utsname.h>
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