mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# Created by: trasz <trasz@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= qsampler
|
|
PORTVERSION= 0.2.2
|
|
PORTREVISION= 3
|
|
CATEGORIES= audio
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION} \
|
|
http://download.linuxsampler.org/packages/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Qt-based front end to LinuxSampler
|
|
|
|
LICENSE= GPLv2 # (or later)
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libgig.so:${PORTSDIR}/audio/libgig \
|
|
liblscp.so:${PORTSDIR}/audio/liblscp
|
|
RUN_DEPENDS= linuxsampler:${PORTSDIR}/audio/linuxsampler
|
|
|
|
USE_QT4= corelib gui \
|
|
linguist_build moc_build qmake_build rcc_build uic_build
|
|
USES= gmake
|
|
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 \
|
|
${QMAKE_ARGS}
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qsampler
|
|
|
|
.include <bsd.port.mk>
|