# New ports collection makefile for: SoundTouch # Date created: 16 May 2005 # Whom: Alexey Dokuchaev # # $FreeBSD$ # PORTNAME= soundtouch DISTVERSION= 1.3.1 PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= http://www.surina.net/soundtouch/ MAINTAINER= danfe@FreeBSD.org COMMENT= An open-source audio processing library CONFIGURE_ARGS= --enable-shared=yes USE_AUTOTOOLS= autoconf:261 automake:19:env libtool:15 USE_LDCONFIG= yes pre-configure: cd ${WRKSRC} && ${TOUCH} NEWS README AUTHORS ChangeLog && ${AUTORECONF} -i ${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g; \ s|-O3[^I]*|${CXXFLAGS} -|; s|$$(prefix)/doc|$$(datadir)/doc|; \ s|COPYING.TXT||' # Fix for GCC 4.x ${REINPLACE_CMD} -e 's|SoundTouch::||' ${WRKSRC}/include/SoundTouch.h # Better SSE detection ${REINPLACE_CMD} -e '135s|__x86_64__|&) \&\& defined(__SSE__|' \ ${WRKSRC}/include/STTypes.h .if defined(NOPORTDOCS) ${REINPLACE_CMD} -e 's| install-pkgdocDATA$$||' \ ${WRKSRC}/Makefile.in .endif .include