svn commit: r351084 - head/devel/py-funcparserlib
TAKATSU Tomonari
tota at FreeBSD.org
Sat Apr 12 10:48:26 UTC 2014
Author: tota
Date: Sat Apr 12 10:48:25 2014
New Revision: 351084
URL: http://svnweb.freebsd.org/changeset/ports/351084
QAT: https://qat.redports.org/buildarchive/r351084/
Log:
- Support STAGEDIR [1]
- Use USE_PYDISTUTILS= yes instead of easy_install
- Use PYDISTUTILS_AUTOPLIST
- Make docs unconditional to stage
* Remove bsd.port.options.mk, accordingly
* Remove OPTIONSFILE which is not needed
- Unmute INSTALL_WRKSRC in post-install target
- Remove x-generate-plist target which should have been done
at r317309 when pkg-plist was removed
- Bump PORTREVISION
PR: ports/188493 [1]
Submitted by: Bartek Rutkowski <ports at robakdesign.com>
Modified:
head/devel/py-funcparserlib/Makefile
Modified: head/devel/py-funcparserlib/Makefile
==============================================================================
--- head/devel/py-funcparserlib/Makefile Sat Apr 12 10:47:13 2014 (r351083)
+++ head/devel/py-funcparserlib/Makefile Sat Apr 12 10:48:25 2014 (r351084)
@@ -3,6 +3,7 @@
PORTNAME= funcparserlib
PORTVERSION= 0.3.6
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,32 +14,19 @@ COMMENT= Recursive descent parsing libra
LICENSE= MIT
USE_PYTHON= yes
-USE_PYDISTUTILS= easy_install
+USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
PORTDOCS= README doc
DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME}
-PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
-
OPTIONS_DEFINE= DOCS
-OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
post-install:
-.if ${PORT_OPTIONS:MDOCS}
@${RM} -f ${WRKSRC}/doc/Makefile
- @${MKDIR} ${DOCSDIR}
- @cd ${INSTALL_WRKSRC} \
- && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/\{} \; \
- && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} \{} ${DOCSDIR}/\{} \;
-.endif
-
-x-generate-plist:
- ${FIND} ${PYTHON_SITELIBDIR}/${PORTNAME} -type f | ${SORT} | \
- ${SED} -e 's,${PYTHON_SITELIBDIR},%%PYTHON_SITELIBDIR%%,' > pkg-plist.new
- ${FIND} ${PYTHON_SITELIBDIR}/${PORTNAME} -type d -depth | ${SORT} -r | \
- ${SED} -e 's,${PYTHON_SITELIBDIR}, at dirrm %%PYTHON_SITELIBDIR%%,' >> pkg-plist.new
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${INSTALL_WRKSRC} \
+ && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/\{} \; \
+ && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} \{} ${STAGEDIR}${DOCSDIR}/\{} \;
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list