diff options
author | perky <perky@FreeBSD.org> | 2005-04-11 14:26:23 +0000 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2005-04-11 14:26:23 +0000 |
commit | 703d9c7f746d9cb0e45b40c209c2261eb2d3b27c (patch) | |
tree | 3e2a55decdef899b4cf1cf8727ca360916479c7f /net/py-google/Makefile | |
parent | 2edcfb09647897cf40d425646ee63a7ba3745fa3 (diff) | |
download | FreeBSD-ports-703d9c7f746d9cb0e45b40c209c2261eb2d3b27c.zip FreeBSD-ports-703d9c7f746d9cb0e45b40c209c2261eb2d3b27c.tar.gz |
Update to 0.6
PR: 79671
Submitted by: ijliao
Diffstat (limited to 'net/py-google/Makefile')
-rw-r--r-- | net/py-google/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/net/py-google/Makefile b/net/py-google/Makefile index a81f64d..9cad971 100644 --- a/net/py-google/Makefile +++ b/net/py-google/Makefile @@ -6,9 +6,10 @@ # PORTNAME= google -PORTVERSION= 0.5.3 +PORTVERSION= 0.6 CATEGORIES= net python -MASTER_SITES= http://diveintomark.org/projects/pygoogle/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= pygoogle PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pygoogle-${PORTVERSION} @@ -18,13 +19,14 @@ COMMENT= Python wrapper for the Google web API RUN_DEPENDS= ${PYXML} USE_PYTHON= yes -USE_ZIP= yes USE_PYDISTUTILS= yes USE_REINPLACE= yes -EXTRACT_BEFORE_ARGS= -q -aa -WRKSRC= ${WRKDIR}/pygoogle +.if !defined(NOPORTDOCS) +PORTDOCS= * +DOCSDIR= ${PREFIX}/share/doc/py-google EXAMPLESDIR= ${PREFIX}/share/examples/py-google +.endif post-patch: # www/py-websvcs has an incompatible version of SOAP.py @@ -40,6 +42,8 @@ post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${EXAMPLESDIR} @${INSTALL_SCRIPT} ${WRKSRC}/tests/*.py ${EXAMPLESDIR} + @${MKDIR} ${DOCSDIR} + @${CP} -R ${WRKSRC}/doc/ ${DOCSDIR} .endif @${CAT} ${PKGMESSAGE} |