aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authornivit <nivit@FreeBSD.org>2012-08-03 22:33:21 +0800
committernivit <nivit@FreeBSD.org>2012-08-03 22:33:21 +0800
commit3015e75ca675c40837c4c6a48ba777f0d32c0fb8 (patch)
tree1d7c2d8ddaff0cb33dc2bad4d12e64c70fb2702a /www
parent4f200884931a85dc639bb15f4de2f797766c710b (diff)
downloadfreebsd-ports-gnome-3015e75ca675c40837c4c6a48ba777f0d32c0fb8.tar.gz
freebsd-ports-gnome-3015e75ca675c40837c4c6a48ba777f0d32c0fb8.tar.zst
freebsd-ports-gnome-3015e75ca675c40837c4c6a48ba777f0d32c0fb8.zip
- Remove http://nivi.interfree.it from MASTER_SITES
- Set USE_PYTHON to 2.7 (same as www/google-appengine) - Convert to the new options framework
Diffstat (limited to 'www')
-rw-r--r--www/gaeutilities/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/www/gaeutilities/Makefile b/www/gaeutilities/Makefile
index 1ad49934dee7..9d4efdd1fd9f 100644
--- a/www/gaeutilities/Makefile
+++ b/www/gaeutilities/Makefile
@@ -9,8 +9,7 @@ PORTNAME= gaeutilities
PORTVERSION= 1.4
PORTREVISION= 0
CATEGORIES= www devel
-MASTER_SITES= http://cloud.github.com/downloads/joerussbowman/${PORTNAME}/ \
- http://nivi.interfree.it/distfiles/${PORTNAME}/
+MASTER_SITES= http://cloud.github.com/downloads/joerussbowman/${PORTNAME}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
@@ -18,18 +17,22 @@ COMMENT= Utility classes to make working with Google App Engine easier
RUN_DEPENDS= google-appengine>=1.2.4_1:${PORTSDIR}/www/google-appengine
-MANUAL_PACKAGE_BUILD= uses Python 2.5
-USE_PYTHON= 2.5 # same as www/google-appengine
+USE_PYTHON= 2.7 # same as www/google-appengine
WRKSRC= ${WRKDIR}/joerussbowman-gaeutilities-ea3f7e1
+OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
do-build:
${PYTHON_CMD} -m compileall -f ${WRKSRC}/appengine_utilities
${PYTHON_CMD} -O -m compileall -f ${WRKSRC}/appengine_utilities
do-install:
cd ${WRKSRC} && ${COPYTREE_SHARE} appengine_utilities ${PYTHONPREFIX_SITELIBDIR}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR} && cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif