Date: Mon, 30 Dec 2013 11:29:19 +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: r338087 - head/textproc/py-dsv Message-ID: <201312301129.rBUBTJJs092311@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk> - 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 <bsd.port.mk> 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%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312301129.rBUBTJJs092311>