Date: Sat, 4 May 2013 11:40:09 +0000 (UTC) From: TAKATSU Tomonari <tota@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r317309 - head/devel/py-funcparserlib Message-ID: <201305041140.r44Be9f4044255@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tota Date: Sat May 4 11:40:08 2013 New Revision: 317309 URL: http://svnweb.freebsd.org/changeset/ports/317309 Log: - Update to 0.3.6 - Switch to easy_install - Convert to new Makefile header - Adapt to new options framework - Allow OPTIONSFILE to be overridden - Replace tab with a single space after 'WWW:' in pkg-descr Deleted: head/devel/py-funcparserlib/pkg-plist Modified: head/devel/py-funcparserlib/Makefile head/devel/py-funcparserlib/distinfo head/devel/py-funcparserlib/pkg-descr Modified: head/devel/py-funcparserlib/Makefile ============================================================================== --- head/devel/py-funcparserlib/Makefile Sat May 4 10:48:54 2013 (r317308) +++ head/devel/py-funcparserlib/Makefile Sat May 4 11:40:08 2013 (r317309) @@ -1,12 +1,8 @@ -# New ports collection makefile for: py-funcparserlib -# Date created: 2011-08-02 -# Whom: TAKATSU Tomonari <tota@FreeBSD.org> -# +# Created by: TAKATSU Tomonari <tota@FreeBSD.org> # $FreeBSD$ -# PORTNAME= funcparserlib -PORTVERSION= 0.3.5 +PORTVERSION= 0.3.6 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,25 +11,27 @@ MAINTAINER= tota@FreeBSD.org COMMENT= Recursive descent parsing library based on functional combinators LICENSE= MIT -LICENSE_FILE= ${WRKSRC}/LICENSE USE_PYTHON= yes -USE_PYDISTUTILS= yes +USE_PYDISTUTILS= easy_install +PORTDOCS= README doc DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME} -EXAMPLESDIR= ${PREFIX}/share/examples/${UNIQUENAME} -PORTDOCS= README -PORTEXAMPLES= * +PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% + +OPTIONS_DEFINE= DOCS +OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options + +.include <bsd.port.options.mk> post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} + @${RM} -f ${WRKSRC}/doc/Makefile @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${DOCSDIR} -.endif -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - @(cd ${INSTALL_WRKSRC}/examples; ${COPYTREE_SHARE} . ${EXAMPLESDIR}) + @cd ${INSTALL_WRKSRC} \ + && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/\{} \; \ + && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} \{} ${DOCSDIR}/\{} \; .endif x-generate-plist: Modified: head/devel/py-funcparserlib/distinfo ============================================================================== --- head/devel/py-funcparserlib/distinfo Sat May 4 10:48:54 2013 (r317308) +++ head/devel/py-funcparserlib/distinfo Sat May 4 11:40:08 2013 (r317309) @@ -1,2 +1,2 @@ -SHA256 (funcparserlib-0.3.5.tar.gz) = 26df79cc5f119ffc467798df5abe20518c0b9c1bba558f8ee518f08bece37cb5 -SIZE (funcparserlib-0.3.5.tar.gz) = 33117 +SHA256 (funcparserlib-0.3.6.tar.gz) = b7992eac1a3eb97b3d91faa342bfda0729e990bd8a43774c1592c091e563c91d +SIZE (funcparserlib-0.3.6.tar.gz) = 30401 Modified: head/devel/py-funcparserlib/pkg-descr ============================================================================== --- head/devel/py-funcparserlib/pkg-descr Sat May 4 10:48:54 2013 (r317308) +++ head/devel/py-funcparserlib/pkg-descr Sat May 4 11:40:08 2013 (r317309) @@ -18,4 +18,4 @@ The library itself is very small. Its so of comments included. It features the longest parsed prefix error reporting, as well as a tiny lexer generator for token position tracking. -WWW: http://code.google.com/p/funcparserlib/ +WWW: http://code.google.com/p/funcparserlib/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305041140.r44Be9f4044255>