From owner-svn-ports-all@FreeBSD.ORG Mon Dec 30 12:33:53 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 205097A9; Mon, 30 Dec 2013 12:33:53 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E7F141896; Mon, 30 Dec 2013 12:33:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBUCXq01019002; Mon, 30 Dec 2013 12:33:52 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBUCXqcJ019000; Mon, 30 Dec 2013 12:33:52 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201312301233.rBUCXqcJ019000@svn.freebsd.org> From: William Grzybowski Date: Mon, 30 Dec 2013 12:33:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338102 - head/textproc/py-wordnet X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Dec 2013 12:33:53 -0000 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 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