freebsd-ports/audio/zam-plugins-lv2/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

47 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= zam-plugins
DISTVERSION= 3.11-1
PORTREVISION= 1
DISTVERSIONSUFFIX= -gce45995
CATEGORIES= audio
PKGNAMESUFFIX= -lv2
MAINTAINER= yuri@FreeBSD.org
COMMENT= Collection of LADSPA/LV2/VST/JACK audio plugins
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= lv2>0:audio/lv2 \
${LOCALBASE}/include/fftw3.h:math/fftw3
LIB_DEPENDS= libfftw3f.so:math/fftw3-float \
libjack.so:audio/jack \
libsamplerate.so:audio/libsamplerate \
libzita-convolver.so:audio/zita-convolver
USES= compiler:c++11-lib gl gmake localbase:ldflags pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= zamaudio
GH_TUPLE= DISTRHO:DPF:68b3a57:d/dpf
USE_GL= gl
USE_XORG= x11
CFLAGS+= -I${FILESDIR}
MAKE_ARGS+= USE_SYSTEM_LIBS=1 HAVE_ZITA_CONVOLVER=true
.include <bsd.port.pre.mk>
post-extract:
@${RM} -r ${WRKSRC}/lib/zita-convolver-*
post-patch:
@${REINPLACE_CMD} -e 's|#!/bin/bash|#!/bin/sh|' ${WRKSRC}/dpf/utils/generate-ttl.sh
${REINPLACE_CMD} -e 's/-mtune=generic//' \
${WRKSRC}/dpf/Makefile.base.mk
.if ! ${ARCH} == amd64 && ! ${ARCH} == i386
${REINPLACE_CMD} -e 's/-msse -msse2//' \
${WRKSRC}/dpf/Makefile.base.mk
.endif
.include <bsd.port.post.mk>