Date: Thu, 12 Nov 2015 17:22:53 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r401383 - head/textproc/py-asv Message-ID: <201511121722.tACHMroe005458@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Thu Nov 12 17:22:52 2015 New Revision: 401383 URL: https://svnweb.freebsd.org/changeset/ports/401383 Log: - Add LICENSE - Add NO_ARCH - Don't install INSTALL - Optionize DOCS and EXAMPLES - Switch to options helpers Modified: head/textproc/py-asv/Makefile Modified: head/textproc/py-asv/Makefile ============================================================================== --- head/textproc/py-asv/Makefile Thu Nov 12 17:22:39 2015 (r401382) +++ head/textproc/py-asv/Makefile Thu Nov 12 17:22:52 2015 (r401383) @@ -10,15 +10,21 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Extensible Python module to parse simple text file formats like CSV +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + USES= python +NO_ARCH= yes -PORTDOCS= INSTALL README THANKS +PORTDOCS= README THANKS PORTEXAMPLES= asv_example.py example_data.csv PLIST_FILES= bin/asv \ %%PYTHON_SITELIBDIR%%/ASV.py \ %%PYTHON_SITELIBDIR%%/ASV.pyc \ %%PYTHON_SITELIBDIR%%/ASV.pyo +OPTIONS_DEFINE= DOCS EXAMPLES + do-build: @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -d ${PYTHONPREFIX_SITELIBDIR} \ @@ -33,8 +39,12 @@ do-install: ${INSTALL_SCRIPT} ${WRKDIR}/asv.sh ${STAGEDIR}${PREFIX}/bin/asv @${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${INSTALL_DATA} ${WRKSRC}/ASV.* ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + +do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/,} ${STAGEDIR}${EXAMPLESDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511121722.tACHMroe005458>