1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/x11/cool-retro-term/Makefile
2021-04-06 16:31:07 +02:00

38 lines
973 B
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
PORTNAME= cool-retro-term
PORTVERSION= 1.1.1
PORTREVISION= 1
CATEGORIES= x11
MAINTAINER= danfe@FreeBSD.org
COMMENT= Terminal emulator which mimics old cathode displays
LICENSE= GPLv3
USE_GITHUB= yes
GH_ACCOUNT= Swordfish90
GH_PROJECT= qmltermwidget:qtw
GH_TAGNAME= 0.2.0:qtw
GH_SUBDIR= ${GH_PROJECT}
USES= compiler:c++11-lang gl gmake qmake qt:5
USE_GL= gl
USE_QT= qmake_build buildtools_build core declarative gui \
network sql widgets graphicaleffects_run \
quickcontrols_run sql-sqlite3_run
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
post-install:
${INSTALL_MAN} ${WRKSRC}/packaging/debian/cool-retro-term.1 \
${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>