Update to latest release

Now uses Qt5
This commit is contained in:
Stephen Hurd 2016-04-07 11:52:21 +00:00
parent e5969a5eea
commit 5471276f34
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=412659
2 changed files with 13 additions and 8 deletions

View file

@ -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>

View file

@ -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