diff options
Diffstat (limited to 'comms/klog/Makefile')
-rw-r--r-- | comms/klog/Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/comms/klog/Makefile b/comms/klog/Makefile index aae06ccad991..78705b961136 100644 --- a/comms/klog/Makefile +++ b/comms/klog/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= klog -PORTVERSION= 0.9.2.1 -PORTREVISION= 1 +PORTVERSION= 0.9.2.3 CATEGORIES= comms hamradio MASTER_SITES= SAVANNAH @@ -13,25 +12,31 @@ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING USES= qmake -USE_QT4= corelib gui network sql sql-sqlite3_run moc_build +USE_QT5= buildtools core gui linguisttools network printsupport sql \ + sql-sqlite3_run widgets printsupport DESKTOP_ENTRIES= "KLog" "Simple Amateur Radio Logging Program" \ "" "klog" "Network;HamRadio;" \ true PLIST_FILES= bin/klog \ + ${DATADIR}/translations/klog_ca.qm \ ${DATADIR}/translations/klog_es.qm \ - ${DATADIR}/translations/klog_fr.qm \ + ${DATADIR}/translations/klog_ja.qm \ man/man1/klog.1.gz post-patch: - @${REINPLACE_CMD} '/"klog_" + QLocale::system().name()/\ + @${REINPLACE_CMD} '/"\/usr\/share\/klog\/translations\/klog_" + \ + QLocale::system().name()/\ s|);|, "${DATADIR}/translations/");|' \ ${WRKSRC}/main.cpp +post-build: + ${LRELEASE} ${WRKSRC}/${PORTNAME}.pro + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/klog ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DATADIR}/translations - ${INSTALL_DATA} ${WRKSRC}/klog_*.qm ${STAGEDIR}${DATADIR}/translations + ${INSTALL_DATA} ${WRKSRC}/translations/klog_*.qm ${STAGEDIR}${DATADIR}/translations ${INSTALL_MAN} ${WRKSRC}/klog.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include <bsd.port.mk> |