source: trunk/dports/java/servlet24-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.5 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            servlet24-api
7version         5.5.28
8
9categories      java
10license         Apache-2
11maintainers     nomaintainer
12platforms       darwin
13
14description     Java Servlet 2.4 and JSP 2.0 APIs.
15long_description \
16    The Java Servlet and JavaServer Pages specifications are developed \
17    by Sun under the Java Community Process.  This project provides \
18    the servlet and JSP API jars from Tomcat 5.
19homepage        http://tomcat.apache.org/
20
21distname        apache-tomcat-${version}-src
22dist_subdir     tomcat5
23master_sites    apache:tomcat/tomcat-5/v${version}/src/
24
25checksums       md5     73cd758f32dff07e7d26817b50d3448d \
26                sha1    73a61aa067f5f90109ce5667136e6eb5f47d462c \
27                rmd160  9f6beb4f613e1f075de6f1fe1bde3c9a3b7b18c8
28
29
30depends_build   bin:ant:apache-ant
31depends_lib     bin:java:kaffe
32
33worksrcdir      ${distname}/build
34
35use_configure   no
36
37build.cmd       ant
38build.target    build-servletapi build-jspapi
39build.args      -Dbase.path=${worksrcpath}/../repository
40
41destroot {
42    xinstall -d ${destroot}${prefix}/share/java
43    xinstall -m 644 ${worksrcpath}/../repository/jsp-api-2.0/lib/jsp-api.jar \
44        ${destroot}${prefix}/share/java/jsp2-api.jar
45    xinstall -m 644 \
46        ${worksrcpath}/../repository/servlet-api-2.4/lib/servlet-api.jar \
47        ${destroot}${prefix}/share/java/servlet24-api.jar
48}
49
50livecheck.type  regex
51livecheck.url   ${homepage}/download-55.cgi
52livecheck.regex "apache-tomcat-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"
Note: See TracBrowser for help on using the repository browser.