Ignore:
Timestamp:
Nov 29, 2004, 4:52:58 PM (15 years ago)
Author:
jberry
Message:

Provide tld files from standard.jar, now that they're not singly installed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/struts/Portfile

    r8836 r9442  
    1 # $Id: Portfile,v 1.1 2004/10/20 17:19:58 jberry Exp $
     1# $Id: Portfile,v 1.2 2004/11/29 16:52:58 jberry Exp $
    22
    33PortSystem 1.0
     
    55name                    struts
    66version                 1.2.4
     7revision                        1
    78
    89categories              java
     
    5758                        -Dantlr.jar=${javaLibs}/antlr.jar \
    5859                        "
     60
     61        # Extract tld files from standard.jar, needed by struts-el
     62        set tld_dir ${workpath}/tld
     63        file mkdir ${tld_dir}
     64        system "cd ${tld_dir} && jar xf ${javaLibs}/standard.jar META-INF"
    5965       
    6066        # Build Struts-EL
     
    6268                ant dist \
    6369                        -Dservlet.jar=${javaLibs}/servlet23-api.jar \
    64                         -Djstl.home=${javaLibs}/jstl \
    65                         -Djstl.tld.dir=${javaLibs}/jstl/tld \
     70                        -Djstl.tld.dir=${tld_dir}/META-INF \
    6671                        -Djstl.jar=${javaLibs}/jstl.jar \
    6772                        -Djstl-standard.jar=${javaLibs}/standard.jar \
Note: See TracChangeset for help on using the changeset viewer.