diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-05-16 14:10:44 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-05-16 14:10:44 +0000 |
commit | c3ced2e51656015b28a7da4bb057d82adc70055d (patch) | |
tree | 0d8e9195e3b758f5fd2f0615a0b77573a9de3a43 /audio | |
parent | b1ed1a228162c39f8bc398c619fae5ead8127bb2 (diff) | |
download | ports-c3ced2e51656015b28a7da4bb057d82adc70055d.tar.gz ports-c3ced2e51656015b28a7da4bb057d82adc70055d.zip |
- Update to 1.63.1
PR: 123499
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=213138
Diffstat (limited to 'audio')
-rw-r--r-- | audio/streamripper/Makefile | 36 | ||||
-rw-r--r-- | audio/streamripper/distinfo | 9 |
2 files changed, 34 insertions, 11 deletions
diff --git a/audio/streamripper/Makefile b/audio/streamripper/Makefile index 9efa27924891..064e64478a27 100644 --- a/audio/streamripper/Makefile +++ b/audio/streamripper/Makefile @@ -6,9 +6,13 @@ # PORTNAME= streamripper -PORTVERSION= 1.62.3 +PORTVERSION= 1.63.1 CATEGORIES= audio -MASTER_SITES= SF +MASTER_SITES= SF \ + http://gd.tuwien.ac.at/hci/cdk/:cdk +DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:DEFAULT \ + cdk-${CDK_VERSION}.tgz:cdk +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Splits SHOUTcast stream into tracks @@ -19,20 +23,24 @@ LIB_DEPENDS= mad.2:${PORTSDIR}/audio/libmad \ OPTIONS= FAAD "Include FAAD mpeg4 codec support" on \ VORBIS "Include Ogg Vorbis codec support" on -USE_GNOME= gnometarget +USE_GNOME= glib20 gnometarget USE_ICONV= yes - GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= --without-included-libmad \ --without-included-tre \ - --with-included-argv -CFLAGS+= -DANSI_PROTOTYPES + --with-included-argv \ + --with-included-cdk MAN1= streamripper.1 PLIST_FILES= bin/streamripper +CFLAGS+= -DANSI_PROTOTYPES +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -Lcdk-${CDK_VERSION} -L${LOCALBASE}/lib + +CDK_VERSION= 5.0-20060507 + .include <bsd.port.pre.mk> .if defined(WITHOUT_FAAD) @@ -47,10 +55,22 @@ CONFIGURE_ARGS+= --without-ogg LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis .endif +post-extract: + @cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \ + ${DISTDIR}/cdk-${CDK_VERSION}.tgz ${EXTRACT_AFTER_ARGS} + post-patch: @${REINPLACE_CMD} -e '/if test/s|==|=|g ; \ s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure +pre-configure: + @cd ${WRKSRC}/cdk-${CDK_VERSION} && ${SETENV} CC="${CC}" \ + CFLAGS="${CFLAGS}" ${SH} ./configure + +pre-build: + @cd ${WRKSRC}/cdk-${CDK_VERSION} && ${SETENV} ${MAKE_ENV} \ + ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET} + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/streamripper ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/streamripper.1 ${MANPREFIX}/man/man1 diff --git a/audio/streamripper/distinfo b/audio/streamripper/distinfo index 0bfb25faae43..a587b5c1056e 100644 --- a/audio/streamripper/distinfo +++ b/audio/streamripper/distinfo @@ -1,3 +1,6 @@ -MD5 (streamripper-1.62.3.tar.gz) = 127eb52355d0d10183ee22c44b5a9039 -SHA256 (streamripper-1.62.3.tar.gz) = 1ee968dfb8dc45288a28f8e7a60cecb7cbe133ad296a94662b83f44fabd91e71 -SIZE (streamripper-1.62.3.tar.gz) = 1254351 +MD5 (streamripper-1.63.1.tar.gz) = e214f038f308bdad87d2bf80c55e8e62 +SHA256 (streamripper-1.63.1.tar.gz) = db9636735f9df07e893ad435b5ffb293978621dc72c7ef9bb42ec998ba3ab9f3 +SIZE (streamripper-1.63.1.tar.gz) = 1299723 +MD5 (cdk-5.0-20060507.tgz) = 0ec2460a4484d5f5595d8faca61bc9c5 +SHA256 (cdk-5.0-20060507.tgz) = e823bfcce52916727cb23d6d549a64347c45c364b3c628d6a352c407fce8f4b4 +SIZE (cdk-5.0-20060507.tgz) = 396514 |