diff options
author | pav <pav@FreeBSD.org> | 2004-05-05 21:20:50 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-05-05 21:20:50 +0800 |
commit | fc30ba2b6a0fa62dc059d93e707e9d39d53601cb (patch) | |
tree | df8bd4e344ae1ecccf8aa70a8aefa11837deb31d /audio | |
parent | 7c88f164a8e1d323c11eb0fc9e160596c0ebe1aa (diff) | |
download | freebsd-ports-gnome-fc30ba2b6a0fa62dc059d93e707e9d39d53601cb.tar.gz freebsd-ports-gnome-fc30ba2b6a0fa62dc059d93e707e9d39d53601cb.tar.zst freebsd-ports-gnome-fc30ba2b6a0fa62dc059d93e707e9d39d53601cb.zip |
- Add mp3encode to options
- Remove windows-only encoders
PR: ports/66276
Submitted by: michael johnson <ahze@ahze.net> (maintainer)
Diffstat (limited to 'audio')
-rw-r--r-- | audio/grip/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/audio/grip/Makefile b/audio/grip/Makefile index 78221198a32a..4bec6218df51 100644 --- a/audio/grip/Makefile +++ b/audio/grip/Makefile @@ -31,6 +31,7 @@ OPTIONS= CDPARANOIA "Ripper: Enable cdparanoia support" on \ BLADEENC "Encoder: bladeenc: Install audio/bladeenc" off \ FLAC "Encoder: flac: Install audio/flac" off \ GOGO "Encoder: gogo: Install audio/gogo" off \ + MP3ENCODE "Encoder: mp3encode: Install audio/mp3encode" off \ VORBIS "Encoder: oggenc: Install audio/vorbis-tools" off .include <bsd.port.pre.mk> @@ -68,6 +69,10 @@ RUN_DEPENDS+= flac:${PORTSDIR}/audio/flac RUN_DEPENDS+= gogo:${PORTSDIR}/audio/gogo .endif +.if defined(WITH_MP3ENCODE) +RUN_DEPENDS+= encode:${PORTSDIR}/audio/mp3encode +.endif + .if !defined(WITHOUT_LAME) RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame .endif @@ -90,5 +95,9 @@ pre-everything:: 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|mp3encode|encode|' \ + ${WRKSRC}/src/gripcfg.c .include <bsd.port.post.mk> |