[89813] trunk/dports/java/tomcat5/Portfile

and.damore at macports.org and.damore at macports.org
Sat Feb 11 01:17:12 PST 2012


Revision: 89813
          http://trac.macports.org/changeset/89813
Author:   and.damore at macports.org
Date:     2012-02-11 01:17:09 -0800 (Sat, 11 Feb 2012)
Log Message:
-----------
port tomcat5: linting portfile, added license and missing variant description, replaced adduser with add_users

Modified Paths:
--------------
    trunk/dports/java/tomcat5/Portfile

Modified: trunk/dports/java/tomcat5/Portfile
===================================================================
--- trunk/dports/java/tomcat5/Portfile	2012-02-11 09:05:12 UTC (rev 89812)
+++ trunk/dports/java/tomcat5/Portfile	2012-02-11 09:17:09 UTC (rev 89813)
@@ -5,6 +5,7 @@
 name                    tomcat5
 version                 5.5.25
 revision                1
+license                 ASF
 
 categories              java www
 maintainers             nomaintainer
@@ -87,7 +88,7 @@
 #                               -Dstruts.lib=${javaLibs}/struts/lib
 
 # Remove compatibility for pre-JRE 1.5 systems
-variant nocompat {
+variant nocompat description {do not build compat target} {
         build.target-delete compat
 }
 
@@ -121,7 +122,7 @@
         # Create the tomcat user
         addgroup ${tomcatgroup}
         set gid [existsgroup ${tomcatgroup}]
-        adduser ${tomcatuser} gid=${gid} realname=Web Server
+        add_users ${tomcatuser} gid=${gid} realname=Web Server
         
         # Install Tomcat
         file copy ${destroot.dir}/dist ${target}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120211/16c7ebe7/attachment.html>


More information about the macports-changes mailing list