From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 25 18:10:08 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E8435106566C for ; Mon, 25 Jun 2012 18:10:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C4C4A8FC1C for ; Mon, 25 Jun 2012 18:10:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q5PIA8ds073839 for ; Mon, 25 Jun 2012 18:10:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5PIA8wU073838; Mon, 25 Jun 2012 18:10:08 GMT (envelope-from gnats) Resent-Date: Mon, 25 Jun 2012 18:10:08 GMT Resent-Message-Id: <201206251810.q5PIA8wU073838@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4A8091065677 for ; Mon, 25 Jun 2012 18:00:39 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from msa106lp.auone-net.jp (msa106lp.auone-net.jp [222.3.140.169]) by mx1.freebsd.org (Postfix) with ESMTP id 1D5A78FC1B for ; Mon, 25 Jun 2012 18:00:39 +0000 (UTC) Received: from localhost.localdomain (ZT038198.ppp.dion.ne.jp [59.128.38.198]) by msa106lp.auone-net.jp (au one net msa) with ESMTP id 14AB823C031 for ; Tue, 26 Jun 2012 03:00:36 +0900 (JST) Message-Id: <20120626024521.92853318.tkato432@yahoo.com> Date: Tue, 26 Jun 2012 02:45:21 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/169409: devel/py-bison: Update MASTER_SITES X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2012 18:10:09 -0000 >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 @@ -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 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: