2012-09-24 00:20:55 +02:00
|
|
|
# Created by: lazyklimm <lazyklimm@gmail.com>
|
2007-12-19 14:20:22 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= qsynth
|
2013-04-26 08:36:46 +02:00
|
|
|
PORTVERSION= 0.3.7
|
2007-12-19 14:20:22 +01:00
|
|
|
CATEGORIES= audio
|
2010-01-26 10:25:07 +01:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION}
|
2007-12-19 14:20:22 +01:00
|
|
|
|
2012-09-24 00:20:55 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2007-12-19 14:20:22 +01:00
|
|
|
COMMENT= Qt fluidsynth front-end application
|
|
|
|
|
2013-04-26 08:36:46 +02:00
|
|
|
LICENSE= GPLv2 # (or later)
|
|
|
|
|
2013-12-11 15:35:36 +01:00
|
|
|
LIB_DEPENDS= libfluidsynth.so:${PORTSDIR}/audio/fluidsynth
|
2007-12-19 14:20:22 +01:00
|
|
|
|
2013-04-26 08:36:46 +02:00
|
|
|
OPTIONS_DEFINE= GRADIENT SYSTEM_TRAY
|
|
|
|
OPTIONS_DEFAULT= GRADIENT SYSTEM_TRAY
|
2013-11-21 16:55:58 +01:00
|
|
|
|
2013-04-26 08:36:46 +02:00
|
|
|
GRADIENT_DESC= Gradient eye-candy
|
2013-11-21 16:55:58 +01:00
|
|
|
GRADIENT_CONFIGURE_OFF= --disable-gradient
|
|
|
|
|
2013-04-26 08:36:46 +02:00
|
|
|
SYSTEM_TRAY_DESC= System-tray icon
|
2013-11-21 16:55:58 +01:00
|
|
|
SYSTEM_TRAY_CONFIGURE_OFF= --disable-system-tray
|
2013-04-26 08:36:46 +02:00
|
|
|
|
|
|
|
USE_QT4= gui linguist_build moc_build qmake_build rcc_build uic_build
|
2012-12-01 00:51:30 +01:00
|
|
|
QT_NONSTANDARD= yes
|
2013-08-31 01:01:05 +02:00
|
|
|
USES= gmake
|
2012-12-01 00:51:30 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2013-04-26 08:36:46 +02:00
|
|
|
CONFIGURE_ENV= ac_cv_path_ac_moc=${MOC} \
|
2012-12-01 00:51:30 +01:00
|
|
|
ac_cv_path_ac_uic=${UIC} \
|
2010-01-26 10:25:07 +01:00
|
|
|
ac_cv_path_ac_qmake=${QMAKE} \
|
2013-11-21 16:55:58 +01:00
|
|
|
ac_cv_path_ac_lupdate=${LUPDATE} \
|
|
|
|
ac_cv_path_ac_lrelease=${LRELEASE}
|
2013-04-26 08:36:46 +02:00
|
|
|
CONFIGURE_ARGS= --localedir=${DATADIR} \
|
|
|
|
--with-qt=${QT_PREFIX} \
|
|
|
|
--with-fluidsynth=${LOCALBASE}
|
2012-12-01 00:51:30 +01:00
|
|
|
INSTALLS_ICONS= yes
|
2013-04-26 08:36:46 +02:00
|
|
|
|
2012-12-01 00:51:30 +01:00
|
|
|
post-configure:
|
|
|
|
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -o qsynth.mak \
|
2013-11-21 16:55:58 +01:00
|
|
|
${QMAKE_ARGS})
|
2012-12-01 00:51:30 +01:00
|
|
|
|
|
|
|
post-install:
|
2013-12-30 18:10:08 +01:00
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qsynth
|
2007-12-19 14:20:22 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|