diff options
author | Koichiro Iwao <meta@FreeBSD.org> | 2019-10-23 00:16:38 +0000 |
---|---|---|
committer | Koichiro Iwao <meta@FreeBSD.org> | 2019-10-23 00:16:38 +0000 |
commit | 4dc3ca8d8b9bea415a67d301aafc77b0080f7a61 (patch) | |
tree | c69b90ec3d360de62a2f8b28d74ef366e0620c47 /audio/streamripper/Makefile | |
parent | f5a96f62d0c3c3e15f1e7510b8583509a6277f08 (diff) |
audio/streamripper: Unbreak, use devel/cdk instead of its own
PR: 240975
Submitted by: Bryan Erickson <freebsdports@xorcara.com>
Notes
Notes:
svn path=/head/; revision=515234
Diffstat (limited to 'audio/streamripper/Makefile')
-rw-r--r-- | audio/streamripper/Makefile | 38 |
1 files changed, 6 insertions, 32 deletions
diff --git a/audio/streamripper/Makefile b/audio/streamripper/Makefile index 14b3d5f76b2d..7ee8fefeea76 100644 --- a/audio/streamripper/Makefile +++ b/audio/streamripper/Makefile @@ -3,24 +3,19 @@ PORTNAME= streamripper PORTVERSION= 1.64.6 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= audio -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28current%29/${PORTVERSION} \ - http://gd.tuwien.ac.at/hci/cdk/:cdk -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ - cdk-${CDK_VERSION}.tgz:cdk +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28current%29/${PORTVERSION} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= freebsdports@xorcara.com COMMENT= Splits SHOUTcast stream into tracks LICENSE= GPLv2 -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-11-16 - LIB_DEPENDS= libmad.so:audio/libmad \ - libtre.so:textproc/libtre + libtre.so:textproc/libtre \ + libcdk.so:devel/cdk OPTIONS_DEFINE= FAAD VORBIS OPTIONS_DEFAULT=FAAD VORBIS @@ -38,9 +33,7 @@ PLIST_FILES= bin/streamripper \ CFLAGS+= -DANSI_PROTOTYPES CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -Lcdk-${CDK_VERSION} -L${LOCALBASE}/lib - -CDK_VERSION= 5.0-20060507 +LDFLAGS+= -L${LOCALBASE}/lib FAAD_CONFIGURE_OFF= ac_cv_lib_faad_NeAACDecDecode2=no FAAD_LIB_DEPENDS= libfaad.so:audio/faad @@ -48,25 +41,6 @@ FAAD_LIB_DEPENDS= libfaad.so:audio/faad VORBIS_CONFIGURE_WITH= ogg VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis -post-extract: - ${MV} ${WRKDIR}/cdk-${CDK_VERSION} ${WRKSRC} - -post-patch: - @${REINPLACE_CMD} -e '/if test/s|==|=|g' ${WRKSRC}/configure -# avoid potential name conflict with ncurses - @${LN} -sv ${WRKSRC}/cdk-5.0-20060507/include/menu.h \ - ${WRKSRC}/cdk-5.0-20060507/include/cdkmenu.h - @${REINPLACE_CMD} -e "s|<menu.h>|<cdkmenu.h>|g" \ - ${WRKSRC}/cdk-5.0-20060507/include/cdk.h - -pre-configure: - (cd ${WRKSRC}/cdk-${CDK_VERSION} && ${SETENV} CC="${CC}" \ - CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${SH} ./configure) - -pre-build: - (cd ${WRKSRC}/cdk-${CDK_VERSION} && ${SETENV} ${MAKE_ENV} \ - ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET}) - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/streamripper ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/streamripper.1 \ |