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

Last change on this file was 95532, checked in by blair@…, 5 years ago

servlet2{3,4,5}-api: whitespace changes: move to 4-space indentation.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 95532 2012-07-15 20:24:17Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            servlet25-api
6version         6.0.35
7
8categories      java
9license         Apache-2
10maintainers     blair openmaintainer
11platforms       darwin
12
13description     Java Servlet 2.5 and JSP 2.1 APIs.
14long_description \
15    The Java Servlet and JavaServer Pages specifications are developed \
16    by Sun under the Java Community Process.  This project provides \
17    the servlet and JSP API jars from Tomcat 6.
18homepage        http://jakarta.apache.org/tomcat/
19
20dist_subdir     tomcat6
21distname        apache-tomcat-${version}-src
22master_sites    apache:tomcat/tomcat-6/v${version}/src/
23checksums       md5 4d44a7e7610a83ebe930a781257a8b1d \
24                sha1 1a47ad41d52a27757cfeddf7fa1627688ed4027a \
25                rmd160 d292b210fe62aafec4a074e3a626766585367a3e
26
27depends_lib     bin:java:kaffe
28depends_build   bin:ant:apache-ant
29
30use_configure   no
31
32build.env       ANT_OPTS=-Xmx1024m
33build.cmd       ant
34build.target    download build-only
35build.args      -Dbase.path=${worksrcpath}/repository
36
37destroot {
38    xinstall -m 755 -d ${destroot}${prefix}/share/java \
39        ${destroot}${prefix}/share/doc
40    xinstall -m 644 ${worksrcpath}/output/build/lib/jsp-api.jar \
41        ${destroot}${prefix}/share/java/jsp21-api.jar
42    xinstall -m 644 \
43        ${worksrcpath}/output/build/lib/servlet-api.jar \
44        ${destroot}${prefix}/share/java/servlet25-api.jar
45}
Note: See TracBrowser for help on using the repository browser.