4bdd97e324
- Add USES=libtool and bump dependent ports - Add INSTALL_TARGET=install-strip - Remove PTHREAD_CFLAGS and PTHREAD_LIBS - Use MAKE_CMD
31 lines
809 B
Makefile
31 lines
809 B
Makefile
# Created by: trasz <trasz@pin.if.uz.zgora.pl>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libconvolve
|
|
PORTVERSION= 0.0.8
|
|
PORTREVISION= 5
|
|
CATEGORIES= audio
|
|
MASTER_SITES= SF/heaven/Audio%20Applications/Jack%20Related/jack_convolve/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Simple C library for partitioned convolution
|
|
|
|
LICENSE= GPLv2 GPLv3
|
|
LICENSE_COMB= dual
|
|
|
|
LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3 \
|
|
libfftw3f.so:${PORTSDIR}/math/fftw3-float \
|
|
libsamplerate.so:${PORTSDIR}/audio/libsamplerate \
|
|
libsndfile.so:${PORTSDIR}/audio/libsndfile
|
|
|
|
USES= gmake pkgconfig tar:tgz
|
|
USE_LDCONFIG= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/cp / s|PREFIX|DESTDIR)$$(&|g' \
|
|
-e '/ln / s|PREFIX|DESTDIR)$$(&|2' \
|
|
${WRKSRC}/Makefile
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so.0.0.8
|
|
|
|
.include <bsd.port.mk>
|