Initial import of luakit a webkit bases browser written in lua
OK landry@ jeremy@
This commit is contained in:
parent
2acb3c8385
commit
1235910f07
70
www/luakit/Makefile
Normal file
70
www/luakit/Makefile
Normal file
@ -0,0 +1,70 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/10/28 23:43:00 abieber Exp $
|
||||
#
|
||||
COMMENT= fast, small, webkit based browser written in lua
|
||||
|
||||
VERSION= 2012.09.13.rc1
|
||||
|
||||
DISTNAME= luakit-${VERSION}
|
||||
|
||||
CATEGORIES= www
|
||||
|
||||
MAINTAINER= Aaron Bieber <abieber@openbsd.org>
|
||||
|
||||
HOMEPAGE= http://luakit.org
|
||||
|
||||
MASTER_SITES= http://deftly.net/
|
||||
|
||||
# GPLv3
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
USE_GMAKE= Yes
|
||||
|
||||
WANTLIB += GL X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
|
||||
WANTLIB += Xrandr Xrender c expat fontconfig freetype lua5.1 m
|
||||
WANTLIB += pixman-1 pthread pthread-stubs sqlite3 xcb xcb-render
|
||||
WANTLIB += xcb-shm z
|
||||
|
||||
MODULES = lang/lua
|
||||
|
||||
BUILD_DEPENDS= devel/help2man \
|
||||
lang/luajit \
|
||||
www/webkit,gtk3
|
||||
|
||||
RUN_DEPENDS= devel/luafs \
|
||||
lang/luajit
|
||||
|
||||
MAKE_ENV+= USE_LUAJIT=1 USE_UNIQUE=0 INSTALLDIR=${PREFIX} \
|
||||
MANDIR=${PREFIX}
|
||||
|
||||
PIXDIR = ${PREFIX}/share/pixmaps
|
||||
JQDIR = ${PREFIX}/share/luakit/lib
|
||||
|
||||
DOCS = README.md AUTHORS COPYING COPYING.GPLv3
|
||||
|
||||
pre-configure:
|
||||
perl -pi -e 's,/usr/bin/env lua,${MODLUA_BIN},g' \
|
||||
${WRKSRC}/build-utils/gentokens.lua
|
||||
perl -pi -e 's,/usr/bin/env lua,${MODLUA_BIN},g' \
|
||||
${WRKSRC}/lib/markdown.lua
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/luakit ${PREFIX}/bin/luakit
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/luakit/
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/luakit/
|
||||
${INSTALL_DATA_DIR} ${PIXDIR}
|
||||
${INSTALL_DATA_DIR} ${JQDIR}
|
||||
${INSTALL_DATA_DIR} ${MODLUA_DATADIR}
|
||||
for file in ${DOCS}; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/share/doc/luakit/; \
|
||||
done
|
||||
${INSTALL_DATA} ${WRKSRC}/extras/luakit.png ${PIXDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/luakit.1 ${PREFIX}/man/man1/luakit.1
|
||||
cp -R ${WRKSRC}/lib/*.lua ${MODLUA_DATADIR}
|
||||
cp -R ${WRKSRC}/lib/lousy ${MODLUA_DATADIR}
|
||||
cp -R ${WRKSRC}/lib/*.js ${JQDIR}
|
||||
cp -R ${WRKSRC}/config/*.lua ${PREFIX}/share/examples/luakit/
|
||||
|
||||
.include <bsd.port.mk>
|
2
www/luakit/distinfo
Normal file
2
www/luakit/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (luakit-2012.09.13.rc1.tar.gz) = D9lxnRppSbUMs5HXRkNCG/8nVDpzIaoQH8w6wAh+UlU=
|
||||
SIZE (luakit-2012.09.13.rc1.tar.gz) = 218052
|
19
www/luakit/patches/patch-Makefile
Normal file
19
www/luakit/patches/patch-Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2012/10/28 23:43:00 abieber Exp $
|
||||
--- Makefile.orig Mon Oct 1 11:38:55 2012
|
||||
+++ Makefile Mon Oct 1 11:39:09 2012
|
||||
@@ -37,13 +37,13 @@ globalconf.h: globalconf.h.in
|
||||
$(OBJS): $(HEADS) config.mk
|
||||
|
||||
.c.o:
|
||||
- @echo $(CC) -c $< -o $@
|
||||
+ @echo $(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@
|
||||
@$(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@
|
||||
|
||||
widgets/webview.o: $(wildcard widgets/webview/*.c)
|
||||
|
||||
luakit: $(OBJS)
|
||||
- @echo $(CC) -o $@ $(OBJS)
|
||||
+ @echo $(CC) -o $@ $(OBJS) $(LDFLAGS)
|
||||
@$(CC) -o $@ $(OBJS) $(LDFLAGS)
|
||||
|
||||
luakit.1: luakit
|
6
www/luakit/pkg/DESCR
Normal file
6
www/luakit/pkg/DESCR
Normal file
@ -0,0 +1,6 @@
|
||||
Luakit is a highly configurable, browser framework based on the WebKit
|
||||
web content engine and the GTK+ toolkit. It is very fast, extensible by
|
||||
Lua and licensed under the GNU GPLv3 license. It is primarily targeted
|
||||
at power users, developers and any people with too much time on their
|
||||
hands who want to have fine-grained control over their web browsers
|
||||
behaviour and interface.
|
72
www/luakit/pkg/PLIST
Normal file
72
www/luakit/pkg/PLIST
Normal file
@ -0,0 +1,72 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/10/28 23:43:00 abieber Exp $
|
||||
@bin bin/luakit
|
||||
@man man/man1/luakit.1
|
||||
share/doc/luakit/
|
||||
share/doc/luakit/AUTHORS
|
||||
share/doc/luakit/COPYING
|
||||
share/doc/luakit/COPYING.GPLv3
|
||||
share/doc/luakit/README.md
|
||||
share/examples/luakit/
|
||||
@sample ${SYSCONFDIR}/xdg/
|
||||
@sample ${SYSCONFDIR}/xdg/luakit/
|
||||
share/examples/luakit/binds.lua
|
||||
@sample ${SYSCONFDIR}/xdg/luakit/binds.lua
|
||||
share/examples/luakit/globals.lua
|
||||
@sample ${SYSCONFDIR}/xdg/luakit/globals.lua
|
||||
share/examples/luakit/modes.lua
|
||||
@sample ${SYSCONFDIR}/xdg/luakit/modes.lua
|
||||
share/examples/luakit/rc.lua
|
||||
@sample ${SYSCONFDIR}/xdg/luakit/rc.lua
|
||||
share/examples/luakit/theme.lua
|
||||
@sample ${SYSCONFDIR}/xdg/luakit/theme.lua
|
||||
share/examples/luakit/webview.lua
|
||||
@sample ${SYSCONFDIR}/xdg/luakit/webview.lua
|
||||
share/examples/luakit/window.lua
|
||||
@sample ${SYSCONFDIR}/xdg/luakit/window.lua
|
||||
share/lua/${MODLUA_VERSION}/bookmarks.lua
|
||||
share/lua/${MODLUA_VERSION}/bookmarks_chrome.lua
|
||||
share/lua/${MODLUA_VERSION}/chrome.lua
|
||||
share/lua/${MODLUA_VERSION}/cmdhist.lua
|
||||
share/lua/${MODLUA_VERSION}/completion.lua
|
||||
share/lua/${MODLUA_VERSION}/cookie_blocking.lua
|
||||
share/lua/${MODLUA_VERSION}/cookies.lua
|
||||
share/lua/${MODLUA_VERSION}/downloads.lua
|
||||
share/lua/${MODLUA_VERSION}/downloads_chrome.lua
|
||||
share/lua/${MODLUA_VERSION}/follow.lua
|
||||
share/lua/${MODLUA_VERSION}/follow_selected.lua
|
||||
share/lua/${MODLUA_VERSION}/formfiller.lua
|
||||
share/lua/${MODLUA_VERSION}/go_input.lua
|
||||
share/lua/${MODLUA_VERSION}/go_next_prev.lua
|
||||
share/lua/${MODLUA_VERSION}/go_up.lua
|
||||
share/lua/${MODLUA_VERSION}/history.lua
|
||||
share/lua/${MODLUA_VERSION}/history_chrome.lua
|
||||
share/lua/${MODLUA_VERSION}/introspector.lua
|
||||
share/lua/${MODLUA_VERSION}/lousy/
|
||||
share/lua/${MODLUA_VERSION}/lousy/bind.lua
|
||||
share/lua/${MODLUA_VERSION}/lousy/init.lua
|
||||
share/lua/${MODLUA_VERSION}/lousy/load.lua
|
||||
share/lua/${MODLUA_VERSION}/lousy/mode.lua
|
||||
share/lua/${MODLUA_VERSION}/lousy/signal.lua
|
||||
share/lua/${MODLUA_VERSION}/lousy/theme.lua
|
||||
share/lua/${MODLUA_VERSION}/lousy/uri.lua
|
||||
share/lua/${MODLUA_VERSION}/lousy/util.lua
|
||||
share/lua/${MODLUA_VERSION}/lousy/widget/
|
||||
share/lua/${MODLUA_VERSION}/lousy/widget/init.lua
|
||||
share/lua/${MODLUA_VERSION}/lousy/widget/menu.lua
|
||||
share/lua/${MODLUA_VERSION}/lousy/widget/tablist.lua
|
||||
share/lua/${MODLUA_VERSION}/markdown.lua
|
||||
share/lua/${MODLUA_VERSION}/noscript.lua
|
||||
share/lua/${MODLUA_VERSION}/proxy.lua
|
||||
share/lua/${MODLUA_VERSION}/quickmarks.lua
|
||||
share/lua/${MODLUA_VERSION}/search.lua
|
||||
share/lua/${MODLUA_VERSION}/session.lua
|
||||
share/lua/${MODLUA_VERSION}/tabhistory.lua
|
||||
share/lua/${MODLUA_VERSION}/taborder.lua
|
||||
share/lua/${MODLUA_VERSION}/undoclose.lua
|
||||
share/lua/${MODLUA_VERSION}/userscripts.lua
|
||||
share/lua/${MODLUA_VERSION}/webinspector.lua
|
||||
share/luakit/
|
||||
share/luakit/lib/
|
||||
share/luakit/lib/jquery.min.js
|
||||
share/pixmaps/
|
||||
share/pixmaps/luakit.png
|
Loading…
x
Reference in New Issue
Block a user