2012-12-01 00:51:35 +01:00
|
|
|
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
2005-05-15 16:08:38 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= soundtouch
|
2014-02-07 14:05:57 +01:00
|
|
|
PORTVERSION= 1.8.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
|
|
|
|
2012-07-05 15:18:08 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2012-08-18 11:56:36 +02:00
|
|
|
COMMENT= Open-source audio processing library
|
2005-05-15 16:08:38 +02:00
|
|
|
|
2011-05-14 11:30:51 +02:00
|
|
|
LICENSE= LGPL21
|
|
|
|
|
2012-07-05 15:18:08 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
2012-12-01 00:51:35 +01:00
|
|
|
USE_AUTOTOOLS= libtoolize aclocal autoheader automake autoconf
|
|
|
|
ACLOCAL_ARGS= -I config/m4
|
|
|
|
AUTOMAKE_ARGS= --add-missing --copy --foreign
|
2014-02-07 14:05:57 +01:00
|
|
|
CONFIGURE_ARGS= --disable-silent-rules
|
2012-12-01 00:51:35 +01:00
|
|
|
USE_LDCONFIG= yes
|
2012-08-18 11:56:36 +02:00
|
|
|
|
2014-02-07 14:05:57 +01:00
|
|
|
OPTIONS_DEFINE= INTEGER_SAMPLES DOCS
|
|
|
|
OPTIONS_DEFINE_amd64= SSE
|
|
|
|
OPTIONS_DEFINE_i386= SSE
|
2012-08-18 11:56:36 +02:00
|
|
|
|
2014-02-07 14:05:57 +01:00
|
|
|
INTEGER_SAMPLES_DESC= Use integer sample format
|
|
|
|
INTEGER_SAMPLES_CONFIGURE_ENABLE= integer-samples
|
|
|
|
SSE_CONFIGURE_ENABLE= x86-optimizations
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
2012-08-13 08:03:06 +02:00
|
|
|
|
2012-07-05 15:18:08 +02:00
|
|
|
post-patch:
|
2012-12-01 00:51:35 +01:00
|
|
|
@${REINPLACE_CMD} -e \
|
2014-02-07 14:05:57 +01:00
|
|
|
'/^pkgdoc_DATA/s|COPYING.TXT|| ; \
|
2012-12-01 00:51:35 +01:00
|
|
|
s|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' \
|
|
|
|
${WRKSRC}/Makefile.am
|
2014-02-07 14:05:57 +01:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|^INCLUDES|AM_CPPFLAGS| ; \
|
|
|
|
s|$$(prefix)/doc|$$(datadir)/doc|' \
|
|
|
|
${WRKSRC}/config/am_include.mk
|
|
|
|
.for i in SoundStretch SoundTouch
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|-O[0-9]||' \
|
|
|
|
${WRKSRC}/source/${i}/Makefile.am
|
|
|
|
.endfor
|
2012-07-05 15:18:08 +02:00
|
|
|
|
2012-12-01 00:51:35 +01:00
|
|
|
.include <bsd.port.mk>
|