blob: 7b2e47e61a7c0f3ea50941efd847145f58ee38d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# 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= gig.10:${PORTSDIR}/audio/libgig \
lscp.6:${PORTSDIR}/audio/liblscp
RUN_DEPENDS= linuxsampler:${PORTSDIR}/audio/linuxsampler
USE_QT4= corelib gui \
linguist_build moc_build qmake_build rcc_build uic_build
NO_STAGE= yes
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}
LUPDATE= ${LOCALBASE}/bin/lupdate-qt4
LRELEASE= ${LOCALBASE}/bin/lrelease-qt4
post-patch:
@${REINPLACE_CMD} -e 's|make -f|$$(MAKE) -f|' ${WRKSRC}/Makefile.in
post-configure:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -o ${PORTNAME}.mak \
${QMAKEFLAGS}
post-install:
@${STRIP_CMD} ${PREFIX}/bin/qsampler
.include <bsd.port.mk>
|