diff options
author | pawel <pawel@FreeBSD.org> | 2013-02-19 07:02:08 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2013-02-19 07:02:08 +0800 |
commit | 7fb9b8da49ad56213f49403420f6203ca004a18d (patch) | |
tree | f086de9bd02335dcc09dbe29803de9618e4313d1 /www/luakit | |
parent | 393ea117c646b2b0a965d06b1e2f96f5e65a95e9 (diff) | |
download | freebsd-ports-gnome-7fb9b8da49ad56213f49403420f6203ca004a18d.tar.gz freebsd-ports-gnome-7fb9b8da49ad56213f49403420f6203ca004a18d.tar.zst freebsd-ports-gnome-7fb9b8da49ad56213f49403420f6203ca004a18d.zip |
- Update to version 2012.09.13-r1
- USE_GITHUB instead direct download
- REINPLACE_CMD instead patches
While here:
- Make BUILD,RUN_DEPENDS path independent
- Add dependency on devel/dbus-glib
- Replace deprecated USE_GNOME=pkgconfig with USE_PKGCONFIG
- Convert to OptionsNG
- Trim Makefile header
PR: ports/174457
Submitted by: Green Dog <fiziologus@gmail.com>
Approved by: maintainer timeout
Diffstat (limited to 'www/luakit')
-rw-r--r-- | www/luakit/Makefile | 50 | ||||
-rw-r--r-- | www/luakit/distinfo | 4 | ||||
-rw-r--r-- | www/luakit/files/patch-config.mk | 16 | ||||
-rw-r--r-- | www/luakit/files/patch-gentokens | 9 | ||||
-rw-r--r-- | www/luakit/pkg-plist | 37 |
5 files changed, 49 insertions, 67 deletions
diff --git a/www/luakit/Makefile b/www/luakit/Makefile index 5eabcdc55ec9..19b437f5f1d5 100644 --- a/www/luakit/Makefile +++ b/www/luakit/Makefile @@ -1,38 +1,38 @@ -# New ports collection makefile for: luakit -# Date created: 2012-03-23 -# Whom: gugabsd <gugabsd@mundounix.com.br> -# +# Created by: gugabsd <gugabsd@mundounix.com.br> # $FreeBSD$ -# PORTNAME= luakit -PORTVERSION= 2011.07.22 -PORTREVISION= 1 +PORTVERSION= 2012.09.13r1 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 +BUILD_DEPENDS= help2man:${PORTSDIR}/misc/help2man +LIB_DEPENDS= dbus-glib-1:${PORTSDIR}/devel/dbus-glib \ + sqlite3:${PORTSDIR}/databases/sqlite3 \ + webkitgtk-1:${PORTSDIR}/www/webkit-gtk2 \ + unique-1:${PORTSDIR}/x11-toolkits/unique +RUN_DEPENDS= ${LUA_PKGNAMEPREFIX}luafilesystem>=0:${PORTSDIR}/devel/luafilesystem -GITVERSION= b1fb7fa -FETCH_ARGS= -pRr -WRKSRC= ${WRKDIR}/mason-larobina-${PORTNAME}-${GITVERSION} +USE_GITHUB= yes +GH_ACCOUNT= mason-larobina +GH_PROGECT= ${PORTNAME} +GH_TAGNAME= ${PORTVERSION:C/r/-r/} +GH_COMMIT= 0d5f4ab USE_GMAKE= yes -USE_GNOME= glib20 gtk20 pkgconfig -USE_LUA= 5.1+ +USE_PKGCONFIG= build +USE_GNOME= glib20 gtk20 +USE_LUA= 5.1 +MAKE_ARGS+= USE_UNIQUE=1 NO_JAVASCRIPTCORE=1 MAN1= luakit.1 -OPTIONS= LUAJIT "Use the Just-In-Time compiler for lua" off +OPTIONS_DEFINE= LUAJIT +LUAJIT_DESC= Use the Just-In-Time compiler for lua .include <bsd.port.options.mk> @@ -40,11 +40,11 @@ OPTIONS= LUAJIT "Use the Just-In-Time compiler for lua" off BROKEN= Does not install on sparc64 .endif -.if defined(WITH_LUAJIT) +.if ${PORT_OPTIONS:MLUAJIT} LIB_DEPENDS+= luajit:${PORTSDIR}/lang/luajit -CONFIGURE_ARGS+=USE_LUAJIT=1 +MAKE_ARGS+= USE_LUAJIT=1 .else -CONFIGURE_ARGS+=USE_LUAJIT=0 +MAKE_ARGS+= USE_LUAJIT=0 .endif post-patch: @@ -52,5 +52,11 @@ post-patch: -e 's|(DESTDIR)|(INSTALLDIR)|' ${WRKSRC}/Makefile @${SED} -I "" 's|/etc/xdg/luakit|${LOCALBASE}&|' \ ${WRKSRC}/lib/lousy/util.lua + @${REINPLACE_CMD} -e \ + 's|share/man|man| ; s|luakit/docs|doc/luakit| ; \ + /MANPREFIX */s|?=|=|' \ + ${WRKSRC}/config.mk + @${REINPLACE_CMD} -e 's|bin/env lua|&-${LUA_VER}|' \ + ${WRKSRC}/build-utils/gentokens.lua .include <bsd.port.mk> diff --git a/www/luakit/distinfo b/www/luakit/distinfo index c8a469483976..41dd25bd1331 100644 --- a/www/luakit/distinfo +++ b/www/luakit/distinfo @@ -1,2 +1,2 @@ -SHA256 (luakit-2011.07.22.tar.gz) = 8a0d5ce7657de5dde270a691911b26822cb3259b8bf5a0fcf6c02f7748ad4a3d -SIZE (luakit-2011.07.22.tar.gz) = 148704 +SHA256 (luakit-2012.09.13r1.tar.gz) = 688950fda11f032976998b52ba6505fc1bf5bba40552293f9ddc748b00f76132 +SIZE (luakit-2012.09.13r1.tar.gz) = 215431 diff --git a/www/luakit/files/patch-config.mk b/www/luakit/files/patch-config.mk deleted file mode 100644 index 2ebfbee662d0..000000000000 --- a/www/luakit/files/patch-config.mk +++ /dev/null @@ -1,16 +0,0 @@ -diff -r 1a525885c788 config.mk ---- config.mk Fri Mar 23 23:55:52 2012 -0300 -+++ config.mk Fri Mar 23 23:57:41 2012 -0300 -@@ -5,10 +5,10 @@ - PREFIX ?= /usr/local - INSTALLDIR := $(DESTDIR)$(PREFIX) - --MANPREFIX ?= $(PREFIX)/share/man -+MANPREFIX := $(PREFIX)/man - MANPREFIX := $(DESTDIR)$(MANPREFIX) - --DOCDIR ?= $(PREFIX)/share/luakit/docs -+DOCDIR ?= $(PREFIX)/share/doc/luakit - DOCDIR := $(DESTDIR)$(DOCDIR) - - # Use the Just-In-Time compiler for lua (for faster lua code execution) diff --git a/www/luakit/files/patch-gentokens b/www/luakit/files/patch-gentokens deleted file mode 100644 index b35d6ff48fcd..000000000000 --- a/www/luakit/files/patch-gentokens +++ /dev/null @@ -1,9 +0,0 @@ -diff -r 25cc3a246cba build-utils/gentokens.lua ---- build-utils/gentokens.lua Fri Mar 23 22:32:16 2012 -0300 -+++ build-utils/gentokens.lua Fri Mar 23 22:33:52 2012 -0300 -@@ -1,4 +1,4 @@ --#!/usr/bin/env lua -+#!/usr/local/bin/lua-5.1 - - -- build-utils/gentokens.lua - gen tokenize lib - -- diff --git a/www/luakit/pkg-plist b/www/luakit/pkg-plist index 85bdfc783b4c..b8a638042d8c 100644 --- a/www/luakit/pkg-plist +++ b/www/luakit/pkg-plist @@ -1,4 +1,3 @@ -@comment $FreeBSD$ bin/luakit etc/xdg/luakit/binds.lua etc/xdg/luakit/globals.lua @@ -12,26 +11,16 @@ share/doc/luakit/README.md share/doc/luakit/AUTHORS share/doc/luakit/COPYING share/doc/luakit/COPYING.GPLv3 -share/luakit/lib/lousy/widget/init.lua -share/luakit/lib/lousy/widget/menu.lua -share/luakit/lib/lousy/widget/tablist.lua -share/luakit/lib/lousy/init.lua -share/luakit/lib/lousy/mode.lua -share/luakit/lib/lousy/signal.lua -share/luakit/lib/lousy/bind.lua -share/luakit/lib/lousy/uri.lua -share/luakit/lib/lousy/util.lua -share/luakit/lib/lousy/theme.lua -share/luakit/lib/follow/binds.lua -share/luakit/lib/follow/init.lua -share/luakit/lib/follow/modes.lua -share/luakit/lib/follow/styles.lua +share/luakit/lib/bookmarks.lua +share/luakit/lib/bookmarks_chrome.lua +share/luakit/lib/chrome.lua share/luakit/lib/cmdhist.lua share/luakit/lib/completion.lua share/luakit/lib/cookie_blocking.lua share/luakit/lib/cookies.lua share/luakit/lib/downloads.lua share/luakit/lib/downloads_chrome.lua +share/luakit/lib/follow.lua share/luakit/lib/follow_selected.lua share/luakit/lib/formfiller.lua share/luakit/lib/go_input.lua @@ -39,6 +28,20 @@ share/luakit/lib/go_next_prev.lua share/luakit/lib/go_up.lua share/luakit/lib/history.lua share/luakit/lib/history_chrome.lua +share/luakit/lib/introspector.lua +share/luakit/lib/jquery.min.js +share/luakit/lib/lousy/bind.lua +share/luakit/lib/lousy/init.lua +share/luakit/lib/lousy/load.lua +share/luakit/lib/lousy/mode.lua +share/luakit/lib/lousy/signal.lua +share/luakit/lib/lousy/theme.lua +share/luakit/lib/lousy/uri.lua +share/luakit/lib/lousy/util.lua +share/luakit/lib/lousy/widget/init.lua +share/luakit/lib/lousy/widget/menu.lua +share/luakit/lib/lousy/widget/tablist.lua +share/luakit/lib/markdown.lua share/luakit/lib/noscript.lua share/luakit/lib/proxy.lua share/luakit/lib/quickmarks.lua @@ -47,13 +50,11 @@ share/luakit/lib/session.lua share/luakit/lib/tabhistory.lua share/luakit/lib/taborder.lua share/luakit/lib/undoclose.lua -share/luakit/lib/bookmarks.lua share/luakit/lib/userscripts.lua -share/luakit/lib/chrome.lua +share/luakit/lib/webinspector.lua share/pixmaps/luakit.png @dirrm share/luakit/lib/lousy/widget @dirrm share/luakit/lib/lousy -@dirrm share/luakit/lib/follow @dirrm share/luakit/lib @dirrm share/luakit @dirrm share/doc/luakit |