- Remove unrecognized CONFIGURE_ARGS

- Silence patch message
- Cosmetic change
- Reformat pkg-descr
- Add sourceforge to WWW
- Sort PLIST
- Take maintainership
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-12-08 09:11:52 +00:00
parent 95c5514d5d
commit adbfaebbe9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374251
4 changed files with 13 additions and 23 deletions

View File

@ -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

View File

@ -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>

View File

@ -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/

View File

@ -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