mystuff/www/luakit/Makefile
2023-08-26 20:59:45 +02:00

63 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.26 2020/09/15 07:04:25 pamela Exp $
COMMENT = fast, small, webkit based browser written in lua
GH_ACCOUNT = luakit
GH_PROJECT = luakit
#GH_TAGNAME = 2.2.1
REVISION = 0
DISTNAME = luakit-2.3.3
GH_COMMIT = 858dc946b01487e6ba2475cb7a9bede34c17d134
EPOCH = 1
CATEGORIES = www
MAINTAINER = Stefan Hagen <sh+ports@codevoid.de>
HOMEPAGE = https://luakit.github.io
# GPLv3
PERMIT_PACKAGE = Yes
USE_GMAKE = Yes
COMPILER = base-clang ports-gcc
WANTLIB += atk-1.0 c cairo cairo-gobject gdk-3 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gobject-2.0 gthread-2.0 gtk-3 harfbuzz
WANTLIB += intl javascriptcoregtk-4.1 luajit-5.1 pango-1.0
WANTLIB += pangocairo-1.0 pthread soup-3.0 sqlite3 webkit2gtk-4.1
MODULES = lang/lua
BUILD_DEPENDS = devel/help2man \
devel/luafs
RUN_DEPENDS = devel/desktop-file-utils \
devel/luafs \
textproc/lua-markdown
LIB_DEPENDS = lang/luajit \
www/webkitgtk4,webkitgtk41
TEST_DEPENDS = devel/luassert \
devel/luacheck
TEST_TARGET = run-tests
# webkit browsing
RUN_DEPENDS += multimedia/gstreamer1/plugins-good \
multimedia/gstreamer1/plugins-libav
MAKE_FLAGS += LUA_BIN_NAME=${MODLUA_BIN} \
XDGPREFIX=${PREFIX}/share/examples \
DOCDIR=${PREFIX}/share/doc/luakit \
MANPREFIX=${PREFIX}/man \
PIXMAPDIR=${PREFIX}/share/pixmaps/ \
APPDIR=${PREFIX}/share/applications/ \
PREFIX=${PREFIX} \
DEVELOPMENT_PATHS=0
.include <bsd.port.mk>