mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-13 12:01:19 +02:00
61 lines
1.6 KiB
Makefile
61 lines
1.6 KiB
Makefile
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
# $FreeBSD: head/audio/soundtouch/Makefile 403855 2015-12-16 09:39:40Z jbeich $
|
|
|
|
PORTNAME= soundtouch
|
|
PORTVERSION= 1.9.2
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://www.surina.net/soundtouch/
|
|
PKGNAMEPREFIX= lib
|
|
|
|
MAINTAINER= crees@FreeBSD.org
|
|
COMMENT= Open-source audio processing library
|
|
|
|
|
|
BUILD_DEPENDS= automake:devel/automake
|
|
BUILD_DEPENDS= autoreconf:devel/autoconf
|
|
BUILD_DEPENDS= libtool:devel/libtool
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --disable-silent-rules
|
|
USE_LDCONFIG= yes
|
|
|
|
#USES= autoreconf libtool pathfix
|
|
USES+= gmake
|
|
PATHFIX_MAKEFILEIN= Makefile.am
|
|
|
|
#####CONFIGURE_ARGS+= --enable-integer-samples
|
|
|
|
#OPTIONS_DEFINE= INTEGER_SAMPLES DOCS OPENMP
|
|
#OPTIONS_DEFAULT= ${MACHINE_CPU:tu:MSOFTFP:S/SOFTFP/INTEGER_SAMPLES/}
|
|
#OPTIONS_DEFINE_amd64= SSE
|
|
#OPTIONS_DEFINE_i386= SSE
|
|
#OPTIONS_DEFAULT_amd64= SSE
|
|
#OPTIONS_DEFAULT_i386= ${MACHINE_CPU:tu:MSSE}
|
|
|
|
#INTEGER_SAMPLES_DESC= Use integer sample format
|
|
#INTEGER_SAMPLES_CONFIGURE_ENABLE= integer-samples
|
|
#OPENMP_CONFIGURE_ENABLE=openmp
|
|
#OPENMP_USES= compiler:openmp
|
|
#SSE_CONFIGURE_ENABLE= x86-optimizations
|
|
#SSE_USES= compiler:c++11-lang
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e \
|
|
'/^dist_doc_DATA/s|COPYING.TXT||' \
|
|
${WRKSRC}/Makefile.am
|
|
${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]||;s|-fcheck-new||' \
|
|
${WRKSRC}/source/${i}/Makefile.am
|
|
.endfor
|
|
cd ${WRKSRC} && autoreconf -i
|
|
|
|
.include <bsd.port.mk>
|
|
#EOF
|