aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-05-06 08:45:04 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-05-06 08:45:04 +0000
commit75168781d39eb3c38423297c5c8756e7ecc475fb (patch)
treece05d2ae735b23faa466bbd75592a081ff1c1fac /audio
parentf02510d99cebfbc06ad4e5d5e72d009b47b020ee (diff)
downloadports-75168781d39eb3c38423297c5c8756e7ecc475fb.tar.gz
ports-75168781d39eb3c38423297c5c8756e7ecc475fb.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/grip/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/audio/grip/Makefile b/audio/grip/Makefile
index 00b5f2fb2839..f113da617ee6 100644
--- a/audio/grip/Makefile
+++ b/audio/grip/Makefile
@@ -30,6 +30,7 @@ OPTIONS= CDPARANOIA "Ripper: Enable cdparanoia support" on \
CDDA2WAV "Ripper: cdda2wav: Install sysutils/cdrtools" off \
LAME "Encoder: lame: Install audio/lame" on \
BLADEENC "Encoder: bladeenc: Install audio/bladeenc" off \
+ FAAC "Encoder: faac: Install audio/faac" off \
FLAC "Encoder: flac: Install audio/flac" off \
GOGO "Encoder: gogo: Install audio/gogo" off \
MP3ENCODE "Encoder: mp3encode: Install audio/mp3encode" off \
@@ -62,6 +63,10 @@ RUN_DEPENDS+= cdda2wav:${PORTSDIR}/sysutils/cdrtools
RUN_DEPENDS+= bladeenc:${PORTSDIR}/audio/bladeenc
.endif
+.if defined(WITH_FAAC)
+RUN_DEPENDS+= faac:${PORTSDIR}/audio/faac
+.endif
+
.if defined(WITH_FLAC)
RUN_DEPENDS+= flac:${PORTSDIR}/audio/flac
.endif
@@ -97,7 +102,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|/dev/cdrom|${DEFAULT_CDROM_DEVICE}|' \
${WRKSRC}/src/grip.c
@${REINPLACE_CMD} -e 's|{"xingmp3enc","-B %b -Q %w","mp3"},||; \
- s|{"l3enc","-br %b %w %m","mp3"},||; \
+ s|{"l3enc","-br %b %w %m","mp3"},|"faac","-w -b %b %w -o %m", "m4a"},|; \
s|mp3encode|encode|' \
${WRKSRC}/src/gripcfg.c