# Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= cool-retro-term PORTVERSION= 1.0.0 PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= x11 MAINTAINER= danfe@FreeBSD.org COMMENT= Terminal emulator which mimics the old cathode display LICENSE= GPLv3 USE_GITHUB= yes GH_ACCOUNT= Swordfish90 GH_PROJECT= qmltermwidget:qtw GH_TAGNAME= v0.1.0:qtw USES= desktop-file-utils qmake USE_QT5= qmake_build buildtools_build core gui qml quick widgets \ graphicaleffects_run quickcontrols_run .include .if ${ARCH} == powerpc USE_GCC= yes .else CC= clang CXX= clang++ CPP= clang-cpp .endif post-extract: @${RMDIR} ${WRKSRC}/qmltermwidget @${LN} -s ../qmltermwidget-0.1.0 ${WRKSRC}/qmltermwidget post-patch: @${REINPLACE_CMD} -e '/DEFINES +=/s,^macx:,,' \ ${WRKSRC}/qmltermwidget/qmltermwidget.pro @${REINPLACE_CMD} -e 's,/usr,${LOCALBASE},' \ ${WRKSRC}/app/app.pro ${WRKSRC}/cool-retro-term.pro @${REINPLACE_CMD} -e 's,\.\./icons,/icons,' \ ${WRKSRC}/app/main.cpp .include