mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
b1a1d38bf9
From now on, ports that depend on Qt4 will have to set USES= qt:4 USE_QT= foo bar ports depending on Qt5 will use USES= qt:5 USE_QT= foo bar PR: 229225 Exp-run by: antoine Reviewed by: mat Approved by: portmgr (antoine) Differential Revision: →https://reviews.freebsd.org/D15540
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= drumstick
|
|
DISTVERSION= 1.1.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= audio multimedia
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= MIDI libraries for Qt5/C++
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth
|
|
RUN_DEPENDS= ${LOCALBASE}/share/sounds/sf2/FluidR3_GM.sf2:audio/fluid-soundfont
|
|
|
|
USES= cmake:outsource pkgconfig qt:5 shared-mime-info tar:bz2
|
|
USE_QT= core gui network svg testlib widgets buildtools_build qmake_build
|
|
USE_LDCONFIG= yes
|
|
|
|
OPTIONS_DEFINE= PULSEAUDIO MANPAGES
|
|
OPTIONS_DEFAULT= PULSEAUDIO MANPAGES
|
|
OPTIONS_SUB= yes
|
|
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
|
|
PULSEAUDIO_CMAKE_BOOL= USE_PULSEAUDIO
|
|
MANPAGES_BUILD_DEPENDS= xsltproc:textproc/libxslt \
|
|
docbook-xsl>0:textproc/docbook-xsl
|
|
MANPAGES_CMAKE_BOOL= BUILD_DOCS
|
|
|
|
PLIST_SUB= SHL3=${PORTVERSION} SHL1=${PORTVERSION:R:R}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|"default.sf2"|"${LOCALBASE}/share/sounds/sf2/FluidR3_GM.sf2"|' \
|
|
${WRKSRC}/utils/vpiano/fluidsettingsdialog.cpp \
|
|
${WRKSRC}/library/rt-backends/synth/synthengine.cpp
|
|
@${REINPLACE_CMD} -e 's|"$${CMAKE_INSTALL_DATAROOTDIR}/man/man1"|"${PREFIX}/man/man1"|' \
|
|
${WRKSRC}/cmake_admin/CreateManpages.cmake
|
|
|
|
.include <bsd.port.mk>
|