Date: Fri, 4 Aug 2006 13:05:08 +0200 From: "Simon Olofsson" <simon@olofsson.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/101353: [MAINTAINER] www/xpi-surfkeys: Add Vim keybindings Message-ID: <20060804110508.D4648267AB9@mail-in-02.arcor-online.net> Resent-Message-ID: <200608041110.k74BACWF098048@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 101353 >Category: ports >Synopsis: [MAINTAINER] www/xpi-surfkeys: Add Vim keybindings >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Aug 04 11:10:12 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Simon Olofsson >Release: FreeBSD 6.1-STABLE i386 >Organization: >Environment: System: FreeBSD gul.lan.gath3n.de 6.1-STABLE FreeBSD 6.1-STABLE #27: Fri Jul 21 18:27:27 CEST 2006 >Description: Added an option to enable Vim like keybindings. The patch is ugly, but I didn't know a better way to do it. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- xpi-surfkeys-0.4.1_1.patch begins here --- diff -ruN -ruN --exclude=CVS /usr/ports/www/xpi-surfkeys/Makefile /usr/home/simon/src/ports/www/xpi-surfkeys/Makefile --- /usr/ports/www/xpi-surfkeys/Makefile Mon Jul 17 14:23:23 2006 +++ /usr/home/simon/src/ports/www/xpi-surfkeys/Makefile Fri Aug 4 13:01:37 2006 @@ -8,7 +8,10 @@ PORTNAME= surfkeys PORTVERSION= 0.4.1 DISTVERSIONSUFFIX= -fx +PORTREVISION= 1 CATEGORIES= www +PKGNAMEPREFIX= xpi- +EXTRACT_SUFX= .xpi MAINTAINER= simon@olofsson.de COMMENT= Comfortable surfing with keyboard @@ -17,5 +20,15 @@ XPI_FILES= chrome/chrome.jar chrome.manifest defaults/preferences/prefs.js install.rdf XPI_DIRS= chrome defaults/preferences defaults +OPTIONS= VIMKEYS "Make keybindings more Vim like" Off + +.include <bsd.port.pre.mk> .include "${.CURDIR}/../xpi-adblock/Makefile.xpi" -.include <bsd.port.mk> + +.if defined(WITH_VIMKEYS) +post-extract: + @${FETCH_CMD} http://olofsson.de/simon/code/surfkeys/chrome.jar + @${MV} -f chrome.jar ${WRKSRC}/chrome/chrome.jar +.endif + +.include <bsd.port.post.mk> --- xpi-surfkeys-0.4.1_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060804110508.D4648267AB9>