[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / cool-retro-term

File: [cvs.NetBSD.org] / pkgsrc / x11 / cool-retro-term / Makefile (download)

Revision 1.6, Wed Nov 23 16:21:23 2022 UTC (2 months, 2 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4
Changes since 1.5: +2 -2 lines

massive revision bump after textproc/icu update

# $NetBSD: Makefile,v 1.6 2022/11/23 16:21:23 adam Exp $

DISTNAME=	cool-retro-term-1.1.1
PKGREVISION=	4
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_GITHUB:=Swordfish90/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/Swordfish90/cool-retro-term
COMMENT=	Terminal emulator which mimics old CRT screens
LICENSE=	gnu-gpl-v3

USE_TOOLS+=	gmake
USE_LANGUAGES=	c c++

MAKE_ENV+=	INSTALL_ROOT=${DESTDIR:Q}

LDFLAGS.NetBSD+=	-lutil # openpty

SUBST_CLASSES+=		paths
SUBST_STAGE.paths=	pre-configure
SUBST_FILES.paths=	app/app.pro
SUBST_FILES.paths+=	cool-retro-term.pro
SUBST_SED.paths=	-e 's,/usr,${PREFIX},g'

GITHUB_SUBMODULES=	Swordfish90 qmltermwidget \
			5c47d1f49455394226e0e595f79c148f0c098006 qmltermwidget
EXTRACT_USING=		bsdtar

do-configure:
	cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QTDIR}/bin/qmake \
	    -unix -recursive cool-retro-term.pro \
	    ${MAKE_ENV} \
	    QMAKE_CFLAGS=${CFLAGS:Q} \
	    QMAKE_CXXFLAGS=${CXXFLAGS:Q} \
	    QMAKE_LFLAGS=${LDFLAGS:Q}

DEPENDS+=	qt5-qtgraphicaleffects-[0-9]*:../../x11/qt5-qtgraphicaleffects

.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qtdeclarative/buildlink3.mk"
.include "../../x11/qt5-qtquickcontrols/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"