From owner-svn-ports-all@FreeBSD.ORG Mon Dec 30 11:29:19 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 D9D38DE3; Mon, 30 Dec 2013 11:29:19 +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 C57BA13B3; Mon, 30 Dec 2013 11:29:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBUBTJCg092313; Mon, 30 Dec 2013 11:29:19 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBUBTJJs092311; Mon, 30 Dec 2013 11:29:19 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201312301129.rBUBTJJs092311@svn.freebsd.org> From: William Grzybowski Date: Mon, 30 Dec 2013 11:29:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338087 - head/textproc/py-dsv 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 11:29:19 -0000 Author: wg Date: Mon Dec 30 11:29:19 2013 New Revision: 338087 URL: http://svnweb.freebsd.org/changeset/ports/338087 Log: textproc/py-dsv: support staging Modified: head/textproc/py-dsv/Makefile head/textproc/py-dsv/pkg-plist Modified: head/textproc/py-dsv/Makefile ============================================================================== --- head/textproc/py-dsv/Makefile Mon Dec 30 11:14:37 2013 (r338086) +++ head/textproc/py-dsv/Makefile Mon Dec 30 11:29:19 2013 (r338087) @@ -11,21 +11,16 @@ DISTNAME= ${PORTNAME:U}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Python module to parse or write delimeter-separated (e.g. CSV) files -USE_PYTHON= -2.7 +USE_PYTHON= 2 USE_PYDISTUTILS= yes -PYDISTUTILS_PKGNAME= DSV +PYDISTUTILS_AUTOPLIST= yes DSV_BASEDIR= ${PYTHONPREFIX_SITELIBDIR}/DSV -NO_STAGE= yes -.include - post-install: @${PRINTF} '#!/bin/sh\n${PYTHON_CMD} ${DSV_BASEDIR}/DSV.py "$$@"\n' \ >${WRKDIR}/DSV.sh - @${INSTALL_SCRIPT} ${WRKDIR}/DSV.sh ${PREFIX}/bin/DSV -.if ${PORT_OPTIONS:MDOCS} - @ ${MKDIR} ${DOCSDIR} - @ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif + ${INSTALL_SCRIPT} ${WRKDIR}/DSV.sh ${STAGEDIR}${PREFIX}/bin/DSV + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include Modified: head/textproc/py-dsv/pkg-plist ============================================================================== --- head/textproc/py-dsv/pkg-plist Mon Dec 30 11:14:37 2013 (r338086) +++ head/textproc/py-dsv/pkg-plist Mon Dec 30 11:29:19 2013 (r338087) @@ -1,10 +1,3 @@ bin/DSV %%PORTDOCS%%%%DOCSDIR%%/README -%%PYTHON_SITELIBDIR%%/DSV/DSV.py -%%PYTHON_SITELIBDIR%%/DSV/DSV.pyc -%%PYTHON_SITELIBDIR%%/DSV/DSV.pyo -%%PYTHON_SITELIBDIR%%/DSV/__init__.py -%%PYTHON_SITELIBDIR%%/DSV/__init__.pyc -%%PYTHON_SITELIBDIR%%/DSV/__init__.pyo -@dirrm %%PYTHON_SITELIBDIR%%/DSV %%PORTDOCS%%@dirrm %%DOCSDIR%%