aboutsummaryrefslogtreecommitdiffstats
path: root/audio/abcde
diff options
context:
space:
mode:
Diffstat (limited to 'audio/abcde')
-rw-r--r--audio/abcde/Makefile1
-rw-r--r--audio/abcde/files/patch-abcde30
-rw-r--r--audio/abcde/files/patch-abcde.conf (renamed from audio/abcde/files/patch-aa)0
3 files changed, 31 insertions, 0 deletions
diff --git a/audio/abcde/Makefile b/audio/abcde/Makefile
index 949eaa40de7..23e512adffe 100644
--- a/audio/abcde/Makefile
+++ b/audio/abcde/Makefile
@@ -7,6 +7,7 @@
PORTNAME= abcde
PORTVERSION= 2.3.3
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.hispalinux.es/~data/files/ \
http://www.soulwax.net/freebsd/
diff --git a/audio/abcde/files/patch-abcde b/audio/abcde/files/patch-abcde
new file mode 100644
index 00000000000..d551e86794c
--- /dev/null
+++ b/audio/abcde/files/patch-abcde
@@ -0,0 +1,30 @@
+--- abcde.old Tue Nov 22 13:12:14 2005
++++ abcde Tue Nov 22 13:12:51 2005
+@@ -2453,17 +2453,18 @@
+
+ # Allow -o OUTPUT(1):OPTIONS(1),...,OUTPUT(N):OPTIONS(N) mode of operation
+ if echo "$OUTPUTTYPE" | grep ":" > /dev/null 2>&1 ; then
+- for OUTPUT in $(echo $OUTPUTTYPE | tr , \ ); do
+- case "$OUTPUT" in
+- vorbis:*|ogg:*) OGGENCODEROPTSCLI="$( echo $OUTPUT | cut -d: -f2- )" ;;
+- mp3:*) MP3ENCODEROPTSCLI="$( echo $OUTPUT | cut -d: -f2- )" ;;
+- flac:*) FLACENCODEROPTSCLI="$( echo $OUTPUT | cut -d: -f2- )" ;;
+- spx:*) SPEEXENCODEROPTSCLI="$( echo $OUTPUT | cut -d: -f2- )" ;;
+- mpc:*) MPPENCODEROPTSCLI="$( echo $OUTPUT | cut -d: -f2- )" ;;
++ for OUTPUT in $(echo $OUTPUTTYPE | tr \ \| | tr , \ ); do
++ TOUTPUT=$(echo $OUTPUT | tr \| \ )
++ case "$TOUTPUT" in
++ vorbis:*|ogg:*) OGGENCODEROPTSCLI="$( echo $TOUTPUT | cut -d: -f2- )" ;;
++ mp3:*) MP3ENCODEROPTSCLI="$( echo $TOUTPUT | cut -d: -f2- )" ;;
++ flac:*) FLACENCODEROPTSCLI="$( echo $TOUTPUT | cut -d: -f2- )" ;;
++ spx:*) SPEEXENCODEROPTSCLI="$( echo $TOUTPUT | cut -d: -f2- )" ;;
++ mpc:*) MPPENCODEROPTSCLI="$( echo $TOUTPUT | cut -d: -f2- )" ;;
+ esac
+ done
+- for OUTPUT in $(echo $OUTPUTTYPE | tr , \ ); do
+- TEMPOUTPUT=$( echo "$OUTPUT" | cut -d: -f1 )
++ for OUTPUT in $(echo $OUTPUTTYPE | tr \ \| | tr , \ ); do
++ TEMPOUTPUT=$( echo "$OUTPUT" | tr \| \ | cut -d: -f1 )
+ TEMPOUTPUTTYPE="${TEMPOUTPUTTYPE:+$TEMPOUTPUTTYPE,}$TEMPOUTPUT"
+ done
+ OUTPUTTYPE="$TEMPOUTPUTTYPE"
diff --git a/audio/abcde/files/patch-aa b/audio/abcde/files/patch-abcde.conf
index 99f4eadb8ec..99f4eadb8ec 100644
--- a/audio/abcde/files/patch-aa
+++ b/audio/abcde/files/patch-abcde.conf