mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
4453ee0ab1
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. WWW: http://luakit.org PR: ports/166415 Submitted by: gugabsd <gugabsd@mundounix.com.br>
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
# New ports collection makefile for: luakit
|
|
# Date created: 2012-03-23
|
|
# Whom: gugabsd <gugabsd@mundounix.com.br>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= luakit
|
|
PORTVERSION= 2011.07.22
|
|
CATEGORIES= www
|
|
MASTER_SITES= https://github.com/mason-larobina/${PORTNAME}/tarball/${PORTVERSION}-r1/
|
|
|
|
MAINTAINER= gugabsd@mundounix.com.br
|
|
COMMENT= Fast, small, webkit based browser framework extensible by Lua
|
|
|
|
LICENSE= GPLv3
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/help2man:${PORTSDIR}/misc/help2man
|
|
LIB_DEPENDS= webkitgtk-1.0.0:${PORTSDIR}/www/webkit-gtk2 \
|
|
sqlite3.8:${PORTSDIR}/databases/sqlite3 \
|
|
unique-1.0.2:${PORTSDIR}/x11-toolkits/unique
|
|
RUN_DEPENDS= ${LUA_MODLIBDIR}/lfs.so:${PORTSDIR}/devel/luafilesystem
|
|
|
|
GITVERSION= b1fb7fa
|
|
FETCH_ARGS= -pRr
|
|
WRKSRC= ${WRKDIR}/mason-larobina-${PORTNAME}-${GITVERSION}
|
|
|
|
USE_GMAKE= yes
|
|
USE_GNOME= glib20 gtk20 pkgconfig
|
|
USE_LUA= 5.1+
|
|
|
|
MAN1= luakit.1
|
|
|
|
OPTIONS= LUAJIT "Use the Just-In-Time compiler for lua" off
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if defined(WITH_LUAJIT)
|
|
LIB_DEPENDS+= luajit:${PORTSDIR}/lang/luajit
|
|
CONFIGURE_ARGS+=USE_LUAJIT=1
|
|
.else
|
|
CONFIGURE_ARGS+=USE_LUAJIT=0
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|(DESTDIR)/usr|(INSTALLDIR)|' \
|
|
-e 's|(DESTDIR)|(INSTALLDIR)|' ${WRKSRC}/Makefile
|
|
@${SED} -I "" 's|/etc/xdg/luakit|${LOCALBASE}&|' \
|
|
${WRKSRC}/lib/lousy/util.lua
|
|
|
|
.include <bsd.port.mk>
|