svn commit: r317309 - head/devel/py-funcparserlib

TAKATSU Tomonari tota at FreeBSD.org
Sat May 4 11:40:10 UTC 2013


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 at FreeBSD.org>
-#
+# Created by: TAKATSU Tomonari <tota at 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 at 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/


More information about the svn-ports-all mailing list