aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-01-12 07:44:11 +0800
committeredwin <edwin@FreeBSD.org>2003-01-12 07:44:11 +0800
commit0a3c1b6304663615b60d9424c673e8bb5476a7d1 (patch)
tree7514a912ca84a5ad941dc70a685c334d7ac6e546
parent5e3d667e122f115fa2e4d3b0fdfd33251951bbcd (diff)
downloadfreebsd-ports-graphics-0a3c1b6304663615b60d9424c673e8bb5476a7d1.tar.gz
freebsd-ports-graphics-0a3c1b6304663615b60d9424c673e8bb5476a7d1.tar.zst
freebsd-ports-graphics-0a3c1b6304663615b60d9424c673e8bb5476a7d1.zip
Use cdparanoia as default ripper in audio/abcde
PR: ports/46979 Submitted by: Munish Chopra <mchopra@engmail.uwaterloo.ca>
-rw-r--r--audio/abcde/Makefile20
-rw-r--r--audio/abcde/files/patch-ab13
2 files changed, 18 insertions, 15 deletions
diff --git a/audio/abcde/Makefile b/audio/abcde/Makefile
index e127b57e5fb..2ea6ad4d0a3 100644
--- a/audio/abcde/Makefile
+++ b/audio/abcde/Makefile
@@ -7,7 +7,7 @@
PORTNAME= abcde
PORTVERSION= 2.0.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= http://frantica.lly.org/~rcw/abcde/
DISTNAME= abcde_2.0.3.orig
@@ -15,7 +15,7 @@ DISTNAME= abcde_2.0.3.orig
MAINTAINER= mchopra@engmail.uwaterloo.ca
RUN_DEPENDS= cd-discid:${PORTSDIR}/audio/cd-discid \
- dagrab:${PORTSDIR}/audio/dagrab \
+ cdparanoia:${PORTSDIR}/audio/cdparanoia \
id3v2:${PORTSDIR}/audio/id3v2 \
oggenc:${PORTSDIR}/audio/vorbis-tools
@@ -26,10 +26,22 @@ MAN1= abcde.1 cddb-tool.1
.if defined(WITH_CDDA2WAV)
RUN_DEPENDS+= cdda2wav:${PORTSDIR}/sysutils/cdrtools
.else
+CDDA2WAV_MSG= "Define WITH_CDDA2WAV to enable support for cdda2wav."
+.endif
+
+.if defined(WITH_DAGRAB)
+RUN_DEPENDS+= dagrab:${PORTSDIR}/audio/dagrab
+.else
+DAGRAB_MSG= "Define WITH_DAGRAB to enable support for dagrab."
+.endif
+
pre-fetch:
+.if defined(DAGRAB_MSG)
+ @${ECHO_MSG} ${DAGRAB_MSG}
@${ECHO_MSG} ""
- @${ECHO_MSG} "You may use the following build option:"
- @${ECHO_MSG} "WITH_CDDA2WAV=yes enable support for cdda2wav"
+.endif
+.if defined(CDDA2WAV_MSG)
+ @${ECHO_MSG} ${CDDA2WAV_MSG}
@${ECHO_MSG} ""
.endif
diff --git a/audio/abcde/files/patch-ab b/audio/abcde/files/patch-ab
index 9e32f889230..946604e5ac4 100644
--- a/audio/abcde/files/patch-ab
+++ b/audio/abcde/files/patch-ab
@@ -1,14 +1,5 @@
---- abcde.conf.orig Tue Oct 29 13:00:04 2002
-+++ abcde.conf Tue Oct 29 13:04:22 2002
-@@ -27,7 +27,7 @@
-
- # CD reader program to use - currently recognized options are 'cdparanoia'
- # and 'cdda2wav'.
--#CDROMREADERSYNTAX=cdparanoia
-+CDROMREADERSYNTAX=dagrab
-
- # Specify 'nice'ness of the encoder and of the CD reader.
- # This is a relative 'nice'ness (that is, if the parent process is at a
+--- abcde.conf.orig Sun Jan 20 21:35:31 2002
++++ abcde.conf Thu Jan 9 23:45:53 2003
@@ -51,7 +51,7 @@
#ID3V2=id3v2
#CDPARANOIA=cdparanoia