pkgsrc/www/otter-browser/Makefile

33 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.40 2020/11/05 09:09:22 ryoon Exp $
DISTNAME= otter-browser-1.0.01
PKGREVISION= 10
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=OtterBrowser/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://otter-browser.org/
COMMENT= Project aiming to recreate classic Opera (12.x) UI using Qt5
LICENSE= gnu-gpl-v3
USE_CMAKE= yes
USE_LANGUAGES= c c++
NOT_PAX_MPROTECT_SAFE+= bin/otter-browser
SUBST_CLASSES+= fix-paths
SUBST_STAGE.fix-paths= pre-configure
SUBST_MESSAGE.fix-paths= Fixing (some) absolute paths to hunspell dictionaries.
SUBST_FILES.fix-paths= 3rdparty/sonnet/src/plugins/hunspell/hunspellclient.cpp
SUBST_SED.fix-paths= -e 's,"/usr/local,"${PREFIX},g'
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../textproc/hunspell/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qtmultimedia/buildlink3.mk"
.include "../../x11/qt5-qtscript/buildlink3.mk"
.include "../../x11/qt5-qtwebkit/buildlink3.mk"
.include "../../x11/qt5-qtsvg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"