aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--comms/klog/Makefile17
-rw-r--r--comms/klog/distinfo4
2 files changed, 13 insertions, 8 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>
diff --git a/comms/klog/distinfo b/comms/klog/distinfo
index c4d1859bf5d3..79ac14414f0a 100644
--- a/comms/klog/distinfo
+++ b/comms/klog/distinfo
@@ -1,2 +1,2 @@
-SHA256 (klog-0.9.2.1.tar.gz) = b418f2b0bec509919cf1ffbc31a87a98dc51fffcece00ffa5e9b2c575ccaae4c
-SIZE (klog-0.9.2.1.tar.gz) = 295076
+SHA256 (klog-0.9.2.3.tar.gz) = 992973b15270782e92d5aa4e42d966ed240ff3f44dba49bb3274ae6d4ae67cb6
+SIZE (klog-0.9.2.3.tar.gz) = 1159783