Date: Tue, 26 Jun 2012 02:45:21 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/169409: devel/py-bison: Update MASTER_SITES Message-ID: <20120626024521.92853318.tkato432@yahoo.com> Resent-Message-ID: <201206251810.q5PIA8wU073838@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 169409 >Category: ports >Synopsis: devel/py-bison: Update MASTER_SITES >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jun 25 18:10:08 UTC 2012 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p9 i386 >Organization: >Environment: >Description: - Update MASTER_SITES and WWW: line - Add LICENSE - Support PORTEXAMPLES/PLIST_FILES Remove file: pkg-plist >How-To-Repeat: >Fix: diff -urN /usr/ports/devel/py-bison/Makefile devel/py-bison/Makefile --- /usr/ports/devel/py-bison/Makefile 2011-10-03 04:42:49.000000000 +0900 +++ devel/py-bison/Makefile 2012-06-19 05:32:41.000000000 +0900 @@ -8,26 +8,36 @@ PORTNAME= bison PORTVERSION= 0.1.8 -PORTREVISION= 2 +PORTREVISION= 3 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 @@ 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> diff -urN /usr/ports/devel/py-bison/pkg-descr devel/py-bison/pkg-descr --- /usr/ports/devel/py-bison/pkg-descr 2004-08-23 15:13:12.000000000 +0900 +++ devel/py-bison/pkg-descr 2012-05-29 20:12:31.000000000 +0900 @@ -21,4 +21,4 @@ * 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/ diff -urN /usr/ports/devel/py-bison/pkg-plist devel/py-bison/pkg-plist --- /usr/ports/devel/py-bison/pkg-plist 2004-08-23 15:13:12.000000000 +0900 +++ devel/py-bison/pkg-plist 1970-01-01 09:00:00.000000000 +0900 @@ -1,5 +0,0 @@ -bin/bison2py -%%PYTHON_SITELIBDIR%%/bison.py -%%PYTHON_SITELIBDIR%%/bison.pyc -%%PYTHON_SITELIBDIR%%/bison.pyo -%%PYTHON_SITELIBDIR%%/bison_.so >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120626024521.92853318.tkato432>