Date: Mon, 8 Dec 2014 09:12:03 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r374253 - in head/net/dictd: . files Message-ID: <201412080912.sB89C3tm088031@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Mon Dec 8 09:12:03 2014 New Revision: 374253 URL: https://svnweb.freebsd.org/changeset/ports/374253 QAT: https://qat.redports.org/buildarchive/r374253/ Log: - Remove unrecognized CONFIGURE_ARGS - Cosmetic change - Do not silence installation message - Reformat pkg-descr - Add sourceforge to WWW - Take maintainership Deleted: head/net/dictd/files/patch-dictd.8.in Modified: head/net/dictd/Makefile head/net/dictd/files/dictd.conf.in head/net/dictd/files/dictd.in head/net/dictd/pkg-descr Modified: head/net/dictd/Makefile ============================================================================== --- head/net/dictd/Makefile Mon Dec 8 09:11:57 2014 (r374252) +++ head/net/dictd/Makefile Mon Dec 8 09:12:03 2014 (r374253) @@ -6,34 +6,29 @@ PORTVERSION= 1.12.1 CATEGORIES+= net textproc MASTER_SITES= SF/dict/${PORTNAME}/${PORTNAME}-${PORTVERSION} -MAINTAINER?= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Dict protocol (RFC 2229) server LICENSE= GPLv2 LIB_DEPENDS= libmaa.so:${PORTSDIR}/devel/libmaa -USE_RC_SUBR= ${PORTNAME} -USES= bison gmake libtool:build -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-etcdir=${PREFIX}/etc --with-cflags="${CFLAGS}" \ - --without-local-zlib +ALL_TARGET= dictd dictzip CPPFLAGS+= -I${LOCALBASE}/include +GNU_CONFIGURE= yes +INSTALL_TARGET= install.dictd install.dictzip LIBS+= -L${LOCALBASE}/lib +USES= bison gmake libtool:build -SUB_FILES+= dictd.conf pkg-message -SUB_LIST+= PORTSDIR=${PORTSDIR} - -ALL_TARGET= dictd dictzip -INSTALL_TARGET= install.dictd install.dictzip +SUB_FILES= dictd.conf pkg-message +SUB_LIST= PORTSDIR=${PORTSDIR} +USE_RC_SUBR= ${PORTNAME} post-patch: -.for i in Makefile.in dict.1.in dictd.8.in - @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/$i -.endfor + @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/Makefile.in ${WRKSRC}/dict.1.in ${WRKSRC}/dictd.8.in @${REINPLACE_CMD} -e "s|\([\ \t(]\)T_USER|\1T_USERNAME|g" ${WRKSRC}/*.[chly] post-install: - @${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample .include <bsd.port.mk> Modified: head/net/dictd/files/dictd.conf.in ============================================================================== --- head/net/dictd/files/dictd.conf.in Mon Dec 8 09:11:57 2014 (r374252) +++ head/net/dictd/files/dictd.conf.in Mon Dec 8 09:12:03 2014 (r374253) @@ -1,22 +1,22 @@ -database web1913 { data "%%PREFIX%%/lib/dict/web1913.dict.dz" - index "%%PREFIX%%/lib/dict/web1913.index" } -database wn { data "%%PREFIX%%/lib/dict/wn.dict.dz" - index "%%PREFIX%%/lib/dict/wn.index" } -database gazetteer { data "%%PREFIX%%/lib/dict/gazetteer.dict.dz" - index "%%PREFIX%%/lib/dict/gazetteer.index" } -database jargon { data "%%PREFIX%%/lib/dict/jargon.dict.dz" - index "%%PREFIX%%/lib/dict/jargon.index" } -database foldoc { data "%%PREFIX%%/lib/dict/foldoc.dict.dz" - index "%%PREFIX%%/lib/dict/foldoc.index" } -database elements { data "%%PREFIX%%/lib/dict/elements.dict.dz" - index "%%PREFIX%%/lib/dict/elements.index" } +database devils { data "%%PREFIX%%/lib/dict/devils.dict.dz" + index "%%PREFIX%%/lib/dict/devils.index" } database easton { data "%%PREFIX%%/lib/dict/easton.dict.dz" index "%%PREFIX%%/lib/dict/easton.index" } +database elements { data "%%PREFIX%%/lib/dict/elements.dict.dz" + index "%%PREFIX%%/lib/dict/elements.index" } +database foldoc { data "%%PREFIX%%/lib/dict/foldoc.dict.dz" + index "%%PREFIX%%/lib/dict/foldoc.index" } +database gazetteer { data "%%PREFIX%%/lib/dict/gazetteer.dict.dz" + index "%%PREFIX%%/lib/dict/gazetteer.index" } database hitchcock { data "%%PREFIX%%/lib/dict/hitchcock.dict.dz" index "%%PREFIX%%/lib/dict/hitchcock.index" } +database jargon { data "%%PREFIX%%/lib/dict/jargon.dict.dz" + index "%%PREFIX%%/lib/dict/jargon.index" } database vera { data "%%PREFIX%%/lib/dict/vera.dict.dz" index "%%PREFIX%%/lib/dict/vera.index" } -database devils { data "%%PREFIX%%/lib/dict/devils.dict.dz" - index "%%PREFIX%%/lib/dict/devils.index" } +database web1913 { data "%%PREFIX%%/lib/dict/web1913.dict.dz" + index "%%PREFIX%%/lib/dict/web1913.index" } +database wn { data "%%PREFIX%%/lib/dict/wn.dict.dz" + index "%%PREFIX%%/lib/dict/wn.index" } database world95 { data "%%PREFIX%%/lib/dict/world95.dict.dz" index "%%PREFIX%%/lib/dict/world95.index" } Modified: head/net/dictd/files/dictd.in ============================================================================== --- head/net/dictd/files/dictd.in Mon Dec 8 09:11:57 2014 (r374252) +++ head/net/dictd/files/dictd.in Mon Dec 8 09:12:03 2014 (r374253) @@ -9,7 +9,7 @@ # dictd_enable="YES" # -dictd_enable=${dictd_enable-"NO"} +dictd_enable=${dictd_enable:-"NO"} . /etc/rc.subr Modified: head/net/dictd/pkg-descr ============================================================================== --- head/net/dictd/pkg-descr Mon Dec 8 09:11:57 2014 (r374252) +++ head/net/dictd/pkg-descr Mon Dec 8 09:12:03 2014 (r374253) @@ -1,8 +1,9 @@ The DICT Protocol, described in RFC 2229 is a TCP transaction based -query/response protocol that allows a client to access dictionary -definitions from a set of natural language dictionary databases. While -RFC 2229 is a finished document, we plan to clarify and enhance the -protocol definition as we gain more experience with large dictionary -database servers. By default, the DICT protocol uses TCP port 2628. +query/response protocol that allows a client to access dictionary definitions +from a set of natural language dictionary databases. While RFC 2229 is a +finished document, we plan to clarify and enhance the protocol definition as we +gain more experience with large dictionary database servers. By default, the +DICT protocol uses TCP port 2628. WWW: http://www.dict.org/ +WWW: http://sourceforge.net/projects/dict/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412080912.sB89C3tm088031>