2019-12-22 12:13:16 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ukncbtl
|
2020-12-29 20:56:53 +00:00
|
|
|
DISTVERSION= g20201017
|
2019-12-22 12:13:16 +00:00
|
|
|
CATEGORIES= emulators
|
|
|
|
|
|
|
|
MAINTAINER= makc@FreeBSD.org
|
|
|
|
COMMENT= UKNC (Elektronika MS-0511) emulator
|
|
|
|
|
|
|
|
LICENSE= LGPL3
|
2019-12-24 20:25:31 +00:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2019-12-22 12:13:16 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= nzeemin
|
|
|
|
GH_PROJECT= ukncbtl-qt
|
2020-12-29 20:56:53 +00:00
|
|
|
GH_TAGNAME= 812cde85
|
2019-12-22 12:13:16 +00:00
|
|
|
|
|
|
|
DESKTOP_ENTRIES= "UkncBtl" \
|
|
|
|
"" \
|
2020-12-29 20:56:53 +00:00
|
|
|
"${PREFIX}/share/pixmaps/ukncbtl.png" \
|
2019-12-22 12:13:16 +00:00
|
|
|
"${PORTNAME}" \
|
|
|
|
"" \
|
|
|
|
true
|
|
|
|
|
2020-12-29 20:56:53 +00:00
|
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
|
|
share/pixmaps/ukncbtl.png
|
2019-12-22 12:13:16 +00:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} '/^#include/s,malloc.h,stdlib.h,' ${WRKSRC}/stdafx.h
|
|
|
|
${REINPLACE_CMD} '/^TARGET/s,QtUkncBtl,${PORTNAME},' ${WRKSRC}/QtUkncBtl.pro
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
2020-12-29 20:56:53 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/images/ukncbtl.png ${STAGEDIR}${PREFIX}/share/pixmaps
|
2019-12-22 12:13:16 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|