Date: Mon, 30 Dec 2013 12:33:52 +0000 (UTC) From: William Grzybowski <wg@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338102 - head/textproc/py-wordnet Message-ID: <201312301233.rBUCXqcJ019000@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wg Date: Mon Dec 30 12:33:52 2013 New Revision: 338102 URL: http://svnweb.freebsd.org/changeset/ports/338102 Log: textproc/py-wordnet: support staging Modified: head/textproc/py-wordnet/Makefile head/textproc/py-wordnet/pkg-plist Modified: head/textproc/py-wordnet/Makefile ============================================================================== --- head/textproc/py-wordnet/Makefile Mon Dec 30 12:30:11 2013 (r338101) +++ head/textproc/py-wordnet/Makefile Mon Dec 30 12:33:52 2013 (r338102) @@ -18,7 +18,8 @@ COMMENT= Python Interface to WordNet USE_PYTHON= yes USE_PYDISTUTILS= yes -PYDISTUTILS_PKGNAME= pywordnet +PYDISTUTILS_AUTOPLIST= yes + WRKSRC= ${WRKDIR}/py${PORTNAME}-${PORTVERSION} PLIST_SUB= WNDATA=${WORDNETDATA} @@ -30,7 +31,6 @@ WN_DICTFILES= adj.exc adv.exc cntlist cn index.sense index.verb lexnames noun.exc sentidx.vrb sents.vrb\ verb.exc -NO_STAGE= yes post-patch: @${SED} -e 's|/usr/local/wordnet2.0|${PREFIX}/${WORDNETDATA}|g' \ -e 's|os.path.join(WNHOME.*))|WNHOME)|g' ${WRKSRC}/wordnet.py \ @@ -38,9 +38,9 @@ post-patch: > ${WRKSRC}/wordnet.py post-install: - ${MKDIR} ${PREFIX}/${WORDNETDATA} + ${MKDIR} ${STAGEDIR}${PREFIX}/${WORDNETDATA} .for f in ${WN_DICTFILES} - ${INSTALL_DATA} ${WN_WRKSRC}/dict/${f} ${PREFIX}/${WORDNETDATA}/ + ${INSTALL_DATA} ${WN_WRKSRC}/dict/${f} ${STAGEDIR}${PREFIX}/${WORDNETDATA}/ .endfor .include <bsd.port.mk> Modified: head/textproc/py-wordnet/pkg-plist ============================================================================== --- head/textproc/py-wordnet/pkg-plist Mon Dec 30 12:30:11 2013 (r338101) +++ head/textproc/py-wordnet/pkg-plist Mon Dec 30 12:33:52 2013 (r338102) @@ -1,12 +1,3 @@ -%%PYTHON_SITELIBDIR%%/concordance.py -%%PYTHON_SITELIBDIR%%/concordance.pyc -%%PYTHON_SITELIBDIR%%/concordance.pyo -%%PYTHON_SITELIBDIR%%/wordnet.py -%%PYTHON_SITELIBDIR%%/wordnet.pyc -%%PYTHON_SITELIBDIR%%/wordnet.pyo -%%PYTHON_SITELIBDIR%%/wntools.py -%%PYTHON_SITELIBDIR%%/wntools.pyc -%%PYTHON_SITELIBDIR%%/wntools.pyo %%WNDATA%%/adj.exc %%WNDATA%%/adv.exc %%WNDATA%%/cntlist
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312301233.rBUCXqcJ019000>