ports/101353: [MAINTAINER] www/xpi-surfkeys: Add Vim keybindings

Simon Olofsson simon at olofsson.de
Fri Aug 4 11:10:14 UTC 2006

>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
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 04 11:10:12 GMT 2006
>Originator:     Simon Olofsson
>Release:        FreeBSD 6.1-STABLE i386
System: FreeBSD gul.lan.gath3n.de 6.1-STABLE FreeBSD 6.1-STABLE #27: Fri Jul 21 18:27:27 CEST 2006
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

--- 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
 MAINTAINER=	simon at 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)
+	@${FETCH_CMD} http://olofsson.de/simon/code/surfkeys/chrome.jar
+	@${MV} -f chrome.jar ${WRKSRC}/chrome/chrome.jar
+.include <bsd.port.post.mk>
--- xpi-surfkeys-0.4.1_1.patch ends here ---


More information about the freebsd-ports-bugs mailing list