[96972] trunk/dports/aqua/xrg/Portfile

snc at macports.org snc at macports.org
Thu Aug 23 08:59:20 PDT 2012


Revision: 96972
          https://trac.macports.org/changeset/96972
Author:   snc at macports.org
Date:     2012-08-23 08:59:20 -0700 (Thu, 23 Aug 2012)
Log Message:
-----------
xrg: use github source to comply with license

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

Modified: trunk/dports/aqua/xrg/Portfile
===================================================================
--- trunk/dports/aqua/xrg/Portfile	2012-08-23 15:47:45 UTC (rev 96971)
+++ trunk/dports/aqua/xrg/Portfile	2012-08-23 15:59:20 UTC (rev 96972)
@@ -3,9 +3,11 @@
 
 PortSystem 1.0
 PortGroup       xcode 1.0
+PortGroup           github 1.0
 
-name            xrg
-version         1.7.0
+github.setup        mikepj XRG 1.7.0 XRG_
+name                xrg
+revision            1
 categories-append   sysutils
 maintainers     snc openmaintainer
 license             GPL-2+
@@ -21,38 +23,19 @@
     CPU time as possible while still showing detailed \
     graphs on system usage.
 homepage        http://www.gauchosoft.com/Products/XRG/
-master_sites    http://download.gauchosoft.com/${name}/
-supported_archs     i386 x86_64
 
-worksrcdir          [string toupper ${name}].app
-
 pre-fetch {
-    if {${os.major} < 10} {
-        ui_error "${name} requires OS X 10.6 or newer."
-        return -code error "incompatible OS X version"
+    platform darwin {
+        if {${os.major} < 10} {
+            ui_error "${name} requires OS X 10.6 or newer."
+            return -code error "incompatible OS X version"
+        }
     }
 }
-use_zip             yes
-distname        [string toupper ${name}]-release-${version}
 
-checksums           rmd160  e217b454cb646739be69b010c1d26c0cb5d7f2c6 \
-                    sha256  2abedda2bf31443ee33e26fd16a235cbf1718cbce6d39a144c1e64809d6ed21f
+checksums           rmd160  0eedcfa243794d1cd522b42db2a2bc819df0768e \
+                    sha256  dc22b9afa017b726b1135f94eea2ff536dc83a6ca7bb642efb66f0e1e9c270a9
 
-use_configure       no
-configure.universal_archs i386 x86_64
-
-build {
-    if {![variant_isset universal]} {
-        system -W ${worksrcpath}/Contents/MacOS "lipo -extract ${configure.build_arch} ${name} -output ${name}"
-    }
-}
-
-destroot {
-    copy ${worksrcpath}  ${destroot}${applications_dir}
-}
-
-variant universal {}
-
 livecheck.type      regex
 livecheck.url       ${homepage}
-livecheck.regex     [string toupper ${name}]-\\w+-(\\d+(\\.\\d+)+)${extract.suffix}
+livecheck.regex     [string toupper ${name}]-\\w+-(\\d+(\\.\\d+)+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120823/8e25fd4d/attachment.html>


More information about the macports-changes mailing list