pkgsrc/www/luakit/Makefile

47 lines
1.2 KiB
Makefile
Raw Normal View History

2021-12-08 17:01:42 +01:00
# $NetBSD: Makefile,v 1.12 2021/12/08 16:06:57 adam Exp $
DISTNAME= luakit-2.3
2021-12-08 17:01:42 +01:00
PKGREVISION= 3
CATEGORIES= www lua
MASTER_SITES= ${MASTER_SITE_GITHUB:=luakit/}
MAINTAINER= nia@NetBSD.org
HOMEPAGE= https://luakit.org/
2020-10-05 09:13:07 +02:00
COMMENT= Fast, small, WebKit based browser extensible with Lua
LICENSE= gnu-gpl-v3
USE_TOOLS+= gmake pkg-config
MAKE_FLAGS+= DEVELOPMENT_PATHS=0
MAKE_FLAGS+= APPDIR=${PREFIX}/share/applications
MAKE_FLAGS+= DOCDIR=${PREFIX}/share/doc/luakit
MAKE_FLAGS+= MANPREFIX=${PREFIX}/${PKGMANDIR}
MAKE_FLAGS+= PIXMAPDIR=${PREFIX}/share/pixmaps
MAKE_FLAGS+= XDGPREFIX=${PKG_SYSCONFDIR}
MAKE_FLAGS+= VERSION=${PKGVERSION}
2021-09-17 12:24:08 +02:00
LDFLAGS.SunOS+= -lm -lsocket
LUA_VERSIONS_ACCEPTED= 51
.include "../../lang/lua/luaversion.mk"
DEPENDS+= ${LUA_PKGPREFIX}-filesystem-[0-9]*:../../devel/lua-filesystem
OWN_DIRS+= ${PKG_SYSCONFDIR}/xdg/luakit
CONF_FILES+= ${PREFIX}/share/examples/luakit/rc.lua \
${PKG_SYSCONFDIR}/xdg/luakit/rc.lua
CONF_FILES+= ${PREFIX}/share/examples/luakit/theme.lua \
${PKG_SYSCONFDIR}/xdg/luakit/theme.lua
pre-install:
${RM} -f ${WRKSRC}/lib/*.orig
.include "options.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../www/webkit-gtk/buildlink3.mk"
.include "../../x11/gtk3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"