blob: 33c7bb9782d013c99682424300f263961bc9ef8a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# New ports collection makefile for: SoundTouch
# Date created: 16 May 2005
# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= soundtouch
DISTVERSION= 1.4.0
CATEGORIES= audio
MASTER_SITES= http://www.surina.net/soundtouch/
MAINTAINER= danfe@FreeBSD.org
COMMENT= An open-source audio processing library
LICENSE= LGPL21
WRKSRC= ${WRKDIR}/${PORTNAME}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared=yes
USE_LDCONFIG= yes
PORTDOCS= README.html
post-patch: .SILENT
# Adjust some paths for FreeBSD, respect CFLAGS, and get rid of GPL
${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__|' \
${WRKSRC}/include/STTypes.h
.if defined(NOPORTDOCS)
${REINPLACE_CMD} -e 's|[[:blank:]]install-pkgdocDATA$$||' \
${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>
|