Index: head/deskutils/znotes/Makefile =================================================================== --- head/deskutils/znotes/Makefile (revision 395441) +++ head/deskutils/znotes/Makefile (revision 395442) @@ -1,38 +1,39 @@ # Created by: Veniamin Gvozdikov # $FreeBSD$ PORTNAME= znotes PORTVERSION= 0.4.5 PORTREVISION= 2 CATEGORIES= deskutils MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/ MAINTAINER= vg@FreeBSD.org COMMENT= Simple notes managment application based on Qt 4 LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE USES= qmake -USE_QT4= gui network xml uic_build moc_build rcc_build \ - linguist_build +USE_QT4= corelib gui network xml uic_build moc_build rcc_build \ + linguisttools_build QMAKE_ARGS= QMAKE_LRELEASE=${LRELEASE} DESKTOP_ENTRIES="zNotes" "Notes managment" \ "${PREFIX}/share/pixmaps/${PORTNAME}.png" "${PORTNAME}" \ "Utility;TextEditor;Qt;" true OPTIONS_DEFINE= NLS OPTIONS_SUB= yes post-patch: @${REINPLACE_CMD} -e '/.path =/s|/usr|$$$$PREFIX|g' \ -e '/PREFIX = /d' \ ${WRKSRC}/${PORTNAME}.pro @${REINPLACE_CMD} -i -e 's,QCoreApplication::applicationDirPath()+"/translations","${DATADIR}/translations",g' \ ${WRKSRC}/settings.cpp pre-configure: #Work around badly written .pro ${LRELEASE} ${WRKSRC}/${PORTNAME}.pro .include Index: head/deskutils/znotes/files/patch-single__inst_qtlocalpeer.cpp =================================================================== --- head/deskutils/znotes/files/patch-single__inst_qtlocalpeer.cpp (revision 395441) +++ head/deskutils/znotes/files/patch-single__inst_qtlocalpeer.cpp (revision 395442) @@ -1,12 +1,12 @@ ---- single_inst/qtlocalpeer.cpp.orig 2011-08-27 08:25:14.000000000 +0000 +--- single_inst/qtlocalpeer.cpp.orig 2011-08-27 08:25:14 UTC +++ single_inst/qtlocalpeer.cpp @@ -58,9 +58,7 @@ static PProcessIdToSessionId pProcessIdT #if defined(Q_OS_UNIX) #include #endif -#if defined(Q_OS_OS2) #include -#endif namespace QtLP_Private { #include "qtlockedfile.cpp"