[28546] trunk/dports/multimedia/libogg/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Mon Sep 3 05:35:39 PDT 2007
Revision: 28546
http://trac.macosforge.org/projects/macports/changeset/28546
Author: nox at macports.org
Date: 2007-09-03 05:35:38 -0700 (Mon, 03 Sep 2007)
Log Message:
-----------
libogg:
* Taken over.
* API documentation is now a variant.
* Standard documentation files are now installed.
* Added sha1 and rmd160 checksums.
* The huge patch against configure.ac is now a simple reinplace with the correct GCC macro in ogg/os_types.h (ices2 builds fine with this sedding).
Modified Paths:
--------------
trunk/dports/multimedia/libogg/Portfile
Modified: trunk/dports/multimedia/libogg/Portfile
===================================================================
--- trunk/dports/multimedia/libogg/Portfile 2007-09-03 12:26:00 UTC (rev 28545)
+++ trunk/dports/multimedia/libogg/Portfile 2007-09-03 12:35:38 UTC (rev 28546)
@@ -1,29 +1,49 @@
# $Id$
-PortSystem 1.0
-name libogg
-version 1.1.3
-revision 1
-categories multimedia
-maintainers nomaintainer at macports.org
-description Ogg Bitstream Library
+PortSystem 1.0
+
+name libogg
+version 1.1.3
+revision 2
+categories multimedia
+platforms darwin
+maintainers nox openmaintainer
+description Ogg Bitstream Library
+
long_description \
Libogg is a library for manipulating ogg bitstreams. It handles both \
making ogg bitstreams and getting packets from ogg bitstreams.
-homepage http://www.vorbis.com/
-platforms darwin
-master_sites http://downloads.xiph.org/releases/ogg/
-checksums sha1 a3e495a8baf6939efad7e0bd11cc0e466838c3db
-# from https://trac.xiph.org/ticket/849
-patchfiles libogg.patch
-patch.args -p1
+homepage http://www.vorbis.com/
+master_sites http://downloads.xiph.org/releases/ogg/
-# we need to use autoconf, as the patch changes configure.in
-use_autoconf yes
+checksums md5 eaf7dc6ebbff30975de7527a80831585 \
+ sha1 a3e495a8baf6939efad7e0bd11cc0e466838c3db \
+ rmd160 2dc0ab120416441a007cf1017f461372eab03c0d
+post-patch {
+ reinplace "s/__MACOSX__/__APPLE__/" ${worksrcpath}/include/ogg/os_types.h
+}
+
post-configure {
+ cd ${worksrcpath}
+
if {[variant_isset universal]} {
- reinplace "s|CC -dynamiclib|CC -dynamiclib ${configure.universal_ldflags}|g" ${worksrcpath}/libtool
+ reinplace "s|CC -dynamiclib|CC -dynamiclib ${configure.universal_ldflags}|g" libtool
}
+
+ if {! [variant_isset doc]} {
+ reinplace -E "/^install:/s/install-recursive//" doc/Makefile
+ }
}
+
+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} {}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070903/6f8897e8/attachment.html
More information about the macports-changes
mailing list