freebsd-ports/audio/soundtouch/Makefile
Mark Linimon 48420a5ebd Switch autoconf dependencies from 2.53 or 2.59 to 2.61.
PR:		ports/116639
Submitted by:	aDe
2007-09-30 04:47:36 +00:00

38 lines
1.1 KiB
Makefile

# New ports collection makefile for: SoundTouch
# Date created: 16 May 2005
# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
#
# $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 <bsd.port.mk>