[84258] trunk/dports/aqua/xrg/Portfile
snc at macports.org
snc at macports.org
Wed Sep 21 10:46:37 PDT 2011
Revision: 84258
http://trac.macports.org/changeset/84258
Author: snc at macports.org
Date: 2011-09-21 10:46:35 -0700 (Wed, 21 Sep 2011)
Log Message:
-----------
xrg:
* license
* OS X version checks
Modified Paths:
--------------
trunk/dports/aqua/xrg/Portfile
Modified: trunk/dports/aqua/xrg/Portfile
===================================================================
--- trunk/dports/aqua/xrg/Portfile 2011-09-21 17:42:04 UTC (rev 84257)
+++ trunk/dports/aqua/xrg/Portfile 2011-09-21 17:46:35 UTC (rev 84258)
@@ -8,6 +8,7 @@
version 1.6.0
categories-append sysutils
maintainers snc openmaintainer
+license Permissive
description XRG is an open source system monitor for Mac OS X.
long_description \
XRG allows you to monitor CPU activity, memory \
@@ -27,5 +28,21 @@
worksrcdir [string toupper ${name}]
+pre-fetch {
+ platform darwin {
+ if {${os.major} < 8} {
+ ui_err "${name} requires OS X 10.4 or newer."
+ return -code error "incompatible OS X version"
+ }
+
+ if {${build_arch} == "x86_64"} {
+ if {${os.major} < 10} {
+ ui_err "${name} requires OS X 10.6 or newer."
+ return -code error "incompatible OS X version"
+ }
+ }
+ }
+}
+
livecheck.url ${homepage}/Software/X%20Resource%20Graph/Download/
livecheck.regex [string toupper ${name}]-src-(\\d+\\.\\d+\\.\\d+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110921/3097c597/attachment-0001.html>
More information about the macports-changes
mailing list