freebsd-ports/audio/cadence/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

48 lines
1.4 KiB
Makefile

# $FreeBSD$
PORTNAME= cadence
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.0-7
DISTVERSIONSUFFIX= -g4a5f5b4
PORTREVISION= 4
CATEGORIES= audio
MAINTAINER= yuri@FreeBSD.org
COMMENT= Collection of tools useful for audio production
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= jackit>0:audio/jack
USES= compiler:c++11-lang gmake localbase pkgconfig \
python:3.4+ pyqt:5 qt:5 shebangfix tar:bz2
SHEBANG_FILES= src/*.py
USE_GITHUB= yes
GH_ACCOUNT= falkTX
GH_PROJECT= Cadence
USE_QT= core gui widgets buildtools_build
USE_PYQT= core_run gui_run network_run widgets_run sip xml dbussupport
CXXFLAGS+= -DJACKBRIDGE_PROPER_CPP11_SUPPORT=yes
# Give the Makefile the proper versioned binaries of PyQt
BINARY_ALIAS= pyuic5=${LOCALBASE}/bin/pyuic5-${PYTHON_VER} \
pyrcc5=${LOCALBASE}/bin/pyrcc5-${PYTHON_VER}
.include <bsd.port.pre.mk>
post-patch:
@cd ${WRKSRC}/data && ${REINPLACE_CMD} ' \
s|#!/bin/bash|#!/bin/sh| ; \
s|exec $$PYTHON |exec ${PYTHON_CMD} | ; \
s|ps -f -u |ps -U |' \
cadence cadence-aloop-daemon cadence-jacksettings cadence-logs \
cadence-pulse2jack cadence-pulse2loopback cadence-render \
cadence-session-start catarina catia claudia claudia-launcher
${REINPLACE_CMD} -e 's|-mtune=generic||' ${WRKSRC}/c++/Makefile.mk
.if ! ${ARCH} == amd64 && ! ${ARCH} == i386
${REINPLACE_CMD} -e 's|-msse -mfpmath=sse||' ${WRKSRC}/c++/Makefile.mk
.endif
.include <bsd.port.post.mk>