pkgsrc/x11/qtermwidget/Makefile
2020-06-02 10:39:04 +00:00

37 lines
948 B
Makefile

# $NetBSD: Makefile,v 1.8 2020/06/02 10:39:04 pin Exp $
DISTNAME= qtermwidget-0.15.0
PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_GITHUB:=lxqt/}
GITHUB_RELEASE= ${PKGVERSION_NOREV}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/lxqt/qtermwidget/
COMMENT= Terminal emulator widget for Qt5
LICENSE= gnu-lgpl-v2.1 AND modified-bsd
USE_CMAKE= yes
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++
CONFIGURE_DIRS= build
CMAKE_ARG_PATH= ..
LDFLAGS.NetBSD+= -lutil
SUBST_CLASSES+= prefix
SUBST_MESSAGE.prefix= Fixing paths.
SUBST_STAGE.prefix= pre-configure
SUBST_FILES.prefix= lib/qtermwidget.cpp
SUBST_SED.prefix= -e 's,/usr/share,${PREFIX}/share,g'
pre-configure:
${MKDIR} -p ${WRKSRC}/build
TOOL_DEPENDS+= lxqt-build-tools-[0-9]*:../../devel/lxqt-build-tools
TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"