Hi Ryan:
Thanks for all the improvements to the port. For my education, I've
seen the message quite a few times saying: "* rewrote master_sites to
avoid HTTP redirects". I see you used
'master_sites sourceforge:project/mediainfo/binary/mediainfo/${version}'
How does one determine this?
Thanks,
Craig
At 2:37 AM -0700 10/21/12, ryandes...@macports.org wrote:
Revision
<http://trac.macports.org//changeset/98933>98933
Author
ryandes...@macports.org
Date
2012-10-21 02:37:07 -0700 (Sun, 21 Oct 2012)
Log Message
mediainfo: new port, version 0.7.60 (#36617)
Added Paths
trunk/dports/multimedia/mediainfo/
<>trunk/dports/multimedia/mediainfo/Portfile
trunk/dports/multimedia/mediainfo/files/
<>trunk/dports/multimedia/mediainfo/files/patch-CLI_Compile.sh.diff
Diff
Added: trunk/dports/multimedia/mediainfo/Portfile (0 => 98933)
--- trunk/dports/multimedia/mediainfo/Portfile (rev 0)
+++ trunk/dports/multimedia/mediainfo/Portfile 2012-10-21 09:37:07
UTC (rev 98933)
@@ -0,0 +1,44 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode:
nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name mediainfo
+version 0.7.60
+categories multimedia
+platforms darwin
+maintainers nomaintainer
+license LGPL-3+
+
+description Identifies audio and video codecs in a media file.
+
+long_description MediaInfo supplies technical and tag
information about a \
+ video or audio file
+
+homepage http://mediainfo.sourceforge.net/
+master_sites sourceforge:project/mediainfo/binary/mediainfo/${version}
+distname MediaInfo_CLI_${version}_GNU_FromSource
+use_bzip2 yes
+
+checksums rmd160 1c923506b198264a0cad8d3061b0e5609d99f9f8 \
+ sha256
7d8f2f75f9a6155fef914f6c5b324659a5df1d4ed85d12636a07ab3e9dedc648
+
+depends_lib port:zlib
+
+worksrcdir MediaInfo_CLI_GNU_FromSource
+
+patchfiles patch-CLI_Compile.sh.diff
+
+use_configure no
+
+build.cmd ./CLI_Compile.sh
+build.target
+build.args --prefix=${prefix} \
+ CC="${configure.cc} [get_canonical_archflags cc]" \
+ CXX="${configure.cxx} [get_canonical_archflags cxx]"
+
+destroot.dir ${worksrcpath}/MediaInfo/Project/GNU/CLI
+destroot.cmd make
+
+livecheck.url ${homepage}en/Download/Source
+livecheck.regex /MediaInfo_CLI_(\[0-9.\]+)_GNU_FromSource
Property changes on: trunk/dports/multimedia/mediainfo/Portfile
___________________________________________________________________
Added: svn:keywords
Added: svn:eol-style
Added:
trunk/dports/multimedia/mediainfo/files/patch-CLI_Compile.sh.diff (0
=> 98933)
---
trunk/dports/multimedia/mediainfo/files/patch-CLI_Compile.sh.diff
(rev 0)
+++
trunk/dports/multimedia/mediainfo/files/patch-CLI_Compile.sh.diff
2012-10-21 09:37:07 UTC (rev 98933)
@@ -0,0 +1,29 @@
+--- CLI_Compile.sh.orig 2012-09-02 02:05:09.000000000 -0500
++++ CLI_Compile.sh 2012-10-21 04:25:32.000000000 -0500
+@@ -26,7 +26,7 @@
+ cd ZenLib/Project/GNU/Library/
+ test -e Makefile && rm Makefile
+ chmod u+x configure
+- ./configure $ZenLib_Options $*
++ ./configure $ZenLib_Options "$@"
+ if test -e Makefile; then
+ make clean
+ Zen_Make
+@@ -52,7 +52,7 @@
+ cd MediaInfoLib/Project/GNU/Library/
+ test -e Makefile && rm Makefile
+ chmod u+x configure
+- ./configure $*
++ ./configure "$@"
+ if test -e Makefile; then
+ make clean
+ Zen_Make
+@@ -78,7 +78,7 @@
+ cd MediaInfo/Project/GNU/CLI/
+ test -e Makefile && rm Makefile
+ chmod u+x configure
+- ./configure --enable-staticlibs $*
++ ./configure --enable-staticlibs "$@"
+ if test -e Makefile; then
+ make clean
+ Zen_Make
_______________________________________________
macports-changes mailing list
macports-chan...@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-changes
--
--
Craig Treleaven, CA -- Clearview Consulting
(905) 829-2054 ctrelea...@cogeco.ca
_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-dev