diff options
author | Stephen Hurd <shurd@FreeBSD.org> | 2015-11-30 05:43:31 +0000 |
---|---|---|
committer | Stephen Hurd <shurd@FreeBSD.org> | 2015-11-30 05:43:31 +0000 |
commit | ad15dd2c807d986cdf06f935996ce35014ac0999 (patch) | |
tree | c58dc41a92beebc77089cc5201d6011d7130cb33 /comms/klog | |
parent | Remove runtime dependency on nec2c (diff) |
Install translations, set LICENSE, and fix up dependencies
PR: 201719
Submitted by: Andriy Voskoboinyk <s3erios@gmail.com>
Notes
Notes:
svn path=/head/; revision=402647
Diffstat (limited to 'comms/klog')
-rw-r--r-- | comms/klog/Makefile | 17 | ||||
-rw-r--r-- | comms/klog/files/patch-setuppagelogsnew.cpp | 6 |
2 files changed, 18 insertions, 5 deletions
diff --git a/comms/klog/Makefile b/comms/klog/Makefile index a003ccfcfe7f..aae06ccad991 100644 --- a/comms/klog/Makefile +++ b/comms/klog/Makefile @@ -2,23 +2,36 @@ PORTNAME= klog PORTVERSION= 0.9.2.1 +PORTREVISION= 1 CATEGORIES= comms hamradio -MASTER_SITES= SAVANNAH +MASTER_SITES= SAVANNAH MAINTAINER= hamradio@FreeBSD.org COMMENT= Simple Qt-based amateur radio logger +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + USES= qmake -USE_QT4= gui network sql corelib linguist moc_build +USE_QT4= corelib gui network sql sql-sqlite3_run moc_build DESKTOP_ENTRIES= "KLog" "Simple Amateur Radio Logging Program" \ "" "klog" "Network;HamRadio;" \ true PLIST_FILES= bin/klog \ + ${DATADIR}/translations/klog_es.qm \ + ${DATADIR}/translations/klog_fr.qm \ man/man1/klog.1.gz +post-patch: + @${REINPLACE_CMD} '/"klog_" + QLocale::system().name()/\ + s|);|, "${DATADIR}/translations/");|' \ + ${WRKSRC}/main.cpp + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/klog ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${DATADIR}/translations + ${INSTALL_DATA} ${WRKSRC}/klog_*.qm ${STAGEDIR}${DATADIR}/translations ${INSTALL_MAN} ${WRKSRC}/klog.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include <bsd.port.mk> diff --git a/comms/klog/files/patch-setuppagelogsnew.cpp b/comms/klog/files/patch-setuppagelogsnew.cpp index 2909605c49d8..31a868f8e8e6 100644 --- a/comms/klog/files/patch-setuppagelogsnew.cpp +++ b/comms/klog/files/patch-setuppagelogsnew.cpp @@ -1,6 +1,6 @@ ---- setuppagelogsnew.cpp.orig 2015-04-27 23:19:32.000000000 -0700 -+++ setuppagelogsnew.cpp 2015-04-27 23:19:49.000000000 -0700 -@@ -724,6 +724,7 @@ +--- setuppagelogsnew.cpp.orig 2015-09-15 18:40:58 UTC ++++ setuppagelogsnew.cpp +@@ -735,6 +735,7 @@ bool SetupPageLogsNew::isThereAnyNotMana //qDebug() << "SetupPageLogsNew::isThereAnyNotManagedLog tras el while" << endl; } //qDebug() << "SetupPageLogsNew::isThereAnyNotManagedLog END" << endl; |