From 37947110cfa70192e71401377373d646e63a936d Mon Sep 17 00:00:00 2001 From: mva Date: Fri, 13 Jun 2014 18:11:42 +0000 Subject: - 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) --- graphics/py-pygooglechart/Makefile | 18 ++++++++---------- graphics/py-pygooglechart/pkg-descr | 2 +- 2 files changed, 9 insertions(+), 11 deletions(-) (limited to 'graphics') 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 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/ -- cgit