aboutsummaryrefslogtreecommitdiff
path: root/devel/py-gdata/Makefile
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2007-06-22 06:21:44 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2007-06-22 06:21:44 +0000
commit389440e0aa79e0dd9aa191bdb6f3d8166ff9b5f9 (patch)
tree56f73c32e52060e320ab720b254631fc3b5167c4 /devel/py-gdata/Makefile
parent1d02f6e94505704b3ac0d118fec410dd67f99884 (diff)
downloadports-389440e0aa79e0dd9aa191bdb6f3d8166ff9b5f9.tar.gz
ports-389440e0aa79e0dd9aa191bdb6f3d8166ff9b5f9.zip
Notes
Diffstat (limited to 'devel/py-gdata/Makefile')
-rw-r--r--devel/py-gdata/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/devel/py-gdata/Makefile b/devel/py-gdata/Makefile
index 2c5b6e35933d..89ae4a427d58 100644
--- a/devel/py-gdata/Makefile
+++ b/devel/py-gdata/Makefile
@@ -6,29 +6,25 @@
#
PORTNAME= gdata
-PORTVERSION= 1.0
+PORTVERSION= 1.0.3
CATEGORIES= devel python
MASTER_SITES= http://gdata-python-client.googlecode.com/files/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= gdata.py.${PORTVERSION}
+DISTNAME= gdata.py-${PORTVERSION}
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= GData Python Client Library
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-USE_ZIP= yes
-
-WRKSRC= ${WRKDIR}/gdata-python-client
EXAMPLESDIR= ${TARGETDIR}/share/examples/py-${PORTNAME}
-do-patch:
- ${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|g' ${FILESDIR}/setup.py \
- > ${WRKSRC}/setup.py
-
+NOPORTEXAMPLES= yes
+.if !defined(NOPORTEXAMPLES)
post-install:
@${MKDIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/samples/ ${EXAMPLESDIR}
+.endif
.include <bsd.port.mk>