1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Enable stagedir support

- Remove easy_install dependency
- Convert to PYDISTUTILS_AUTOPLIST
- Bump PORTREVISION to enforce a cleanup for the easy_install references

With hat:	python@
Approved by:	portmgr (implicit)
This commit is contained in:
Marcus von Appen 2014-06-13 18:11:42 +00:00
parent 8d2168cf71
commit 8c35114639
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357710
2 changed files with 9 additions and 11 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= pygooglechart
PORTVERSION= 0.3.0
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= graphics python
MASTER_SITES= http://pygooglechart.slowchop.com/files/download/ \
LOCAL/nivit/${PORTNAME}/
@ -12,18 +12,16 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Complete Python wrapper for the Google Chart API
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
PORTEXAMPLES= *
.if !defined(NOPORTEXAMPLES)
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
NO_STAGE= yes
post-install:
${MKDIR} ${EXAMPLESDIR} && cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
.endif
${MKDIR} ${STAGEDIR}${EXAMPLESDIR} && \
cd ${WRKSRC}/examples && \
${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
A complete Python wrapper for the Google Chart API
WWW: http://pygooglechart.slowchop.com/
WWW: http://pygooglechart.slowchop.com/