1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/audio/soundtouch/Makefile
2021-04-06 16:31:07 +02:00

49 lines
1.2 KiB
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
PORTNAME= soundtouch
DISTVERSION= 2.2
CATEGORIES= audio
MAINTAINER= crees@FreeBSD.org
COMMENT= Open-source audio processing library
LICENSE= LGPL21
USE_GITLAB= yes
GL_COMMIT= 762f56024b7ade81f6565903161dffec0ad4741e
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USES= autoreconf libtool pathfix
OPTIONS_DEFINE= INTEGER_SAMPLES DOCS OPENMP
OPTIONS_DEFAULT= ${MACHINE_CPU:Msoftfp:C/.+/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
@${REINPLACE_CMD} -e \
's|-O[0-9]||;s|-fcheck-new||' \
${WRKSRC}/source/SoundTouch/Makefile.am
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libSoundTouch.so.1.0.0
.include <bsd.port.mk>