diff --git a/textproc/wordnet/Makefile b/textproc/wordnet/Makefile index 1761272c97f9..bd8fb69108e1 100644 --- a/textproc/wordnet/Makefile +++ b/textproc/wordnet/Makefile @@ -1,39 +1,39 @@ PORTNAME= WordNet PORTVERSION= 3.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= textproc MASTER_SITES= http://wordnetcode.princeton.edu/${PORTVERSION}/:code \ http://wordnetcode.princeton.edu/:dict DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:code wn3.1.dict.tar.gz:dict MAINTAINER= mi@aldan.algebra.com COMMENT= Dictionaries and thesauri with devel. libraries (C, TCL) and browsers WWW= https://wordnet.princeton.edu/ EXTRACT_ONLY= ${DISTFILES:M*code:S/:code//} EXTRACT_AFTER_ARGS=--exclude dict USES= tcl uidfix tar:bzip2 SCRIPTS_ENV+= TCL_DVER=${TCL_VER} VER=${PORTVERSION} MAKE_ENV+= TCL_DVER=${TCL_VER} VER=${PORTVERSION} STAGEDIR="${STAGEDIR}" PLIST_SUB+= TCL_DVER=${TCL_VER} VER=${PORTVERSION} REINPLACE_ARGS= -i "" USE_LDCONFIG= yes SUB_FILES= pkg-message SUB_LIST+= TCL_VER=${TCL_VER} # Fix build on recent current CFLAGS+= -fcommon post-patch: ${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' \ ${WRKSRC}/src/wnb ${WRKSRC}/doc/man/*.? ${REINPLACE_CMD} -e 's, *\\n,\\n,' ${WRKSRC}/include/wn.h post-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${TAR} -C ${STAGEDIR}${DATADIR} -x --no-same-owner \ --strip-components 1 \ -f ${_DISTDIR}${DISTFILES:M*dict:S/:dict//} \ `${SED} -n -e '/\.xbm/d' -e 's,^%%DATADIR%%/,dict/,p' ${PLIST}` .include diff --git a/textproc/wordnet/files/man.Makefile b/textproc/wordnet/files/man.Makefile index fc75eeceb498..31695cba62be 100644 --- a/textproc/wordnet/files/man.Makefile +++ b/textproc/wordnet/files/man.Makefile @@ -1,10 +1,10 @@ -MANDIR= ${PREFIX}/man/man +MANDIR= ${PREFIX}/share/man/man MAN1= wn.1 wnb.1 wnintro.1 MAN3= binsrch.3 morph.3 wnintro.3 wnsearch.3 wnutil.3 MAN5= cntlist.5 lexnames.5 senseidx.5 \ wndb.5 wninput.5 wnintro.5 MAN7= morphy.7 uniqbeg.7 wngloss.7 wngroups.7 wnintro.7 \ wnlicens.7 wnpkgs.7 wnstats.7 .include diff --git a/textproc/wordnet/pkg-plist b/textproc/wordnet/pkg-plist index 3cb9265554c7..b5b821a566f1 100644 --- a/textproc/wordnet/pkg-plist +++ b/textproc/wordnet/pkg-plist @@ -1,49 +1,49 @@ bin/wnb bin/wn include/WordNet/wn.h include/WordNet/wngrind.h lib/libWN.a lib/libWN.so.2 lib/libWN.so lib/libtclwn2.so.0 lib/libtclwn2.so lib/tcl%%TCL_DVER%%/Wordnet/pkgIndex.tcl %%DATADIR%%/adj.exc %%DATADIR%%/adv.exc %%DATADIR%%/cntlist.rev %%DATADIR%%/data.adj %%DATADIR%%/data.adv %%DATADIR%%/data.noun %%DATADIR%%/data.verb %%DATADIR%%/index.adj %%DATADIR%%/index.adv %%DATADIR%%/index.noun %%DATADIR%%/index.sense %%DATADIR%%/index.verb %%DATADIR%%/noun.exc %%DATADIR%%/sentidx.vrb %%DATADIR%%/sents.vrb %%DATADIR%%/verb.exc %%DATADIR%%/wn.xbm -man/man1/wn.1.gz -man/man1/wnb.1.gz -man/man1/wnintro.1.gz -man/man3/binsrch.3.gz -man/man3/morph.3.gz -man/man3/wnintro.3.gz -man/man3/wnsearch.3.gz -man/man3/wnutil.3.gz -man/man5/cntlist.5.gz -man/man5/lexnames.5.gz -man/man5/senseidx.5.gz -man/man5/wndb.5.gz -man/man5/wninput.5.gz -man/man5/wnintro.5.gz -man/man7/morphy.7.gz -man/man7/uniqbeg.7.gz -man/man7/wngloss.7.gz -man/man7/wngroups.7.gz -man/man7/wnintro.7.gz -man/man7/wnlicens.7.gz -man/man7/wnpkgs.7.gz -man/man7/wnstats.7.gz +share/man/man1/wn.1.gz +share/man/man1/wnb.1.gz +share/man/man1/wnintro.1.gz +share/man/man3/binsrch.3.gz +share/man/man3/morph.3.gz +share/man/man3/wnintro.3.gz +share/man/man3/wnsearch.3.gz +share/man/man3/wnutil.3.gz +share/man/man5/cntlist.5.gz +share/man/man5/lexnames.5.gz +share/man/man5/senseidx.5.gz +share/man/man5/wndb.5.gz +share/man/man5/wninput.5.gz +share/man/man5/wnintro.5.gz +share/man/man7/morphy.7.gz +share/man/man7/uniqbeg.7.gz +share/man/man7/wngloss.7.gz +share/man/man7/wngroups.7.gz +share/man/man7/wnintro.7.gz +share/man/man7/wnlicens.7.gz +share/man/man7/wnpkgs.7.gz +share/man/man7/wnstats.7.gz