1 | # -*- coding: utf-8; mode: tcl; tab-width: 8; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 |
---|
2 | # vim: set fileencoding=utf-8 tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab filetype=tcl : |
---|
3 | # $Id$ |
---|
4 | |
---|
5 | PortSystem 1.0 |
---|
6 | |
---|
7 | name appengine-java-sdk |
---|
8 | version 1.3.8 |
---|
9 | revision 0 |
---|
10 | categories devel java |
---|
11 | maintainers openmaintainer dmunneke@2moro.com.au |
---|
12 | platforms darwin |
---|
13 | description Google App Engine SDK for Java |
---|
14 | long_description \ |
---|
15 | With App Engine, you can build web applications using standard Java technologies \ |
---|
16 | and run them on Google's scalable infrastructure. The Java environment provides a \ |
---|
17 | Java 6 JVM, a Java Servlets interface, and support for standard interfaces to the \ |
---|
18 | App Engine scalable datastore and services, such as JDO, JPA, JavaMail, and JCache. \ |
---|
19 | Standards support makes developing your application easy and familiar, and also makes \ |
---|
20 | porting your application to and from your own servlet environment straightforward. |
---|
21 | |
---|
22 | homepage http://appengine.google.com/ |
---|
23 | |
---|
24 | #http://googleappengine.googlecode.com/files/appengine-java-sdk-1.3.8.zip |
---|
25 | #http://googleappengine.googlecode.com/files/google-appengine-docs-20101014.zip |
---|
26 | #master_sites http://googleappengine.googlecode.com/files/ |
---|
27 | master_sites googlecode:googleappengine |
---|
28 | distname ${name}-${version} |
---|
29 | use_zip yes |
---|
30 | |
---|
31 | checksums sha1 5395bb75ab8913ec2312e0cd65815e04858e3d33 |
---|
32 | |
---|
33 | worksrcdir ${name}-${version} |
---|
34 | set workTarget "" |
---|
35 | |
---|
36 | use_configure no |
---|
37 | build.cmd true |
---|
38 | |
---|
39 | platform darwin { |
---|
40 | extract.post_args | gnutar -x |
---|
41 | build.env JAVA_HOME=/Library/Java/Home |
---|
42 | } |
---|
43 | |
---|
44 | pre-destroot { |
---|
45 | |
---|
46 | } |
---|
47 | |
---|
48 | destroot { |
---|
49 | # Create the target java directory |
---|
50 | xinstall -m 755 -d ${destroot}${prefix}/share/java/${name} |
---|
51 | |
---|
52 | # Copy over the needed elements of our directory tree |
---|
53 | file copy ${worksrcpath}/bin \ |
---|
54 | ${worksrcpath}/config \ |
---|
55 | ${worksrcpath}/demos \ |
---|
56 | ${worksrcpath}/docs \ |
---|
57 | ${worksrcpath}/lib \ |
---|
58 | ${worksrcpath}/ABOUT \ |
---|
59 | ${worksrcpath}/COPYING \ |
---|
60 | ${worksrcpath}/README \ |
---|
61 | ${worksrcpath}/RELEASE_NOTES \ |
---|
62 | ${worksrcpath}/README.ORM \ |
---|
63 | ${worksrcpath}/RELEASE_NOTES.ORM \ |
---|
64 | ${destroot}${prefix}/share/java/${name} |
---|
65 | |
---|
66 | } |
---|
67 | |
---|
68 | post-activate { |
---|
69 | ui_msg "****************************************************************************" |
---|
70 | ui_msg "* Remember to set the environment variable APPENGINE_HOME path: " |
---|
71 | ui_msg " export APPENGINE_HOME=${prefix}/share/java/${name} " |
---|
72 | ui_msg " export PATH=$PATH:$APPENGINE_HOME/bin " |
---|
73 | ui_msg "****************************************************************************" |
---|
74 | } |
---|