mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
2edf2c94d7
PR: 208609 Submitted by: tkato432 yahoo com Sponsored by: Absolight
51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
# Created by: trasz <trasz@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= qsampler
|
|
PORTVERSION= 0.4.0
|
|
CATEGORIES= audio
|
|
MASTER_SITES= SF \
|
|
http://download.linuxsampler.org/packages/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Qt-based front end to LinuxSampler
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libgig.so:audio/libgig \
|
|
liblscp.so:audio/liblscp
|
|
RUN_DEPENDS= linuxsampler:audio/linuxsampler
|
|
|
|
USES= gmake pkgconfig shared-mime-info
|
|
QT_NONSTANDARD= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= ac_cv_path_ac_cv_qmake=${QMAKE} \
|
|
ac_cv_path_ac_moc=${MOC} \
|
|
ac_cv_path_ac_uic=${UIC} \
|
|
ac_cv_path_ac_rcc=${RCC} \
|
|
ac_cv_path_ac_lupdate=${LUPDATE} \
|
|
ac_cv_path_ac_lrelease=${LRELEASE}
|
|
|
|
OPTIONS_SINGLE= TOOLKIT
|
|
OPTIONS_SINGLE_TOOLKIT= QT4 QT5
|
|
OPTIONS_DEFAULT= QT4
|
|
|
|
QT4_USE= qt4=corelib,gui \
|
|
qt4=linguisttools_build \
|
|
qt4=moc_build,qmake_build,rcc_build,uic_build
|
|
QT4_CONFIGURE_ENABLE= qt4
|
|
QT5_USE= qt5=core,gui,widgets,x11extras \
|
|
qt5=buildtools_build,linguisttools_build,qmake_build
|
|
QT5_CONFIGURE_ENABLE= qt5
|
|
TOOLKIT_DESC= Qt toolkit
|
|
|
|
post-configure:
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -o ${PORTNAME}.mak \
|
|
${QMAKE_ARGS}
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qsampler
|
|
|
|
.include <bsd.port.mk>
|