[132815] trunk/dports/multimedia/HandBrake/Portfile
larryv at macports.org
larryv at macports.org
Wed Feb 11 01:02:45 PST 2015
Revision: 132815
https://trac.macports.org/changeset/132815
Author: larryv at macports.org
Date: 2015-02-11 01:02:45 -0800 (Wed, 11 Feb 2015)
Log Message:
-----------
HandBrake: Rearrange and reformat
Modified Paths:
--------------
trunk/dports/multimedia/HandBrake/Portfile
Modified: trunk/dports/multimedia/HandBrake/Portfile
===================================================================
--- trunk/dports/multimedia/HandBrake/Portfile 2015-02-11 08:12:20 UTC (rev 132814)
+++ trunk/dports/multimedia/HandBrake/Portfile 2015-02-11 09:02:45 UTC (rev 132815)
@@ -6,21 +6,18 @@
name HandBrake
version 0.9.8
+categories multimedia aqua
platforms macosx
-categories multimedia aqua
+license GPL-2
maintainers nomaintainer
-license GPL-2
+
description The open source video transcoder
long_description HandBrake is a tool for converting video from \
nearly any format to a selection of modern, \
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} {
@@ -29,33 +26,23 @@
}
}
-use_bzip2 yes
+
+# +universal would be possible, but not implemented yet
+# see ${worksrcpath}/doc/BUILD-Mac for details
+universal_variant no
+
+
+depends_build port:autoconf \
+ port:automake \
+ port:libtool \
+ port:yasm
+
+
master_sites http://handbrake.fr/rotation.php?file=${distname}${extract.suffix}&dummy=:src \
http://download.handbrake.fr/handbrake/contrib/:contrib
-distfiles ${distname}${extract.suffix}:src \
- a52dec-0.7.4.tar.gz:contrib \
- faac-1.28.tar.gz:contrib \
- faad2-2.7.tar.gz:contrib \
- ffmpeg-v0.7-1696-gcae4f4b.tar.bz2:contrib \
- fontconfig-2.8.0.tar.gz:contrib \
- freetype-2.4.7.tar.bz2:contrib \
- fribidi-0.19.2.tar.gz:contrib \
- lame-3.98.tar.gz:contrib \
- libass-0.10.0-1.tar.gz:contrib \
- libbluray-0.0.1-pre-213-ga869da8.tar.gz:contrib \
- libdca-r81-strapped.tar.gz:contrib \
- libdvdnav-svn1168.tar.gz:contrib \
- libdvdread-svn1168.tar.gz:contrib \
- libmkv-0.6.5-0-g82075ae.tar.gz:contrib \
- libogg-1.3.0.tar.gz:contrib \
- libsamplerate-0.1.4.tar.gz:contrib \
- libtheora-1.1.0.tar.bz2:contrib \
- libvorbis-aotuv_b6.03.tar.bz2:contrib \
- libxml2-2.7.7.tar.gz:contrib \
- mp4v2-trunk-r355.tar.bz2:contrib \
- mpeg2dec-0.5.1.tar.gz:contrib \
- x264-r2146-bcd41db.tar.gz:contrib
+use_bzip2 yes
+
checksums HandBrake-0.9.8.tar.bz2 \
rmd160 7392fa8783f8b114bf0cdc4adc6b96d148f75e09 \
sha256 dba75a9ff772e419c01d75532c1bf0d7253e73d7ead184eee755cd4c133dc798 \
@@ -126,6 +113,31 @@
rmd160 9747178126c529c4bc807de356b57c077c95285b \
sha256 7b3d0ad309426ad49ff21df4d2ee5553b5769bc2bf2b7ae50f37f5fc72d190b1
+distfiles ${distname}${extract.suffix}:src \
+ a52dec-0.7.4.tar.gz:contrib \
+ faac-1.28.tar.gz:contrib \
+ faad2-2.7.tar.gz:contrib \
+ ffmpeg-v0.7-1696-gcae4f4b.tar.bz2:contrib \
+ fontconfig-2.8.0.tar.gz:contrib \
+ freetype-2.4.7.tar.bz2:contrib \
+ fribidi-0.19.2.tar.gz:contrib \
+ lame-3.98.tar.gz:contrib \
+ libass-0.10.0-1.tar.gz:contrib \
+ libbluray-0.0.1-pre-213-ga869da8.tar.gz:contrib \
+ libdca-r81-strapped.tar.gz:contrib \
+ libdvdnav-svn1168.tar.gz:contrib \
+ libdvdread-svn1168.tar.gz:contrib \
+ libmkv-0.6.5-0-g82075ae.tar.gz:contrib \
+ libogg-1.3.0.tar.gz:contrib \
+ libsamplerate-0.1.4.tar.gz:contrib \
+ libtheora-1.1.0.tar.bz2:contrib \
+ libvorbis-aotuv_b6.03.tar.bz2:contrib \
+ libxml2-2.7.7.tar.gz:contrib \
+ mp4v2-trunk-r355.tar.bz2:contrib \
+ mpeg2dec-0.5.1.tar.gz:contrib \
+ x264-r2146-bcd41db.tar.gz:contrib
+
+
variant python26 conflicts python27 description {Use Python 2.6} {
python.default_version 26
}
@@ -138,7 +150,8 @@
default_variants +python27
}
-extract.only ${distname}${extract.suffix}
+
+extract.only ${distname}${extract.suffix}
post-extract {
file mkdir ${worksrcpath}/download
foreach distfile ${distfiles} {
@@ -165,8 +178,11 @@
${worksrcpath}/contrib/libsamplerate/A01-libsamplerate-carbon.patch
}
-patchfiles missing-delegate.patch
+patchfiles \
+ missing-delegate.patch
+
+
# the Python PortGroup disables configure, we still want to use it, though
use_configure yes
pre-configure {
@@ -175,14 +191,11 @@
configure.cmd ${python.bin} make/configure.py
}
configure.pre_args
-configure.args --fetch=curl \
+configure.args --arch=${configure.build_arch} \
--curl=false \
- --arch=${configure.build_arch} \
+ --fetch=curl \
--gcc=${configure.cc}
-# +universal would be possible, but not implemented yet
-# see ${worksrcpath}/doc/BUILD-Mac for details
-universal_variant no
build.cmd [portbuild::build_getmaketype]
build.dir ${worksrcpath}/build
@@ -193,5 +206,6 @@
${destroot}${applications_dir}/${name}.app
}
+
livecheck.url http://sourceforge.net/projects/handbrake/files/
livecheck.regex "handbrake\/files\/(\\d+(?:\\.\\d+)*)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150211/fa0e0971/attachment.html>
More information about the macports-changes
mailing list