[132826] trunk/dports/multimedia/HandBrake/Portfile

larryv at macports.org larryv at macports.org
Wed Feb 11 01:03:44 PST 2015


Revision: 132826
          https://trac.macports.org/changeset/132826
Author:   larryv at macports.org
Date:     2015-02-11 01:03:44 -0800 (Wed, 11 Feb 2015)
Log Message:
-----------
HandBrake: Touch up some more

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

Modified: trunk/dports/multimedia/HandBrake/Portfile
===================================================================
--- trunk/dports/multimedia/HandBrake/Portfile	2015-02-11 09:03:40 UTC (rev 132825)
+++ trunk/dports/multimedia/HandBrake/Portfile	2015-02-11 09:03:44 UTC (rev 132826)
@@ -18,10 +18,10 @@
 homepage            http://handbrake.fr/
 
 
-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"
+if {${os.platform} eq "darwin" && ${os.major} < 10} {
+    pre-fetch {
+        ui_error "Building ${name} ${version} requires OS X 10.6 or later."
+        return -code error "unsupported platform"
     }
 }
 
@@ -38,9 +38,13 @@
 
 # +universal would be possible, but not implemented yet
 # see ${worksrcpath}/doc/BUILD-Mac for details
+# TODO: Implement? Is this even worth bothering with?
 universal_variant   no
 
 
+# Autotools: fribidi, libdvdnav, libdvdread, libogg, libvorbis
+# Python: configure script
+# Yasm: libvpx, x264
 depends_build       port:autoconf \
                     port:automake \
                     port:libtool \
@@ -48,6 +52,9 @@
                    {bin:python2(\.(4|5|6|7))?:python27} \
                     port:yasm
 
+# bzip2: freetype
+# libiconv: libxml2
+# zlib: freetype, libxml2
 depends_lib         port:bzip2 \
                     port:libiconv \
                     port:zlib
@@ -58,7 +65,7 @@
 
 
 master_sites        http://handbrake.fr/rotation.php?file=${distname}${extract.suffix}&dummy=:src \
-                    http://download.handbrake.fr/handbrake/contrib/:contrib
+                    http://download.handbrake.fr/handbrake/contrib:contrib
 
 use_bzip2           yes
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150211/cc79790c/attachment.html>


More information about the macports-changes mailing list