[86200] trunk/dports/audio/libvorbis

ryandesign at macports.org ryandesign at macports.org
Fri Oct 21 04:08:16 PDT 2011


Revision: 86200
          http://trac.macports.org/changeset/86200
Author:   ryandesign at macports.org
Date:     2011-10-21 04:08:13 -0700 (Fri, 21 Oct 2011)
Log Message:
-----------
libvorbis: use an unversioned docdir; see #31682

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

Added Paths:
-----------
    trunk/dports/audio/libvorbis/files/
    trunk/dports/audio/libvorbis/files/patch-docdir.diff

Modified: trunk/dports/audio/libvorbis/Portfile
===================================================================
--- trunk/dports/audio/libvorbis/Portfile	2011-10-21 11:00:44 UTC (rev 86199)
+++ trunk/dports/audio/libvorbis/Portfile	2011-10-21 11:08:13 UTC (rev 86200)
@@ -5,6 +5,7 @@
 
 name            libvorbis
 version         1.3.2
+revision        1
 categories      audio
 license         BSD
 platforms       darwin
@@ -28,15 +29,14 @@
                     sha1    4b089ace4c8420c479b2fde9c5b01588cf86c959 \
                     rmd160  90636428d1e83531b948e4823413504162004790
 
+patchfiles          patch-docdir.diff
+
 configure.args  --disable-oggtest
 
 use_parallel_build  yes
 
 post-destroot {
-    set docdir ${prefix}/share/doc/${name}-${version}
-    if {! [variant_isset doc]} {
-        xinstall -d ${destroot}${docdir}
-    }
+    set docdir ${prefix}/share/doc/${name}
     xinstall -m 0644 -W ${worksrcpath} AUTHORS CHANGES COPYING README \
         ${destroot}${docdir}
 }

Added: trunk/dports/audio/libvorbis/files/patch-docdir.diff
===================================================================
--- trunk/dports/audio/libvorbis/files/patch-docdir.diff	                        (rev 0)
+++ trunk/dports/audio/libvorbis/files/patch-docdir.diff	2011-10-21 11:08:13 UTC (rev 86200)
@@ -0,0 +1,44 @@
+--- doc/Makefile.in.orig	2010-11-01 15:29:11.000000000 -0500
++++ doc/Makefile.in	2011-10-21 06:00:49.000000000 -0500
+@@ -171,7 +171,7 @@
+ builddir = @builddir@
+ datadir = @datadir@
+ datarootdir = @datarootdir@
+-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
++docdir = $(datadir)/doc/$(PACKAGE)
+ dvidir = @dvidir@
+ exec_prefix = @exec_prefix@
+ host = @host@
+--- doc/libvorbis/Makefile.in.orig	2010-11-01 15:29:11.000000000 -0500
++++ doc/libvorbis/Makefile.in	2011-10-21 06:01:48.000000000 -0500
+@@ -158,7 +158,7 @@
+ builddir = @builddir@
+ datadir = @datadir@
+ datarootdir = @datarootdir@
+-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/libvorbis
++docdir = $(datadir)/doc/$(PACKAGE)/libvorbis
+ dvidir = @dvidir@
+ exec_prefix = @exec_prefix@
+ host = @host@
+--- doc/vorbisenc/Makefile.in.orig	2010-11-01 15:29:11.000000000 -0500
++++ doc/vorbisenc/Makefile.in	2011-10-21 06:02:12.000000000 -0500
+@@ -158,7 +158,7 @@
+ builddir = @builddir@
+ datadir = @datadir@
+ datarootdir = @datarootdir@
+-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/vorbisenc
++docdir = $(datadir)/doc/$(PACKAGE)/vorbisenc
+ dvidir = @dvidir@
+ exec_prefix = @exec_prefix@
+ host = @host@
+--- doc/vorbisfile/Makefile.in.orig	2010-11-01 15:29:11.000000000 -0500
++++ doc/vorbisfile/Makefile.in	2011-10-21 06:02:23.000000000 -0500
+@@ -158,7 +158,7 @@
+ builddir = @builddir@
+ datadir = @datadir@
+ datarootdir = @datarootdir@
+-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/vorbisfile
++docdir = $(datadir)/doc/$(PACKAGE)/vorbisfile
+ dvidir = @dvidir@
+ exec_prefix = @exec_prefix@
+ host = @host@
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111021/7f19abb6/attachment.html>


More information about the macports-changes mailing list