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

larryv at macports.org larryv at macports.org
Fri Jan 10 21:58:19 PST 2014


Revision: 115783
          https://trac.macports.org/changeset/115783
Author:   larryv at macports.org
Date:     2014-01-10 21:58:19 -0800 (Fri, 10 Jan 2014)
Log Message:
-----------
HandBrake: Rearrange some more.

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

Modified: trunk/dports/aqua/HandBrake/Portfile
===================================================================
--- trunk/dports/aqua/HandBrake/Portfile	2014-01-11 05:56:18 UTC (rev 115782)
+++ trunk/dports/aqua/HandBrake/Portfile	2014-01-11 05:58:19 UTC (rev 115783)
@@ -17,6 +17,18 @@
                     widely supported codecs.
 homepage            http://handbrake.fr/
 
+depends_build       port:autoconf \
+                    port:automake \
+                    port:libtool \
+                    port:yasm
+
+pre-fetch {
+    if {${os.platform} eq "darwin" && ${os.major} < 10} {
+        ui_error "${name} ${version} requires OS X 10.6 or greater."
+        return -code error "incompatible OS X version"
+    }
+}
+
 use_bzip2           yes
 master_sites        http://handbrake.fr/rotation.php?file=${distname}${extract.suffix}&dummy=:src \
                     http://download.handbrake.fr/handbrake/contrib/:contrib
@@ -43,7 +55,6 @@
                     mp4v2-trunk-r355.tar.bz2:contrib \
                     mpeg2dec-0.5.1.tar.gz:contrib \
                     x264-r2146-bcd41db.tar.gz:contrib
-extract.only        ${distname}${extract.suffix}
 
 checksums           HandBrake-0.9.8.tar.bz2 \
                         rmd160  7392fa8783f8b114bf0cdc4adc6b96d148f75e09 \
@@ -115,11 +126,6 @@
                         rmd160  9747178126c529c4bc807de356b57c077c95285b \
                         sha256  7b3d0ad309426ad49ff21df4d2ee5553b5769bc2bf2b7ae50f37f5fc72d190b1
 
-depends_build       port:autoconf \
-                    port:automake \
-                    port:libtool \
-                    port:yasm
-
 variant python26 conflicts python27 description {Use Python 2.6} {
     python.default_version 26
 }
@@ -132,13 +138,7 @@
     default_variants +python27
 }
 
-pre-fetch {
-    if {${os.platform} eq "darwin" && ${os.major} < 10} {
-        ui_error "${name} ${version} requires OS X 10.6 or greater."
-        return -code error "incompatible OS X version"
-    }
-}
-
+extract.only        ${distname}${extract.suffix}
 post-extract {
     file mkdir ${worksrcpath}/download
     foreach distfile ${distfiles} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140110/60774284/attachment-0001.html>


More information about the macports-changes mailing list