Ignore:
Timestamp:
Aug 19, 2006, 1:04:05 AM (13 years ago)
Author:
markd
Message:

Bug: 8573
Submitted by: bakkerbart@…
Reviewed by: markd@
Approved by:
Obtained from:
Update to 5.1.10.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/jetty/Portfile

    r8419 r19202  
    1 # $Id: Portfile,v 1.1 2004/09/24 00:28:16 landonf Exp $
     1# $Id: Portfile,v 1.2 2006/08/19 01:04:04 markd Exp $
    22
    33PortSystem 1.0
    44name                    jetty
    5 version                 4.2.22
     5version                 5.1.10
    66platforms               darwin
    77categories              www java
     
    2525worksrcdir              ${name}-${version}
    2626
    27 checksums               md5 9d376acd3dd39dc3b8ef51fe55ad554d
    28 
    29 patchfiles              patch-bin-jetty.sh
     27checksums               md5 e84764d1c02d796a49b3c205a3bce6c5
     28use_zip                 yes
    3029
    3130set javadest "${prefix}/share/java/${name}-${version}"
    32 
    33 post-patch {
    34                         reinplace "s|@JETTY_HOME@|${javadest}|g" ${worksrcpath}/bin/jetty.sh
    35                         reinplace "s|@JETTY_RUN@|${prefix}/var/run|g" ${worksrcpath}/bin/jetty.sh
    36 }
    3731
    3832configure {}
     
    4337                        file mkdir "${destroot}${javadest}"
    4438                        file mkdir "${destroot}${prefix}/share/doc"
    45 #                       file copy "${worksrcpath}/javadoc" "${destroot}${prefix}/share/doc/jetty"
    4639                        file copy "${worksrcpath}/lib" "${destroot}${javadest}/"
    4740                        file copy "${worksrcpath}/ext" "${destroot}${javadest}/"
     
    5043                        file copy "${worksrcpath}/stop.jar" "${destroot}${javadest}/"
    5144                        file copy "${worksrcpath}/webapps" "${destroot}${javadest}/"
    52                         file copy "${worksrcpath}/bin" "${destroot}${javadest}/"
    53                         system "cd ${destroot}${prefix}/sbin/ && ln -s ../share/java/${name}-${version}/bin/jetty.sh jetty"
    54                         file attributes ${destroot}${javadest}/bin/jetty.sh -permissions a+x
    5545}
Note: See TracChangeset for help on using the changeset viewer.