diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2011-10-18 21:04:14 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2011-10-18 21:04:14 +0800 |
commit | 1bf993dbcff2d36223d32d5959eadc70f2f42144 (patch) | |
tree | 0b277973ad8e71eb6bd96705d184f31057e0245b /audio | |
parent | 412d43f3be12d3a8f5619d73e8803e9b1b225879 (diff) | |
download | freebsd-ports-gnome-1bf993dbcff2d36223d32d5959eadc70f2f42144.tar.gz freebsd-ports-gnome-1bf993dbcff2d36223d32d5959eadc70f2f42144.tar.zst freebsd-ports-gnome-1bf993dbcff2d36223d32d5959eadc70f2f42144.zip |
- 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>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/qsampler/Makefile | 42 | ||||
-rw-r--r-- | audio/qsampler/pkg-descr | 2 |
2 files changed, 33 insertions, 11 deletions
diff --git a/audio/qsampler/Makefile b/audio/qsampler/Makefile index 46b8fd640902..a7cb29325825 100644 --- a/audio/qsampler/Makefile +++ b/audio/qsampler/Makefile @@ -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> diff --git a/audio/qsampler/pkg-descr b/audio/qsampler/pkg-descr index 4e16150dcd1c..36fa29662cf1 100644 --- a/audio/qsampler/pkg-descr +++ b/audio/qsampler/pkg-descr @@ -1,3 +1,3 @@ Qt-based front end to LinuxSampler. -WWW: http://www.linuxsampler.org/ +WWW: http://qsampler.sourceforge.net/ |