diff options
author | mva <mva@FreeBSD.org> | 2014-06-14 02:11:42 +0800 |
---|---|---|
committer | mva <mva@FreeBSD.org> | 2014-06-14 02:11:42 +0800 |
commit | 37947110cfa70192e71401377373d646e63a936d (patch) | |
tree | 365b695bcf22225cddc69d08daf20bc4a2941ccb /graphics | |
parent | d996afb2a5fc8f867a6866ca189dd0f927546e54 (diff) | |
download | freebsd-ports-gnome-37947110cfa70192e71401377373d646e63a936d.tar.gz freebsd-ports-gnome-37947110cfa70192e71401377373d646e63a936d.tar.zst freebsd-ports-gnome-37947110cfa70192e71401377373d646e63a936d.zip |
- 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)
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/py-pygooglechart/Makefile | 18 | ||||
-rw-r--r-- | graphics/py-pygooglechart/pkg-descr | 2 |
2 files changed, 9 insertions, 11 deletions
diff --git a/graphics/py-pygooglechart/Makefile b/graphics/py-pygooglechart/Makefile index 32d04dae3443..840bc1b2be0b 100644 --- a/graphics/py-pygooglechart/Makefile +++ b/graphics/py-pygooglechart/Makefile @@ -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> diff --git a/graphics/py-pygooglechart/pkg-descr b/graphics/py-pygooglechart/pkg-descr index 2c4327e1534b..ddf0501467b3 100644 --- a/graphics/py-pygooglechart/pkg-descr +++ b/graphics/py-pygooglechart/pkg-descr @@ -1,3 +1,3 @@ A complete Python wrapper for the Google Chart API -WWW: http://pygooglechart.slowchop.com/ +WWW: http://pygooglechart.slowchop.com/ |