freebsd-ports/audio/csoundqt/Makefile
Felix Palmen ddae4e92d8 Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.

Document in CHANGES.

PR:			266034
Exp-run by:		antoine
Approved by:		tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D36349
2022-09-11 12:20:14 +02:00

38 lines
1.1 KiB
Makefile

PORTNAME= CsoundQt
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.8.1
PORTREVISION= 1
CATEGORIES= audio
MAINTAINER= yuri@FreeBSD.org
COMMENT= Csound frontend with editor, integrated help, widgets, other features
WWW= https://csoundqt.github.io/
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/lgpl-2.1.txt
LIB_DEPENDS= libcsound64.so:audio/csound
USES= compiler:c++11-lib desktop-file-utils gl gmake qmake qt:5 shared-mime-info
USE_GITHUB= yes
USE_QT= concurrent core declarative gui network printsupport webchannel webkit widgets xml buildtools:build
USE_GL= gl
QMAKE_ARGS= CONFIG+="CSOUND_API_INCLUDE_DIR=${LOCALBASE}/include/csound CSOUND_LIBRARY_DIR=${LOCALBASE}/lib build64" \
INSTALL_DIR=${PREFIX} SHARE_DIR=${PREFIX}/share \
qcs.pro
OPTIONS_DEFINE= EXAMPLES
DATADIR= ${PREFIX}/share/${PORTNAME:tl}
PORTEXAMPLES= *
post-patch:
@${REINPLACE_CMD} 's|Q_OS_LINUX|Q_OS_FREEBSD| ; s|/usr/|${LOCALBASE}/|' ${WRKSRC}/src/types.h
post-install:
@${MV} ${STAGEDIR}${DATADIR}/Examples ${STAGEDIR}${EXAMPLESDIR}
@${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/bin/${PORTNAME}-d-cs6
.include <bsd.port.mk>