1 | # $Id: Portfile 30199 2007-10-22 21:00:27Z jmpp@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name servlet24-api |
---|
6 | version 5.5.25 |
---|
7 | |
---|
8 | categories java |
---|
9 | maintainers jberry@macports.org openmaintainer |
---|
10 | platforms darwin |
---|
11 | |
---|
12 | description Java Servlet 2.4 and JSP 2.0 APIs. |
---|
13 | long_description The Java Servlet and JavaServer Pages specifications \ |
---|
14 | are developed by Sun under the Java Community \ |
---|
15 | Process. This project provides the servlet \ |
---|
16 | and JSP API jars from Tomcat 5. |
---|
17 | homepage http://tomcat.apache.org/ |
---|
18 | |
---|
19 | distname apache-tomcat-${version}-src |
---|
20 | master_sites apache:tomcat/tomcat-5/v${version}/src/ |
---|
21 | checksums md5 2d6cc9a16aceeef4ec3610cd782d5c9d |
---|
22 | |
---|
23 | depends_build bin:ant:apache-ant |
---|
24 | depends_lib bin:java:kaffe |
---|
25 | |
---|
26 | worksrcdir ${distname}/build |
---|
27 | |
---|
28 | use_configure no |
---|
29 | |
---|
30 | build.cmd ant |
---|
31 | build.target build-depends |
---|
32 | build.args -Dbase.path=${worksrcpath}/../repository |
---|
33 | |
---|
34 | destroot { |
---|
35 | xinstall -m 755 -d ${destroot}${prefix}/share/java \ |
---|
36 | ${destroot}${prefix}/share/doc |
---|
37 | xinstall -m 644 ${worksrcpath}/../repository/jsp-api-2.0/lib/jsp-api.jar \ |
---|
38 | ${destroot}${prefix}/share/java/jsp2-api.jar |
---|
39 | xinstall -m 644 \ |
---|
40 | ${worksrcpath}/../repository/servlet-api-2.4/lib/servlet-api.jar \ |
---|
41 | ${destroot}${prefix}/share/java/servlet24-api.jar |
---|
42 | } |
---|