2005-05-15 16:08:38 +02:00
|
|
|
# New ports collection makefile for: SoundTouch
|
|
|
|
# Date created: 16 May 2005
|
|
|
|
# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= soundtouch
|
2009-08-25 13:57:51 +02:00
|
|
|
DISTVERSION= 1.4.0
|
2005-05-15 16:08:38 +02:00
|
|
|
CATEGORIES= audio
|
2007-01-05 22:37:38 +01:00
|
|
|
MASTER_SITES= http://www.surina.net/soundtouch/
|
2005-05-15 16:08:38 +02:00
|
|
|
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
|
|
COMMENT= An open-source audio processing library
|
|
|
|
|
2009-08-25 13:57:51 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
GNU_CONFIGURE= yes
|
2007-02-28 16:38:03 +01:00
|
|
|
CONFIGURE_ARGS= --enable-shared=yes
|
|
|
|
USE_LDCONFIG= yes
|
2009-08-25 13:57:51 +02:00
|
|
|
PORTDOCS= README.html
|
2005-05-15 16:08:38 +02:00
|
|
|
|
2011-05-02 01:09:26 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2011-05-02 23:28:05 +02:00
|
|
|
.if ${ARCH} == "amd64" && ${OSVERSION} >= 900000
|
2011-05-02 01:09:26 +02:00
|
|
|
BROKEN= does not compile on FreeBSD 9.X
|
|
|
|
.endif
|
|
|
|
|
2009-08-25 13:57:51 +02:00
|
|
|
post-patch: .SILENT
|
2009-09-19 20:40:25 +02:00
|
|
|
# Adjust some paths for FreeBSD, respect CFLAGS, and get rid of GPL
|
2009-08-25 13:57:51 +02:00
|
|
|
${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -E \
|
|
|
|
's|\(libdir\)/pkgconfig|(prefix)/libdata/pkgconfig|g; \
|
|
|
|
s| -O3( -[mf][[:graph:]]*)*||; \
|
|
|
|
s|\(prefix\)/doc|(datadir)/doc|; s|COPYING\.TXT||'
|
|
|
|
# Fix SSE detection
|
|
|
|
${REINPLACE_CMD} -e 's|__x86_64__|&) \&\& defined(__SSE__|' \
|
2007-07-23 19:52:19 +02:00
|
|
|
${WRKSRC}/include/STTypes.h
|
2005-05-15 16:08:38 +02:00
|
|
|
.if defined(NOPORTDOCS)
|
2009-04-05 15:01:25 +02:00
|
|
|
${REINPLACE_CMD} -e 's|[[:blank:]]install-pkgdocDATA$$||' \
|
2005-05-15 16:08:38 +02:00
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
|
|
|
|
2011-05-02 01:09:26 +02:00
|
|
|
.include <bsd.port.post.mk>
|