2013-08-31 01:01:05 +02:00
|
|
|
# Created by: trasz <trasz@FreeBSD.org
|
2009-08-24 17:35:37 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= qsampler
|
|
|
|
PORTVERSION= 0.2.2
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 3
|
2009-08-24 17:35:37 +02:00
|
|
|
CATEGORIES= audio
|
2011-10-18 15:04:14 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION} \
|
|
|
|
http://download.linuxsampler.org/packages/
|
2009-08-24 17:35:37 +02:00
|
|
|
|
2010-10-25 22:09:06 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2009-08-24 17:35:37 +02:00
|
|
|
COMMENT= Qt-based front end to LinuxSampler
|
|
|
|
|
2011-10-18 15:04:14 +02:00
|
|
|
LICENSE= GPLv2 # (or later)
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2013-11-21 16:55:58 +01:00
|
|
|
LIB_DEPENDS= libgig.so:${PORTSDIR}/audio/libgig \
|
|
|
|
liblscp.so:${PORTSDIR}/audio/liblscp
|
2009-08-24 17:35:37 +02:00
|
|
|
RUN_DEPENDS= linuxsampler:${PORTSDIR}/audio/linuxsampler
|
|
|
|
|
2012-06-06 08:44:37 +02:00
|
|
|
USE_QT4= corelib gui \
|
2011-10-18 15:04:14 +02:00
|
|
|
linguist_build moc_build qmake_build rcc_build uic_build
|
2013-08-31 01:01:05 +02:00
|
|
|
USES= gmake
|
2011-10-18 15:04:14 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= ac_cv_path_ac_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}
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|make -f|$$(MAKE) -f|' ${WRKSRC}/Makefile.in
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -o ${PORTNAME}.mak \
|
2013-11-21 16:55:58 +01:00
|
|
|
${QMAKE_ARGS}
|
2011-10-18 15:04:14 +02:00
|
|
|
|
|
|
|
post-install:
|
2013-12-28 22:52:09 +01:00
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qsampler
|
2009-08-24 17:35:37 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|