mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
audio/streamripper: Simplify port, reset maintainer, pet portlint
This port was using an unecessary roll-your-own extraction to control where it was extracted. Just let the standard mechanisms extract the second tarball and move in the post-extract target. Also: * minor alignment * pet portlint * reset maintainer (MIA for 16 months)
This commit is contained in:
parent
8c922aa7c9
commit
20ab0e623a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355883
@ -9,18 +9,17 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28current%29/${PORTVERSION} \
|
|||||||
http://gd.tuwien.ac.at/hci/cdk/:cdk
|
http://gd.tuwien.ac.at/hci/cdk/:cdk
|
||||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:DEFAULT \
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:DEFAULT \
|
||||||
cdk-${CDK_VERSION}.tgz:cdk
|
cdk-${CDK_VERSION}.tgz:cdk
|
||||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
||||||
|
|
||||||
MAINTAINER= sylvio@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Splits SHOUTcast stream into tracks
|
COMMENT= Splits SHOUTcast stream into tracks
|
||||||
|
|
||||||
|
LICENSE= GPLv2
|
||||||
|
|
||||||
LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/libmad \
|
LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/libmad \
|
||||||
libtre.so:${PORTSDIR}/textproc/libtre
|
libtre.so:${PORTSDIR}/textproc/libtre
|
||||||
|
|
||||||
OPTIONS_DEFINE= FAAD VORBIS
|
OPTIONS_DEFINE= FAAD VORBIS
|
||||||
OPTIONS_DEFAULT= FAAD VORBIS
|
OPTIONS_DEFAULT=FAAD VORBIS
|
||||||
|
|
||||||
LICENSE= GPLv2
|
|
||||||
|
|
||||||
USES= iconv pkgconfig
|
USES= iconv pkgconfig
|
||||||
USE_GNOME= glib20
|
USE_GNOME= glib20
|
||||||
@ -42,20 +41,19 @@ CDK_VERSION= 5.0-20060507
|
|||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ! ${PORT_OPTIONS:MFAAD}
|
.if ! ${PORT_OPTIONS:MFAAD}
|
||||||
CONFIGURE_ARGS+= ac_cv_lib_faad_NeAACDecDecode2=no
|
CONFIGURE_ARGS+=ac_cv_lib_faad_NeAACDecDecode2=no
|
||||||
.else
|
.else
|
||||||
LIB_DEPENDS+= libfaad.so:${PORTSDIR}/audio/faad
|
LIB_DEPENDS+= libfaad.so:${PORTSDIR}/audio/faad
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ! ${PORT_OPTIONS:MVORBIS}
|
.if ! ${PORT_OPTIONS:MVORBIS}
|
||||||
CONFIGURE_ARGS+= --without-ogg
|
CONFIGURE_ARGS+=--without-ogg
|
||||||
.else
|
.else
|
||||||
LIB_DEPENDS+= libvorbis.so:${PORTSDIR}/audio/libvorbis
|
LIB_DEPENDS+= libvorbis.so:${PORTSDIR}/audio/libvorbis
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-extract:
|
post-extract:
|
||||||
@cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
|
${MV} ${WRKDIR}/cdk-${CDK_VERSION} ${WRKSRC}
|
||||||
${DISTDIR}/cdk-${CDK_VERSION}.tgz ${EXTRACT_AFTER_ARGS}
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e '/if test/s|==|=|g ; \
|
@${REINPLACE_CMD} -e '/if test/s|==|=|g ; \
|
||||||
|
@ -4,4 +4,4 @@ separate files as they arrive, and names the files by appending
|
|||||||
".mp3" to the name of the track. The tracks can be listened to at
|
".mp3" to the name of the track. The tracks can be listened to at
|
||||||
the user's leisure with an MPEG Layer 3 audio player.
|
the user's leisure with an MPEG Layer 3 audio player.
|
||||||
|
|
||||||
WWW: http://streamripper.sourceforge.net
|
WWW: http://streamripper.sourceforge.net
|
||||||
|
Loading…
Reference in New Issue
Block a user