diff options
Diffstat (limited to 'audio/qsynth/Makefile')
-rw-r--r-- | audio/qsynth/Makefile | 31 |
1 files changed, 23 insertions, 8 deletions
diff --git a/audio/qsynth/Makefile b/audio/qsynth/Makefile index fc3ae32b00f5..8f00e864dbe4 100644 --- a/audio/qsynth/Makefile +++ b/audio/qsynth/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= qsynth -PORTVERSION= 0.3.4 -PORTREVISION= 3 +PORTVERSION= 0.3.6 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION} @@ -12,15 +11,31 @@ COMMENT= Qt fluidsynth front-end application LIB_DEPENDS= fluidsynth:${PORTSDIR}/audio/fluidsynth -GNU_CONFIGURE= yes -USE_GMAKE= yes USE_QT4= gui qmake_build moc_build uic_build rcc_build linguist_build -CFLAGS+= -I${QT_INCDIR} ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} -LDFLAGS+= -L${QT_LIBDIR} -CONFIGURE_ARGS+=ac_cv_path_ac_moc=${MOC} ac_cv_path_ac_uic=${UIC} \ +QT_NONSTANDARD= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= ac_cv_path_ac_moc=${MOC} \ + ac_cv_path_ac_uic=${UIC} \ ac_cv_path_ac_qmake=${QMAKE} \ ac_cv_path_ac_lupdate=${LOCALBASE}/bin/lupdate-qt4 \ ac_cv_path_ac_lrelease=${LOCALBASE}/bin/lrelease-qt4 -MAKE_JOBS_UNSAFE= yes +INSTALLS_ICONS= yes +MAKE_JOBS_UNSAFE=yes + +CPPFLAGS+= -I${QT_INCDIR} ${PTHREAD_CFLAGS} +LDFLAGS+= -L${QT_LIBDIR} ${PTHREAD_LIBS} + +post-patch: + @${REINPLACE_CMD} -e \ + 's|@make |@$$(MAKE) | ; \ + /man1/s|^|#|' ${WRKSRC}/Makefile.in + +post-configure: + @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -o qsynth.mak \ + ${QMAKEFLAGS}) + +post-install: + @${STRIP_CMD} ${PREFIX}/bin/qsynth .include <bsd.port.mk> |