[28501] trunk/dports/audio/libvorbis/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sun Sep 2 10:59:26 PDT 2007


Revision: 28501
          http://trac.macosforge.org/projects/macports/changeset/28501
Author:   nox at macports.org
Date:     2007-09-02 10:59:26 -0700 (Sun, 02 Sep 2007)

Log Message:
-----------
libvorbis:
 * Updated to 1.2.0.
 * Added doc installation.
 * Added livecheck.
 * Taken over.

Modified Paths:
--------------
    trunk/dports/audio/libvorbis/Portfile

Modified: trunk/dports/audio/libvorbis/Portfile
===================================================================
--- trunk/dports/audio/libvorbis/Portfile	2007-09-02 17:20:48 UTC (rev 28500)
+++ trunk/dports/audio/libvorbis/Portfile	2007-09-02 17:59:26 UTC (rev 28501)
@@ -1,26 +1,47 @@
 # $Id$
 
-PortSystem 1.0
-name             libvorbis
-version          1.1.2
-categories       audio
-maintainers      nomaintainer at macports.org
-description      The Vorbis General Audio Compression Codec
+PortSystem		1.0
+
+name			libvorbis
+version			1.2.0
+categories		audio
+platforms		darwin
+maintainers		nox openmaintainer
+description		The Vorbis General Audio Compression Codec
+
 long_description \
-    Ogg Vorbis is a fully open, non-proprietary, \
-    patent-and-royalty-free, general-purpose compressed audio format for \
-    audio and music at fixed and variable bitrates from 16 to 128 \
-    kbps/channel.
-homepage         http://www.vorbis.com/
-platforms        darwin
-master_sites     http://downloads.xiph.org/releases/vorbis/
-checksums        sha1 26289fc41aa5436b1a277d726bb5cb106d675c35
-depends_lib      lib:libogg.0:libogg
+	Ogg Vorbis is a fully open, non-proprietary, \
+	patent-and-royalty-free, general-purpose compressed audio format for \
+	audio and music at fixed and variable bitrates from 16 to 128 \
+	kbps/channel.
 
-variant universal {
-	post-configure {
-		reinplace "s|CC -dynamiclib|CC -dynamiclib ${configure.universal_ldflags}|g" \
-			${worksrcpath}/libtool
+homepage		http://www.vorbis.com/
+master_sites	http://downloads.xiph.org/releases/vorbis/
+
+depends_build	port:pkgconfig
+depends_lib		port:libogg
+depends_run		port:pkgconfig
+
+checksums		md5 478646358c49f34aedcce58948793619 \
+				sha1 6ff5f9d9d71cc385ee180171cc21af5653b76a16 \
+				rmd160 54bf2b48943e283f003cd5dfb4bf9e519b6a817d
+
+configure.args	--disable-oggtest
+
+post-destroot {
+	set docdir ${prefix}/share/doc/${name}-${version}
+	if {! [variant_isset doc]} {
+		xinstall -d ${destroot}${docdir}
 	}
+	xinstall -m 0644 -W ${worksrcpath} AUTHORS CHANGES COPYING README \
+		${destroot}${docdir}
 }
 
+variant doc description {Install extra documentation} {
+	configure.args-append --enable-doc
+}
+
+livecheck.check	regex
+livecheck.url	http://www.xiph.org/downloads/
+livecheck.regex	${name}-(\\d+(?:\\.\\d+)*)
+

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070902/187aa7db/attachment.html


More information about the macports-changes mailing list