aboutsummaryrefslogtreecommitdiff
path: root/audio/darkice
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-07-13 02:42:31 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-07-13 02:42:31 +0000
commitcda7c8f6993b87b91694d9f72237d18e578f487d (patch)
treed9c1f68934d5ebad9ffcf455177f1488acd38667 /audio/darkice
parent76b523ffdc31a8993d53e96a6f43598d2f2473a1 (diff)
downloadports-cda7c8f6993b87b91694d9f72237d18e578f487d.tar.gz
ports-cda7c8f6993b87b91694d9f72237d18e578f487d.zip
Notes
Diffstat (limited to 'audio/darkice')
-rw-r--r--audio/darkice/Makefile21
-rw-r--r--audio/darkice/distinfo6
2 files changed, 16 insertions, 11 deletions
diff --git a/audio/darkice/Makefile b/audio/darkice/Makefile
index d3c0c7bba8ec..62a1d3164dd2 100644
--- a/audio/darkice/Makefile
+++ b/audio/darkice/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= darkice
-PORTVERSION= 0.20
-PORTREVISION= 1
+PORTVERSION= 1.0
CATEGORIES= audio net
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
@@ -19,11 +18,10 @@ OPTIONS= VORBIS "Ogg Vorbis support" on \
LAME "LAME support for MP3" off \
TWOLAME "TwoLAME support for MP2" off \
FAAC "FAAC support for AAC" off \
- JACK "Jack support" off
+ JACK "Jack support" off \
+ SAMPLERATE "Libsamplerate support" off
-USE_AUTOTOOLS= aclocal:110 autoheader:262 automake:110 autoconf:262
-ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal
-AUTOMAKE_ARGS= --add-missing
+GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}" \
ac_cv_prog_acx_pthread_config=no
CONFIGURE_ARGS= --without-alsa --without-aacplus
@@ -69,8 +67,15 @@ CONFIGURE_ARGS+= --with-jack-prefix=${LOCALBASE}
CONFIGURE_ARGS+= --without-jack
.endif
+.if defined(WITH_SAMPLERATE)
+LIB_DEPENDS+= samplerate.1:${PORTSDIR}/audio/libsamplerate
+CONFIGURE_ARGS+= --with-samplerate-prefix=${LOCALBASE}
+.else
+CONFIGURE_ARGS+= --without-samplerate
+.endif
+
post-patch:
- @${REINPLACE_CMD} -e '/test/s|==|=|g' ${WRKSRC}/configure.in
- @${REINPLACE_CMD} -e 's|-O2 -pedantic||g' ${WRKSRC}/src/Makefile.am
+ @${REINPLACE_CMD} -e '/test/s|==|=|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-O2 -pedantic||g' ${WRKSRC}/src/Makefile.in
.include <bsd.port.post.mk>
diff --git a/audio/darkice/distinfo b/audio/darkice/distinfo
index ac1d78b7efec..b7d8a1feca49 100644
--- a/audio/darkice/distinfo
+++ b/audio/darkice/distinfo
@@ -1,3 +1,3 @@
-MD5 (darkice-0.20.tar.gz) = bcc41ac68a5bf64b12ed8c82f183f767
-SHA256 (darkice-0.20.tar.gz) = 791acb54ce0ddf413bc38d54df4800e5d0d4f843c1c0de9b291f74ce7d3528dd
-SIZE (darkice-0.20.tar.gz) = 311239
+MD5 (darkice-1.0.tar.gz) = 1804e63d42a9703d01fe378c9a77c473
+SHA256 (darkice-1.0.tar.gz) = 61a05c4dab206c22c3e3d5570ee4841f9c8875241098adf687717e7dcc6df332
+SIZE (darkice-1.0.tar.gz) = 311567