mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
- Update MASTER_SITES and WWW: line
- Add LICENSE - Rearrange QT_COMPONENTS - Respect CFLAGS - Add MAKE_JOBS_SAFE - Strip binaries PR: 161645 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
parent
d5ae40421a
commit
b25b295442
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=283771
@ -7,23 +7,45 @@
|
||||
|
||||
PORTNAME= qsampler
|
||||
PORTVERSION= 0.2.2
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= http://download.linuxsampler.org/packages/
|
||||
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
|
||||
|
||||
LIB_DEPENDS= lscp.6:${PORTSDIR}/audio/liblscp \
|
||||
gig.10:${PORTSDIR}/audio/libgig
|
||||
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
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= ac_cv_path_ac_qmake=qmake-qt4 ac_cv_path_ac_moc=moc-qt4 ac_cv_path_ac_uic=uic-qt4 \
|
||||
ac_cv_path_ac_rcc=rcc-qt4 ac_cv_path_ac_lupdate=lupdate-qt4 ac_cv_path_ac_lrelease=lrelease-qt4
|
||||
USE_GMAKE= yes
|
||||
USE_QT_VER= 4
|
||||
QT_COMPONENTS= gui qmake moc uic rcc linguist
|
||||
CFLAGS+= -L${LOCALBASE}/lib
|
||||
QT_COMPONENTS= corelib gui \
|
||||
linguist_build moc_build qmake_build rcc_build uic_build
|
||||
USE_GMAKE= yes
|
||||
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}
|
||||
MAKE_JOBS_SAFE= yes
|
||||
|
||||
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>
|
||||
|
@ -1,3 +1,3 @@
|
||||
Qt-based front end to LinuxSampler.
|
||||
|
||||
WWW: http://www.linuxsampler.org/
|
||||
WWW: http://qsampler.sourceforge.net/
|
||||
|
Loading…
Reference in New Issue
Block a user