- Add missing Qt4 components to fix build [1]

- Respect CC, etc by passing QMAKEFLAGS to qmake
- Tweak desktop entry

Approved by:	gahr (maintainer)
Reported by:	miwi [1]
This commit is contained in:
Max Brazhnikov 2013-02-28 17:12:07 +00:00
parent 3e3e934c15
commit e71c4eb4b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=313116

View File

@ -18,7 +18,7 @@ LIB_DEPENDS= poppler-qt4:${PORTSDIR}/graphics/poppler-qt4
USE_PKGCONFIG= build
USE_QT4= qmake_build gui corelib rcc_build moc_build uic_build \
dbus xml
dbus xml scripttools designer_build
QMAKE_ARGS= INSTALL_PREFIX=${PREFIX} \
DATA_DIR=${DATADIR} \
DOCS_DIR=${DOCSDIR} \
@ -36,8 +36,8 @@ DESKTOP_ENTRIES="TexWorks" \
"Lowering the entry barrier to the TeX world" \
"TeXworks" \
"${PORTNAME}" \
"Utility;" \
false
"Utility;Qt;" \
true
MAN1= texworks.1
PLIST_FILES= bin/texworks \
@ -59,6 +59,6 @@ post-patch:
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} ${QMAKE_ARGS} TeXworks.pro
${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS} TeXworks.pro
.include <bsd.port.mk>