Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Apr 2016 11:52:21 +0000 (UTC)
From:      Stephen Hurd <shurd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r412659 - head/comms/klog
Message-ID:  <201604071152.u37BqLNr057742@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: shurd
Date: Thu Apr  7 11:52:21 2016
New Revision: 412659
URL: https://svnweb.freebsd.org/changeset/ports/412659

Log:
  Update to latest release
  
  Now uses Qt5

Modified:
  head/comms/klog/Makefile
  head/comms/klog/distinfo

Modified: head/comms/klog/Makefile
==============================================================================
--- head/comms/klog/Makefile	Thu Apr  7 07:24:32 2016	(r412658)
+++ head/comms/klog/Makefile	Thu Apr  7 11:52:21 2016	(r412659)
@@ -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>

Modified: head/comms/klog/distinfo
==============================================================================
--- head/comms/klog/distinfo	Thu Apr  7 07:24:32 2016	(r412658)
+++ head/comms/klog/distinfo	Thu Apr  7 11:52:21 2016	(r412659)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604071152.u37BqLNr057742>