mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
da3162c7c9
Per discussion with bapt on helping pkg handle the changing of these deps and avoiding impossible upgrade senarios. PR: 246767 Reviewed by: manu, bapt Approved by: x11 Differential Revision: https://reviews.freebsd.org/D30824
42 lines
954 B
Makefile
42 lines
954 B
Makefile
PORTNAME= ukncbtl
|
|
DISTVERSION= g20201017
|
|
PORTREVISION= 2
|
|
CATEGORIES= emulators
|
|
|
|
MAINTAINER= makc@FreeBSD.org
|
|
COMMENT= UKNC (Elektronika MS-0511) emulator
|
|
|
|
LICENSE= LGPL3
|
|
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
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= nzeemin
|
|
GH_PROJECT= ukncbtl-qt
|
|
GH_TAGNAME= 812cde85
|
|
|
|
DESKTOP_ENTRIES= "UkncBtl" \
|
|
"" \
|
|
"${PREFIX}/share/pixmaps/ukncbtl.png" \
|
|
"${PORTNAME}" \
|
|
"" \
|
|
true
|
|
|
|
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
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/images/ukncbtl.png ${STAGEDIR}${PREFIX}/share/pixmaps
|
|
|
|
.include <bsd.port.mk>
|