diff -urN /usr/ports/audio/soundtouch/Makefile audio/soundtouch/Makefile --- /usr/ports/audio/soundtouch/Makefile 2013-11-06 21:52:10.000000000 +0900 +++ audio/soundtouch/Makefile 2014-01-21 00:00:00.000000000 +0900 @@ -2,7 +2,7 @@ # $FreeBSD: head/audio/soundtouch/Makefile 327706 2013-09-20 14:36:35Z bapt $ PORTNAME= soundtouch -PORTVERSION= 1.7.1 +PORTVERSION= 1.8.0 CATEGORIES= audio MASTER_SITES= http://www.surina.net/soundtouch/ @@ -11,37 +11,37 @@ LICENSE= LGPL21 -OPTIONS_DEFINE= INTEGER_SAMPLES DOCS -INTEGER_SAMPLES_DESC= Use integer sample format - WRKSRC= ${WRKDIR}/${PORTNAME} USE_AUTOTOOLS= libtoolize aclocal autoheader automake autoconf -NO_STAGE= yes ACLOCAL_ARGS= -I config/m4 AUTOMAKE_ARGS= --add-missing --copy --foreign +CONFIGURE_ARGS= --disable-silent-rules USE_LDCONFIG= yes -.include +OPTIONS_DEFINE= INTEGER_SAMPLES DOCS +OPTIONS_DEFINE_amd64= SSE +OPTIONS_DEFINE_i386= SSE -.if ${PORT_OPTIONS:MINTEGER_SAMPLES} -CONFIGURE_ARGS+= --enable-integer-samples -.endif +INTEGER_SAMPLES_DESC= Use integer sample format +INTEGER_SAMPLES_CONFIGURE_ENABLE= integer-samples +SSE_CONFIGURE_ENABLE= x86-optimizations + +.include post-patch: @${REINPLACE_CMD} -e \ - 's|^pkgdoc_DATA|#pkgdoc_DATA| ; \ + '/^pkgdoc_DATA/s|COPYING.TXT|| ; \ s|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' \ ${WRKSRC}/Makefile.am - @${FIND} ${WRKSRC}/source -name "Makefile.am" | ${XARGS} \ - ${REINPLACE_CMD} -e \ - 's|-O[0-9]|| ; \ - s|-msse||' - -post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.html ${DOCSDIR} -.endif + @${REINPLACE_CMD} -e \ + 's|^INCLUDES|AM_CPPFLAGS| ; \ + s|$$(prefix)/doc|$$(datadir)/doc|' \ + ${WRKSRC}/config/am_include.mk +.for i in SoundStretch SoundTouch + @${REINPLACE_CMD} -e \ + 's|-O[0-9]||' \ + ${WRKSRC}/source/${i}/Makefile.am +.endfor .include diff -urN /usr/ports/audio/soundtouch/distinfo audio/soundtouch/distinfo --- /usr/ports/audio/soundtouch/distinfo 2013-11-06 21:52:10.000000000 +0900 +++ audio/soundtouch/distinfo 2014-01-21 00:00:00.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (soundtouch-1.7.1.tar.gz) = 385eafa438a9d31ddf84b8d2f713097a3f1fc93d7abdb2fc54c484b777ee0267 -SIZE (soundtouch-1.7.1.tar.gz) = 101274 +SHA256 (soundtouch-1.8.0.tar.gz) = 3d4161d74ca25c5a98c69dbb8ea10fd2be409ba1a3a0bf81db407c4c261f166b +SIZE (soundtouch-1.8.0.tar.gz) = 106229