freebsd-ports/audio/calf/Makefile
Gerald Pfeifer 04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
2017-04-01 15:23:30 +00:00

50 lines
1.2 KiB
Makefile

# Created by: <trasz@FreeBSD.org>
# $FreeBSD$
PORTNAME= calf
PORTVERSION= 0.0.60
PORTREVISION= 5
CATEGORIES= audio
MASTER_SITES= http://calf-studio-gear.org/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= Audio plug-in pack for LV2 and JACK environments
LICENSE= GPLv2 LGPL21
LICENSE_COMB= multi
LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth \
libjack.so:audio/jack \
libexpat.so:textproc/expat2
USES= autoreconf compiler:c++11-lang gmake libtool pkgconfig
USE_GNOME= gtk20
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
INSTALLS_ICONS= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= DOCS LASH LV2
OPTIONS_DEFAULT= LASH LV2
OPTIONS_SUB= yes
LASH_LIB_DEPENDS= liblash.so:audio/lash
LASH_CONFIGURE_WITH= lash
LV2_DESC= LV2 audio plugin
LV2_BUILD_DEPENDS= lv2>=1.14.0_1:audio/lv2
LV2_RUN_DEPENDS= lv2>=1.14.0_1:audio/lv2
LV2_CONFIGURE_WITH= lv2
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == gcc
CXXFLAGS+= -finline-limit=80 -finline-functions -finline-functions-called-once
.endif
post-patch:
@${REINPLACE_CMD} '/<malloc.h>/d' \
${WRKSRC}/src/ctl_knob.cpp ${WRKSRC}/src/ctl_tube.cpp
.include <bsd.port.post.mk>