[38133] trunk/dports/aqua/CronniX/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Jul 7 16:31:49 PDT 2008


Revision: 38133
          http://trac.macosforge.org/projects/macports/changeset/38133
Author:   ryandesign at macports.org
Date:     2008-07-07 16:31:48 -0700 (Mon, 07 Jul 2008)
Log Message:
-----------
CronniX: update to 3.0.2; closes #15744

Modified Paths:
--------------
    trunk/dports/aqua/CronniX/Portfile

Modified: trunk/dports/aqua/CronniX/Portfile
===================================================================
--- trunk/dports/aqua/CronniX/Portfile	2008-07-07 23:31:46 UTC (rev 38132)
+++ trunk/dports/aqua/CronniX/Portfile	2008-07-07 23:31:48 UTC (rev 38133)
@@ -4,16 +4,18 @@
 PortGroup               xcode 1.0
 
 name                    CronniX
-version                 3.0.1
+version                 3.0.2
 categories              aqua
 maintainers             ryandesign
 homepage                http://www.abstracture.de/projects-en/cronnix/
 master_sites            ${homepage}download/
-distname                ${name}_${version}_src
-use_zip                 yes
 xcode.target            ${name}
-universal_variant       no
 
+fetch.type              svn
+svn.url                 http://cronnix.googlecode.com/svn/trunk
+svn.tag                 83
+worksrcdir              trunk
+
 description \
     graphical frontend for scheduling cronjobs
 
@@ -21,18 +23,23 @@
     ${name} is a Mac OS X frontend to the Unix scheduler cron. Cron is a \
     system service that allows scheduled execution of scripts and programs.
 
-checksums \
-    md5 c0816320e9434a9147c72ba36db17b69 \
-    sha1 818bbca981599846e2f6e4dba705328fb31e2280 \
-    rmd160 c1a0eeaecdbf2d54a66518e05058937d825340a1
+variant universal {
+    eval build.args-append      "ARCHS='${configure.universal_archs}'"
+    eval destroot.args-append   "ARCHS='${configure.universal_archs}'"
+}
+if {![variant_isset universal]} {
+    set arch ${os.arch}
+    if {! [string compare ${os.arch} powerpc]} {
+        set arch ppc
+    }
+    build.args-append           ARCHS=${arch}
+    destroot.args-append        ARCHS=${arch}
+}
 
 post-destroot {
-    # The directories inside the application bundle get created with
-    # 555 permissions which prevents MacPorts from being able to copy
-    # them from the destroot to the install area.
     fs-traverse dir ${destroot} {
         if {[file isdirectory ${dir}]} {
-            file attributes ${dir} -permissions 0755
+            file attributes ${dir} -permissions u+w
         }
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080707/1e8781ec/attachment.html 


More information about the macports-changes mailing list