File:
[cvs.NetBSD.org] /
pkgsrc /
x11 /
cool-retro-term /
Makefile
Revision
1.4:
download - view:
text,
annotated -
select for diffs
Sun Jan 9 23:42:03 2022 UTC (2 years, 11 months ago) by
tnn
Branches:
MAIN
CVS tags:
pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
HEAD
Fix packages that use GITSUB_MODULES on SunOS and possibly others
This is annoying, but for now we must always explicitly combine
GITHUB_SUBMODULES with EXTRACT_USING+=bsdtar.
This is because mk/fetch/github.mk uses OPTS_TAR=--strip-components=1
and that is not supported by nbtar(pax), which is the default pkgsrc
tar on some platforms. We cannot override EXTRACT_USING in github.mk
because that is too late.
We should switch all platforms to bsdtar and retire pax.
# $NetBSD: Makefile,v 1.4 2022/01/09 23:42:03 tnn Exp $
DISTNAME= cool-retro-term-1.1.1
PKGREVISION= 2
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"
CVSweb <webmaster@jp.NetBSD.org>