aboutsummaryrefslogtreecommitdiff
path: root/audio/streamripper
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2006-02-13 12:12:30 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2006-02-13 12:12:30 +0000
commit86008e4b2349277619bfe309e62f94c7a426d6e3 (patch)
tree241337dfd26d7185f144019f2105b9eb190bf630 /audio/streamripper
parenta89aa84612c997b51bfaadc83bb3de056184fcaa (diff)
downloadports-86008e4b2349277619bfe309e62f94c7a426d6e3.tar.gz
ports-86008e4b2349277619bfe309e62f94c7a426d6e3.zip
Notes
Diffstat (limited to 'audio/streamripper')
-rw-r--r--audio/streamripper/Makefile23
-rw-r--r--audio/streamripper/distinfo6
-rw-r--r--audio/streamripper/files/patch-lib_parse.c2
-rw-r--r--audio/streamripper/pkg-descr2
4 files changed, 22 insertions, 11 deletions
diff --git a/audio/streamripper/Makefile b/audio/streamripper/Makefile
index 91ad4c4a8d56..4f72bd796f00 100644
--- a/audio/streamripper/Makefile
+++ b/audio/streamripper/Makefile
@@ -6,16 +6,26 @@
#
PORTNAME= streamripper
-PORTVERSION= 1.61.16
+PORTVERSION= 1.61.17
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= streamripper
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= rainer.alves@gmail.com
COMMENT= Splits SHOUTcast stream into tracks
-LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv \
- mad.2:${PORTSDIR}/audio/libmad
+LIB_DEPENDS= mad.2:${PORTSDIR}/audio/libmad
+
+USE_ICONV= yes
+
+OPTIONS= VORBIS "Include Ogg Vorbis codec support" on
+
+.include <bsd.port.pre.mk>
+
+.ifdef(WITH_VORBIS)
+LIB_DEPENDS+= ogg.5:${PORTSDIR}/audio/libogg \
+ vorbis.3:${PORTSDIR}/audio/libvorbis
+.endif
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -24,4 +34,7 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
PLIST_FILES= bin/streamripper
MAN1= streamripper.1
-.include <bsd.port.mk>
+pre-install:
+ @${CHMOD} +x ${WRKSRC}/install-sh
+
+.include <bsd.port.post.mk>
diff --git a/audio/streamripper/distinfo b/audio/streamripper/distinfo
index ade81697515e..b5d963ea5a55 100644
--- a/audio/streamripper/distinfo
+++ b/audio/streamripper/distinfo
@@ -1,3 +1,3 @@
-MD5 (streamripper-1.61.16.tar.gz) = a7a2a2cc615a315b8844101c7fa31338
-SHA256 (streamripper-1.61.16.tar.gz) = 515490ca632c412f02f72b0bf6255f72859bb152f26bfc25245b73106ad99deb
-SIZE (streamripper-1.61.16.tar.gz) = 1191933
+MD5 (streamripper-1.61.17.tar.gz) = d98c28ffe7e3a387ea508f95efeedc2d
+SHA256 (streamripper-1.61.17.tar.gz) = 35122194d5046f741460968db90f4bf62e5c7c6817d4b6d60f8d942448d7ab5d
+SIZE (streamripper-1.61.17.tar.gz) = 1186562
diff --git a/audio/streamripper/files/patch-lib_parse.c b/audio/streamripper/files/patch-lib_parse.c
index 804e4d00879b..05bb1a8f0cc7 100644
--- a/audio/streamripper/files/patch-lib_parse.c
+++ b/audio/streamripper/files/patch-lib_parse.c
@@ -14,7 +14,7 @@
- 0,
- "^[[:space:]]*([^-]*[^-[:space:]])[[:space:]]*-[[:space:]]*(.*)[[:space:]]*$",
+ 0,
-+ "^ *([^-]*)? *- *(.*) *$",
++ "^ *([^-]*[^- ]) *- *(.*) *$",
""
},
{ 0x00,
diff --git a/audio/streamripper/pkg-descr b/audio/streamripper/pkg-descr
index 1749fdd93cc4..53a3e01e857a 100644
--- a/audio/streamripper/pkg-descr
+++ b/audio/streamripper/pkg-descr
@@ -5,5 +5,3 @@ separate files as they arrive, and names the files by appending
the user's leisure with an MPEG Layer 3 audio player.
WWW: http://streamripper.sourceforge.net
-
-Trevor Johnson