Changeset 10879 for trunk/dports/java/tomcat5
- Timestamp:
- Feb 8, 2005, 11:35:19 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/java/tomcat5/Portfile
r10878 r10879 1 # $Id: Portfile,v 1.1 2 2005/02/08 23:27:36jberry Exp $1 # $Id: Portfile,v 1.13 2005/02/08 23:35:19 jberry Exp $ 2 2 3 3 PortSystem 1.0 … … 55 55 set tomcatgroup www 56 56 57 # 57 58 # Tomcat in this version requires ant 1.6.2. 58 59 # If the current version of ant is not at least 1.6.2 then add an 59 60 # explicit dependency onto our ant port. 61 # 60 62 if { [string length [auto_execok ant]] } { 61 63 set verOutput [exec ant -version] 62 regexp {version (\d *(\.\d*(\.\d*)?)?)} $verOutput -> antVersion64 regexp {version (\d+(\.\d+)*)} $verOutput -> antVersion 63 65 if { [rpm-vercomp $antVersion "1.6.2"] < 0 } { 64 66 depends_build-append bin:XXX:apache-ant
Note: See TracChangeset
for help on using the changeset viewer.