source: trunk/dports/java/servlet23-api/Portfile

Last change on this file was 96266, checked in by jberry@…, 5 years ago

Use the new java portgroup to set the java JAVA_HOME, as the symlink at /System/Library/Frameworks/JavaVM.framework/Home no longer exists on Mountain Lion. We discover JAVA_HOME via /usr/libexec/java_home if it exists.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 96266 2012-08-06 19:52:55Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup java 1.0
5
6name            servlet23-api
7epoch           20061005
8version         1
9
10categories      java
11license         Apache-2
12maintainers     nomaintainer
13platforms       darwin
14
15description     Java Servlet API 2.3 and JSP 1.2 API.
16long_description \
17    Java Servlet API 2.3 and JSP API 1.2.  The Java Servlet and \
18    JavaServer Pages specifications are developed by Sun under the \
19    Java Community Process.  This project provides the servlet and JSP \
20    APIs from Tomcat4.
21homepage        http://jakarta.apache.org/tomcat/
22
23distname        servlet2.3-jsp1.2-tc4.x
24master_sites    macports:jberry
25checksums       md5 2a32a1c8e148b4f6533eda9c1e698e50
26
27depends_build   bin:ant:apache-ant
28depends_lib     bin:java:kaffe
29
30use_configure   no
31
32worksrcdir      servlet2.3-jsp1.2-tc4.x
33
34build.cmd       ant
35build.target    dist
36build.args
37
38destroot {
39    xinstall -m 755 -d ${destroot}${prefix}/share/java \
40        ${destroot}${prefix}/share/doc
41    xinstall -m 644 \
42        ${worksrcpath}/dist/lib/servlet.jar \
43        ${destroot}${prefix}/share/java/servlet23-api.jar
44    file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name}
45}
46
47livecheck.type  none
Note: See TracBrowser for help on using the repository browser.