2023-01-10 11:45:28 +01:00
|
|
|
# $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
|
2023-08-26 20:59:45 +02:00
|
|
|
#GH_TAGNAME = 2.2.1
|
|
|
|
REVISION = 0
|
|
|
|
DISTNAME = luakit-2.3.3
|
|
|
|
GH_COMMIT = 858dc946b01487e6ba2475cb7a9bede34c17d134
|
2023-01-10 11:45:28 +01:00
|
|
|
|
|
|
|
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
|
2023-08-26 20:59:45 +02:00
|
|
|
WANTLIB += intl javascriptcoregtk-4.1 luajit-5.1 pango-1.0
|
|
|
|
WANTLIB += pangocairo-1.0 pthread soup-3.0 sqlite3 webkit2gtk-4.1
|
2023-01-10 11:45:28 +01:00
|
|
|
|
|
|
|
MODULES = lang/lua
|
|
|
|
|
|
|
|
BUILD_DEPENDS = devel/help2man \
|
|
|
|
devel/luafs
|
|
|
|
|
|
|
|
RUN_DEPENDS = devel/desktop-file-utils \
|
|
|
|
devel/luafs \
|
|
|
|
textproc/lua-markdown
|
|
|
|
|
|
|
|
LIB_DEPENDS = lang/luajit \
|
2023-08-26 20:59:45 +02:00
|
|
|
www/webkitgtk4,webkitgtk41
|
2023-01-10 11:45:28 +01:00
|
|
|
|
|
|
|
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>
|