diff options
author | shurd <shurd@FreeBSD.org> | 2016-04-07 19:52:21 +0800 |
---|---|---|
committer | shurd <shurd@FreeBSD.org> | 2016-04-07 19:52:21 +0800 |
commit | 3a034f4ad85d999ab2a962234d90c932ec75a21b (patch) | |
tree | 8c4b59431341be3a4baf2ccf16c7fc780d5f5d93 /comms/klog/Makefile | |
parent | cd9e4fc9a6f53a37aaa8395818d553dbbeabfedb (diff) | |
download | freebsd-ports-gnome-3a034f4ad85d999ab2a962234d90c932ec75a21b.tar.gz freebsd-ports-gnome-3a034f4ad85d999ab2a962234d90c932ec75a21b.tar.zst freebsd-ports-gnome-3a034f4ad85d999ab2a962234d90c932ec75a21b.zip |
Update to latest release
Now uses Qt5
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> |