1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/audio/soundtouch/Makefile
Ade Lovett 771ea13f41 Conversion from (now defunct) autoconf-2.61 to autoconf-2.62
Tested by:	exp build run (erwin)
2008-08-20 00:57:32 +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:262 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>