aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-pygooglechart
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2014-06-13 18:11:42 +0000
committerMarcus von Appen <mva@FreeBSD.org>2014-06-13 18:11:42 +0000
commit8c351146392f59b252d6771660cba173719936b8 (patch)
tree365b695bcf22225cddc69d08daf20bc4a2941ccb /graphics/py-pygooglechart
parent8d2168cf71a948a49fa5ab8556cb22bc14e800d2 (diff)
downloadports-8c351146392f59b252d6771660cba173719936b8.tar.gz
ports-8c351146392f59b252d6771660cba173719936b8.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)
Notes
Notes: svn path=/head/; revision=357710
Diffstat (limited to 'graphics/py-pygooglechart')
-rw-r--r--graphics/py-pygooglechart/Makefile18
-rw-r--r--graphics/py-pygooglechart/pkg-descr2
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/