Ticket #2282: Portfile

File Portfile, 1.3 KB (added by james@…, 20 years ago)

java/tomcat5-api Portfile

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