aboutsummaryrefslogtreecommitdiffstats
path: root/www/google-appengine
diff options
context:
space:
mode:
authornivit <nivit@FreeBSD.org>2009-08-13 05:42:10 +0800
committernivit <nivit@FreeBSD.org>2009-08-13 05:42:10 +0800
commit804be9c06ddbd71054f57ff8ae8d3854def137e2 (patch)
tree3ea4daf4c96da3ea1dbb4e56632af03ace203708 /www/google-appengine
parenta4b78d5d38737d8343a633bef4f4d52f4f03fa13 (diff)
downloadfreebsd-ports-gnome-804be9c06ddbd71054f57ff8ae8d3854def137e2.tar.gz
freebsd-ports-gnome-804be9c06ddbd71054f57ff8ae8d3854def137e2.tar.zst
freebsd-ports-gnome-804be9c06ddbd71054f57ff8ae8d3854def137e2.zip
- Fix permissions on some directories
- Install two missing scripts - Bump PORTREVISION
Diffstat (limited to 'www/google-appengine')
-rw-r--r--www/google-appengine/Makefile15
-rw-r--r--www/google-appengine/pkg-plist4
2 files changed, 13 insertions, 6 deletions
diff --git a/www/google-appengine/Makefile b/www/google-appengine/Makefile
index 43c6ccb8b5d8..4bfef8b7c771 100644
--- a/www/google-appengine/Makefile
+++ b/www/google-appengine/Makefile
@@ -7,7 +7,7 @@
PORTNAME= google-appengine
PORTVERSION= 1.2.4
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= www devel python
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DISTFILES= ${PORTNAME:S|-|_|}_${PORTVERSION}.zip
@@ -39,6 +39,7 @@ REINPLACE_ARGS= -i.bak -e 's,/usr/bin/env python,&${PYTHON_VER},'
GAEDATADIR= google lib new_project_template templates tools
GAEDOCSREL= 20090508
+GAESCRIPTS= appcfg.py bulkload_client.py bulkloader.py dev_appserver.py
post-patch:
@${FIND} ${FIND_FILES} | ${XARGS} ${XARGS_ARGS} ${REINPLACE_CMD}
@@ -46,7 +47,9 @@ post-patch:
do-install:
${MKDIR} ${DATADIR}
- cd ${WRKSRC} && ${COPYTREE_SHARE} "${GAEDATADIR}" ${DATADIR} "-not -path './demos*' -and -mindepth 1"
+.for D in ${GAEDATADIR}
+ cd ${WRKSRC} && ${COPYTREE_SHARE} ${D} ${DATADIR}
+.endfor
.if !defined(NOPORTEXAMPLES)
cd ${WRKSRC} && ${COPYTREE_SHARE} demos ${EXAMPLESDIR}
.endif
@@ -55,10 +58,10 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/LICENSE ${WRKSRC}/README ${DOCSDIR}
cd ${WRKDIR}/google-appengine-docs-${GAEDOCSREL} && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif
- ${INSTALL_SCRIPT} ${WRKSRC}/dev_appserver.py ${DATADIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/appcfg.py ${DATADIR}
+.for S in ${GAESCRIPTS}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${S} ${DATADIR}
+ ${LN} ${LN_OPTS} ${DATADIR}/${S} ${PREFIX}/bin/${S}
+.endfor
${INSTALL_DATA} ${WRKSRC}/VERSION ${DATADIR}
- ${LN} ${LN_OPTS} ${DATADIR}/dev_appserver.py ${PREFIX}/bin/dev_appserver.py
- ${LN} ${LN_OPTS} ${DATADIR}/appcfg.py ${PREFIX}/bin/appcfg.py
.include <bsd.port.mk>
diff --git a/www/google-appengine/pkg-plist b/www/google-appengine/pkg-plist
index 39f3f7287ad6..bfa136d0c3c7 100644
--- a/www/google-appengine/pkg-plist
+++ b/www/google-appengine/pkg-plist
@@ -1,5 +1,7 @@
@comment $FreeBSD$
bin/appcfg.py
+bin/bulkload_client.py
+bin/bulkloader.py
bin/dev_appserver.py
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/README
@@ -369,6 +371,8 @@ bin/dev_appserver.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demos/guestbook/guestbook.py
%%DATADIR%%/VERSION
%%DATADIR%%/appcfg.py
+%%DATADIR%%/bulkload_client.py
+%%DATADIR%%/bulkloader.py
%%DATADIR%%/dev_appserver.py
%%DATADIR%%/google/__init__.py
%%DATADIR%%/google/appengine/__init__.py