From owner-svn-ports-all@FreeBSD.ORG Thu Dec 26 19:29:07 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4E0C1A54; Thu, 26 Dec 2013 19:29:07 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3A5D91B37; Thu, 26 Dec 2013 19:29:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBQJT77n038322; Thu, 26 Dec 2013 19:29:07 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBQJT7lw038321; Thu, 26 Dec 2013 19:29:07 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201312261929.rBQJT7lw038321@svn.freebsd.org> From: William Grzybowski Date: Thu, 26 Dec 2013 19:29:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337605 - head/devel/py-bison X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Dec 2013 19:29:07 -0000 Author: wg Date: Thu Dec 26 19:29:06 2013 New Revision: 337605 URL: http://svnweb.freebsd.org/changeset/ports/337605 Log: devel/py-bison: support staging and use auto plist Modified: head/devel/py-bison/Makefile Modified: head/devel/py-bison/Makefile ============================================================================== --- head/devel/py-bison/Makefile Thu Dec 26 19:27:06 2013 (r337604) +++ head/devel/py-bison/Makefile Thu Dec 26 19:29:06 2013 (r337605) @@ -3,7 +3,7 @@ PORTNAME= bison PORTVERSION= 0.1.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel python MASTER_SITES= http://freenet.mcnabhosting.com/python/pybison/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -21,20 +21,14 @@ OPTIONS_DEFINE= DOCS EXAMPLES USES= bison:both USE_PYTHON= yes USE_PYDISTUTILS= yes -PYDISTUTILS_PKGVERSION= 0.1 +PYDISTUTILS_AUTOPLIST= yes 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 -NO_STAGE= yes .include .if ${ARCH} == "ia64" @@ -42,13 +36,9 @@ BROKEN= Does not compile on ia64 .endif post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}) -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} - @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include