- Update to 1.9.2

- Update MASTER_SITES
- Specify the clause of BSD license
- Fix Python shebang via USES
- Switch to an auto plist, due to the extreme lenght of the pkg-plist file
- Install PHP stuff only when the PHP option is on
- Update WWW URL in pkg-descr

Release Notes:	http://code.google.com/p/googleappengine/wiki/SdkReleaseNotes
This commit is contained in:
Nicola Vitale 2014-04-07 02:25:41 +00:00
parent 803bdaeabf
commit ba14c1f770
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350424
4 changed files with 17 additions and 37175 deletions

View File

@ -2,16 +2,16 @@
# $FreeBSD$
PORTNAME= google-appengine
PORTVERSION= 1.8.6
PORTVERSION= 1.9.2
PORTREVISION= 0
CATEGORIES= www devel python
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MASTER_SITES= https://commondatastorage.googleapis.com/appengine-sdks/featured/
DISTFILES= ${PORTNAME:S|-|_|}_${PORTVERSION}.zip
MAINTAINER= nivit@FreeBSD.org
COMMENT= Development tools for Google App Engine (SDK)
LICENSE= APACHE20 BSD GPLv2 LGPL21 MIT MPL PSFL
LICENSE= APACHE20 BSD3CLAUSE GPLv2 LGPL21 MIT MPL PSFL
LICENSE_COMB= multi
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=${PYTHON_VER}:${PORTSDIR}/databases/py-sqlite3 \
@ -23,26 +23,23 @@ NO_BUILD= yes
OPTIONS_DEFINE= EXAMPLES MYSQL PHP
OPTIONS_DEFAULT= MYSQL
PROJECTHOST= googleappengine
PORTDATA= *
PORTEXAMPLES= *
PLIST_FILES= ${GAESCRIPTS:C,^| ,bin/&,g}
USE_PYTHON= 2
USES= gettext zip
USES= gettext shebangfix zip
WRKSRC= ${WRKDIR}/${PORTNAME:S,-,_,}
FIND_FILES= ${WRKSRC} -type f -name "*.py" -print0
FIND_FILES_BAK= ${WRKSRC} -type f -and \( -name "*.orig" -or -name "*.bak" \)
LN_OPTS= -sf
XARGS_ARGS= -0
REINPLACE_ARGS= -e 's,/usr/bin/env python,&${PYTHON_VER},' -i.bak
GAEDATADIR= google lib new_project_template php tools
GAEDATADIR= google lib new_project_template tools
GAESCRIPTS= _php_runtime.py _python_runtime.py api_server.py appcfg.py \
bulkload_client.py bulkloader.py dev_appserver.py \
download_appstats.py endpointscfg.py gen_protorpc.py \
google_sql.py old_dev_appserver.py remote_api_shell.py run_tests.py
backends_conversion.py bulkload_client.py bulkloader.py \
dev_appserver.py download_appstats.py endpointscfg.py \
gen_protorpc.py google_sql.py old_dev_appserver.py php_cli.py \
remote_api_shell.py run_tests.py wrapper_util.py
.include <bsd.port.options.mk>
@ -50,18 +47,15 @@ GAESCRIPTS= _php_runtime.py _python_runtime.py api_server.py appcfg.py \
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.3:${PORTSDIR}/databases/py-MySQLdb
.endif
.if ${PORT_OPTIONS:MPHP}
GAEDATADIR+= php
USE_MYSQL= server
WANT_MYSQL_VER= 55
.endif
post-patch:
@${FIND} ${FIND_FILES} | ${XARGS} ${XARGS_ARGS} ${REINPLACE_CMD}
@${FIND} ${FIND_FILES_BAK} -delete
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
.for D in ${GAEDATADIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${D} ${STAGEDIR}${DATADIR})
(cd ${WRKSRC} && ${COPYTREE_SHARE} ${D} ${STAGEDIR}${DATADIR})
.endfor
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} demos ${STAGEDIR}${EXAMPLESDIR})

View File

@ -1,2 +1,2 @@
SHA256 (google_appengine_1.8.6.zip) = 701ea0e3346e43ac4c45e6a6cd96bb5898f650010ac2245e4fd39846e21b47e0
SIZE (google_appengine_1.8.6.zip) = 50585748
SHA256 (google_appengine_1.9.2.zip) = 8f12f5dea25a179ce2fb7cd8a7994e9e463cb78057bb3bc435384a4317df7799
SIZE (google_appengine_1.9.2.zip) = 51659659

View File

@ -12,4 +12,4 @@ and easy to scale as your traffic and data storage needs grow.
With App Engine, there are no servers to maintain: you just
upload your application, and it's ready to serve your users.
WWW: http://code.google.com/appengine/
WWW: https://developers.google.com/appengine/

File diff suppressed because it is too large Load Diff