- Update MASTER_SITES and WWW: line - Add LICENSE - Support PORTEXAMPLES/PLIST_FILES Remove file: pkg-plist
Responsible Changed From-To: freebsd-ports-bugs->miwi miwi@ wants his PRs (via the GNATS Auto Assign Tool)
Responsible Changed From-To: miwi->sperber miwi asked me to take it.
Author: sperber Date: Thu Jul 19 17:26:13 2012 New Revision: 301164 URL: http://svn.freebsd.org/changeset/ports/301164 Log: - Update MASTER_SITES and WWW: line - Add LICENSE - Support PORTEXAMPLES/PLIST_FILES - Switch to optionsng PR: ports/169409 Submitted by: KATO Tsuguru <tkato432 _at_ yahoo.com> Approved by: beat (mentor) Deleted: head/devel/py-bison/pkg-plist Modified: head/devel/py-bison/Makefile (contents, props changed) head/devel/py-bison/pkg-descr (contents, props changed) Modified: head/devel/py-bison/Makefile ============================================================================== --- head/devel/py-bison/Makefile Thu Jul 19 17:25:31 2012 (r301163) +++ head/devel/py-bison/Makefile Thu Jul 19 17:26:13 2012 (r301164) @@ -10,24 +10,34 @@ PORTNAME= bison PORTVERSION= 0.1.8 PORTREVISION= 2 CATEGORIES= devel python -MASTER_SITES= http://www.freenet.org.nz/python/pybison/ +MASTER_SITES= http://freenet.mcnabhosting.com/python/pybison/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= py${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Python-based parsing at the speed of C +LICENSE= GPLv2 + BUILD_DEPENDS= pyrex>=0.9.6.2:${PORTSDIR}/devel/pyrex +OPTIONS_DEFINE= DOCS EXAMPLES + USE_BISON= both USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_PKGVERSION= 0.1 -.if !defined(NOPORTDOCS) -DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} -EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} -.endif +DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} +EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} + +PORTDOCS= * +PORTEXAMPLES= * +PLIST_FILES= bin/bison2py \ + %%PYTHON_SITELIBDIR%%/bison.py \ + %%PYTHON_SITELIBDIR%%/bison.pyc \ + %%PYTHON_SITELIBDIR%%/bison.pyo \ + %%PYTHON_SITELIBDIR%%/bison_.so .include <bsd.port.pre.mk> @@ -35,20 +45,14 @@ EXAMPLESDIR= ${PREFIX}/share/examples/${ BROKEN= Does not compile on ia64 .endif -.if !defined(NOPORTDOCS) post-install: +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} - ${CP} -R ${WRKSRC}/doc/ ${DOCSDIR} - @${FIND} ${DOCSDIR} ! -type d | \ - ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} - @${FIND} ${DOCSDIR} -type d | ${SORT} -r | \ - ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} + @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}) +.endif +.if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${EXAMPLESDIR} - ${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR} - @${FIND} ${EXAMPLESDIR} ! -type d | \ - ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} - @${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \ - ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} + @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) .endif .include <bsd.port.post.mk> Modified: head/devel/py-bison/pkg-descr ============================================================================== --- head/devel/py-bison/pkg-descr Thu Jul 19 17:25:31 2012 (r301163) +++ head/devel/py-bison/pkg-descr Thu Jul 19 17:26:13 2012 (r301164) @@ -21,4 +21,4 @@ Features * Can export parse tree to XML with a simple method call * Can reconstitute a parse tree from XML -WWW: http://www.freenet.org.nz/python/pybison/ +WWW: http://freenet.mcnabhosting.com/python/pybison/ _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!