diff --git a/emulators/ukncbtl/Makefile b/emulators/ukncbtl/Makefile index b4fda4e7034f..ab2f24a14443 100644 --- a/emulators/ukncbtl/Makefile +++ b/emulators/ukncbtl/Makefile @@ -1,41 +1,48 @@ PORTNAME= ukncbtl -DISTVERSION= g20221102 +DISTVERSION= g20240813 CATEGORIES= emulators MAINTAINER= makc@FreeBSD.org COMMENT= UKNC (Elektronika MS-0511) emulator WWW= https://github.com/nzeemin/ukncbtl-doc/wiki LICENSE= LGPL3 -LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_FILE= ${WRKSRC}/../LICENSE USES= compiler:c++11-lang gl qmake qt:5 USE_GL= gl USE_QT= core gui multimedia network script testlib widgets \ - buildtools:build qmake:build + buildtools:build linguisttools:build qmake:build USE_GITHUB= yes GH_ACCOUNT= nzeemin GH_PROJECT= ukncbtl-qt -GH_TAGNAME= a368c750 +GH_TAGNAME= ae5021f8 DESKTOP_ENTRIES= "UkncBtl" \ "" \ "${PREFIX}/share/pixmaps/ukncbtl.png" \ "${PORTNAME}" \ "" \ true +WRKSRC_SUBDIR= emulator + PLIST_FILES= bin/${PORTNAME} \ share/pixmaps/ukncbtl.png post-patch: ${REINPLACE_CMD} '/^#include/s,malloc.h,stdlib.h,' ${WRKSRC}/stdafx.h - ${REINPLACE_CMD} '/^TARGET/s,QtUkncBtl,${PORTNAME},' ${WRKSRC}/QtUkncBtl.pro + ${REINPLACE_CMD} -e '/^TARGET/s,QtUkncBtl,${PORTNAME},' \ + -e '/^QMAKE_EXTRA_COMPILERS/s,lrelease,,' \ + ${WRKSRC}/QtUkncBtl.pro + +pre-build: + (cd ${WRKSRC}/lang && ${LRELEASE} *.ts) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/images/ukncbtl.png ${STAGEDIR}${PREFIX}/share/pixmaps .include diff --git a/emulators/ukncbtl/distinfo b/emulators/ukncbtl/distinfo index 2fe8f0e0a0a3..11d3e0b2ffc3 100644 --- a/emulators/ukncbtl/distinfo +++ b/emulators/ukncbtl/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1668015276 -SHA256 (nzeemin-ukncbtl-qt-g20221102-a368c750_GH0.tar.gz) = ecfd2c2a16ed3f65a5b1913e191a442b6739515901e5981c7d509eaf9968c4cb -SIZE (nzeemin-ukncbtl-qt-g20221102-a368c750_GH0.tar.gz) = 226291 +TIMESTAMP = 1725047620 +SHA256 (nzeemin-ukncbtl-qt-g20240813-ae5021f8_GH0.tar.gz) = 34535b5532217583ce4c2b369cb71e1cc424f891bc6592ee10fbe39601f1f021 +SIZE (nzeemin-ukncbtl-qt-g20240813-ae5021f8_GH0.tar.gz) = 284351