[Lunar-commits] <moonbase> vorbis-tools: fix docdir

Paul Bredbury brebs at lunar-linux.org
Sat Aug 29 13:42:14 CEST 2009


commit 6561885656435f50e7dca2fad0d6427b033843de
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Sat Aug 29 18:42:14 2009 +0700

    vorbis-tools: fix docdir
    
    No need to bump UPDATED.
---
 audio/vorbis-tools/BUILD   |   15 ++++++++++++---
 audio/vorbis-tools/DEPENDS |    8 ++++----
 audio/vorbis-tools/DETAILS |    1 +
 3 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/audio/vorbis-tools/BUILD b/audio/vorbis-tools/BUILD
index 52b291f..c3cac25 100644
--- a/audio/vorbis-tools/BUILD
+++ b/audio/vorbis-tools/BUILD
@@ -1,6 +1,15 @@
 (
-# This fixes the BUILD with curl-7.16.1. See https://trac.xiph.org/ticket/1136
-# This IMV is the easy way out instead of fiddling with uploading a patch, blah.
-  sedit "s:curl_easy_setopt(handle, CURLOPT_MUTE, 1);::" ogg123/http_transport.c &&
+
+  # This fixes the BUILD with curl-7.16.1. See https://trac.xiph.org/ticket/1136
+  # This IMV is the easy way out instead of fiddling with uploading a patch, blah.
+  sedit "s:curl_easy_setopt(handle, CURLOPT_MUTE, 1);::" ogg123/http_transport.c  &&
+
+  # Fix docdir
+  sedit "s:/doc/\${PACKAGE}:/doc/\${PACKAGE_NAME}:" configure  &&
+  sedit "s:/doc/\$(PACKAGE)-\$(VERSION):/doc/\$(PACKAGE):" ogg123/Makefile.in  &&
+  # Wouldn't it be nice if --with-docdir is respected?
+  OPTS+=" --with-docdir=/usr/share/doc/$MODULE"  &&
+
   default_build
+
 ) > $C_FIFO 2>&1
diff --git a/audio/vorbis-tools/DEPENDS b/audio/vorbis-tools/DEPENDS
index d8eca37..b03eeac 100644
--- a/audio/vorbis-tools/DEPENDS
+++ b/audio/vorbis-tools/DEPENDS
@@ -1,6 +1,6 @@
-depends  libvorbis   &&
-depends  libao       &&
-depends  curl        &&
+depends  libvorbis
+depends  libao
+depends  curl
 
-optional_depends  "alsa-utils" "" "" "for ALSA sound drivers and utils"  &&
+optional_depends  "alsa-utils" "" "" "for ALSA sound drivers and utils"
 optional_depends  "speex"      "" "--without-speex" "for voice manipulation"
diff --git a/audio/vorbis-tools/DETAILS b/audio/vorbis-tools/DETAILS
index f63b256..d19136b 100644
--- a/audio/vorbis-tools/DETAILS
+++ b/audio/vorbis-tools/DETAILS
@@ -7,6 +7,7 @@
          ENTERED=20010922
          UPDATED=20080316
            SHORT="vorbis-tools contains tools to create and play Ogg Vorbis files."
+
 cat << EOF
 Ogg Vorbis is a high-quality lossy audio codec which is free of
 intellectual property restrictions (like those surrounding MP3). These


More information about the Lunar-commits mailing list