1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00

- 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
This commit is contained in:
TAKATSU Tomonari 2013-05-04 11:40:08 +00:00
parent 6fa036f189
commit f6bf4993f1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317309
4 changed files with 18 additions and 33 deletions

View File

@ -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:

View File

@ -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

View File

@ -18,4 +18,4 @@ The library itself is very small. Its source code is only 0.5 KLOC, with lots
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/

View File

@ -1,13 +0,0 @@
%%PYTHON_SITELIBDIR%%/funcparserlib/__init__.py
%%PYTHON_SITELIBDIR%%/funcparserlib/__init__.pyc
%%PYTHON_SITELIBDIR%%/funcparserlib/__init__.pyo
%%PYTHON_SITELIBDIR%%/funcparserlib/lexer.py
%%PYTHON_SITELIBDIR%%/funcparserlib/lexer.pyc
%%PYTHON_SITELIBDIR%%/funcparserlib/lexer.pyo
%%PYTHON_SITELIBDIR%%/funcparserlib/parser.py
%%PYTHON_SITELIBDIR%%/funcparserlib/parser.pyc
%%PYTHON_SITELIBDIR%%/funcparserlib/parser.pyo
%%PYTHON_SITELIBDIR%%/funcparserlib/util.py
%%PYTHON_SITELIBDIR%%/funcparserlib/util.pyc
%%PYTHON_SITELIBDIR%%/funcparserlib/util.pyo
@dirrm %%PYTHON_SITELIBDIR%%/funcparserlib