summaryrefslogtreecommitdiff
path: root/audio/abcde
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-01-11 23:44:11 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-01-11 23:44:11 +0000
commit1d976809b0306f8e0c25e839ed86e79534c6cd07 (patch)
tree0d308b8ab5c2112bc948e26b9eafed3b87f0c3cd /audio/abcde
parentMake this work on ia64. (diff)
Use cdparanoia as default ripper in audio/abcde
PR: ports/46979 Submitted by: Munish Chopra <mchopra@engmail.uwaterloo.ca>
Notes
Notes: svn path=/head/; revision=72925
Diffstat (limited to 'audio/abcde')
-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 e127b57e5fb1..2ea6ad4d0a3e 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 9e32f8892306..946604e5ac48 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