[98157] trunk/dports/aqua/HandBrake/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Sep 26 09:30:04 PDT 2012


Revision: 98157
          http://trac.macports.org//changeset/98157
Author:   ryandesign at macports.org
Date:     2012-09-26 09:30:03 -0700 (Wed, 26 Sep 2012)
Log Message:
-----------
HandBrake: prevent install on Leopard and earlier

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

Modified: trunk/dports/aqua/HandBrake/Portfile
===================================================================
--- trunk/dports/aqua/HandBrake/Portfile	2012-09-26 16:16:41 UTC (rev 98156)
+++ trunk/dports/aqua/HandBrake/Portfile	2012-09-26 16:30:03 UTC (rev 98157)
@@ -136,6 +136,13 @@
 
 depends_build   port:yasm
 
+pre-fetch {
+    if {${os.platform} == "darwin" && ${os.major} < 10} {
+        ui_error "${name} ${version} requires OS X 10.6 or greater."
+        return -code error "incompatible OS X version"
+    }
+}
+
 post-extract {
     file mkdir ${worksrcpath}/download
     foreach distfile ${distfiles} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120926/c096b1e5/attachment.html>


More information about the macports-changes mailing list