1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Remove shlib ABI versions from LIB_DEPENDS

- Do not re-describe standard option knobs
- Drop leading indefinite article from COMMENT
- Cleanup Makefile and port description
This commit is contained in:
Alexey Dokuchaev 2013-02-26 10:43:36 +00:00
parent 1f23c0ab5d
commit 2f1bb027be
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=312970
2 changed files with 17 additions and 22 deletions

View File

@ -9,7 +9,7 @@ MASTER_SITES= http://moo.glines.org/mixxx/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A DJ mixing application
COMMENT= DJ mixing application
LICENSE= GPLv2 # (or later)
@ -23,8 +23,6 @@ LIB_DEPENDS= FLAC:${PORTSDIR}/audio/flac \
RUN_DEPENDS= portaudio>=19:${PORTSDIR}/audio/portaudio2
OPTIONS_DEFINE= LAME SHOUTCAST FAAD WAVPACK DOCS
SHOUTCAST_DESC= Shoutcast Broadcasting
WAVPACK_DESC= WavPack audio support plugin
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
@ -44,15 +42,15 @@ RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame
.endif
.if ${PORT_OPTIONS:MSHOUTCAST}
LIB_DEPENDS+= shout.5:${PORTSDIR}/audio/libshout2
LIB_DEPENDS+= shout:${PORTSDIR}/audio/libshout2
SCONS_ARGS+= shoutcast=1
.else
SCONS_ARGS+= shoutcast=0
.endif
.if ${PORT_OPTIONS:MFAAD}
LIB_DEPENDS+= faad.2:${PORTSDIR}/audio/faad \
mp4v2.10:${PORTSDIR}/multimedia/mp4v2
LIB_DEPENDS+= faad:${PORTSDIR}/audio/faad \
mp4v2:${PORTSDIR}/multimedia/mp4v2
SCONS_ARGS+= faad=1
PLIST_SUB+= FAAD=""
.else
@ -61,7 +59,7 @@ PLIST_SUB+= FAAD="@comment "
.endif
.if ${PORT_OPTIONS:MWAVPACK}
LIB_DEPENDS+= wavpack.2:${PORTSDIR}/audio/wavpack
LIB_DEPENDS+= wavpack:${PORTSDIR}/audio/wavpack
SCONS_ARGS+= wv=1
PLIST_SUB+= WAVPACK=""
.else
@ -70,23 +68,21 @@ PLIST_SUB+= WAVPACK="@comment "
.endif
post-patch:
.for FILE in build/depends.py src/soundsourceproxy.cpp src/recording/encodermp3.cpp
@${REINPLACE_CMD} -e \
"s|%%LOCALBASE%%|${LOCALBASE}|g ; \
s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${FILE}
.for f in build/depends.py src/soundsourceproxy.cpp src/recording/encodermp3.cpp
@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g ; \
s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${f}
.endfor
@${REINPLACE_CMD} -e \
"/_get_bzr_/s|^|#| ; \
/('install', docs)/d" ${WRKSRC}/src/SConscript
@${REINPLACE_CMD} -e \
"s|^Exec=.*|Exec=mixxx|" ${WRKSRC}/src/mixxx.desktop
@${REINPLACE_CMD} -e "/_get_bzr_/s|^|#| ; /('install', docs)/d" \
${WRKSRC}/src/SConscript
@${REINPLACE_CMD} -e "s|^Exec=.*|Exec=mixxx|" \
${WRKSRC}/src/mixxx.desktop
post-install:
@${STRIP_CMD} ${PREFIX}/bin/mixxx
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for FILE in Mixxx-Manual.pdf README
${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.for f in Mixxx-Manual.pdf README
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

View File

@ -1,6 +1,5 @@
Mixxx is software for DJ'ing. You can use wave based audio files, Ogg
Vorbis and MP3 files as audio input. Mixxx can be controlled through
the GUI and with external controllers including MIDI devices,
joysticks and more.
Mixxx is software for DJ'ing. You can use wave based audio files, Ogg Vorbis
and MP3 files as audio input. Mixxx can be controlled through the GUI and
with external controllers including MIDI devices, joysticks, and more.
WWW: http://www.mixxx.org/