summaryrefslogtreecommitdiffstats
path: root/x11/xkeycaps
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>1995-02-12 15:45:09 +0000
committerjmz <jmz@FreeBSD.org>1995-02-12 15:45:09 +0000
commit0000e6b57256dc3f3079a137bba78c0e50adacf2 (patch)
treed802f469476972722e31c40c88597822b0f81ebb /x11/xkeycaps
parentb5e629e7834259814bd5c40b0d4c9059c5a115f4 (diff)
downloadFreeBSD-ports-0000e6b57256dc3f3079a137bba78c0e50adacf2.zip
FreeBSD-ports-0000e6b57256dc3f3079a137bba78c0e50adacf2.tar.gz
xkeycaps - graphically display and edit the keyboard mapping
Diffstat (limited to 'x11/xkeycaps')
-rw-r--r--x11/xkeycaps/Makefile5
-rw-r--r--x11/xkeycaps/distinfo1
-rw-r--r--x11/xkeycaps/pkg-comment1
-rw-r--r--x11/xkeycaps/pkg-descr7
-rw-r--r--x11/xkeycaps/pkg-plist5
-rw-r--r--x11/xkeycaps/scripts/configure19
6 files changed, 38 insertions, 0 deletions
diff --git a/x11/xkeycaps/Makefile b/x11/xkeycaps/Makefile
new file mode 100644
index 0000000..e5fa1ce
--- /dev/null
+++ b/x11/xkeycaps/Makefile
@@ -0,0 +1,5 @@
+DISTNAME= xkeycaps-2.28
+USE_IMAKE= yes
+MASTER_SITES= ftp://ftp.sunet.se/pub/X11/contrib/applications/
+
+.include <bsd.port.mk>
diff --git a/x11/xkeycaps/distinfo b/x11/xkeycaps/distinfo
new file mode 100644
index 0000000..f54b76b
--- /dev/null
+++ b/x11/xkeycaps/distinfo
@@ -0,0 +1 @@
+MD5 (xkeycaps-2.28.tar.gz) = fe2170c9f828a4af8913d13aabbc8fcd
diff --git a/x11/xkeycaps/pkg-comment b/x11/xkeycaps/pkg-comment
new file mode 100644
index 0000000..aefda76
--- /dev/null
+++ b/x11/xkeycaps/pkg-comment
@@ -0,0 +1 @@
+xkeycaps - graphically display and edit the keyboard mapping
diff --git a/x11/xkeycaps/pkg-descr b/x11/xkeycaps/pkg-descr
new file mode 100644
index 0000000..8ca37ff
--- /dev/null
+++ b/x11/xkeycaps/pkg-descr
@@ -0,0 +1,7 @@
+xkeycaps is a graphical front-end to xmodmap. It opens a window that looks
+like a keyboard; moving the mouse over a key shows what KeySyms and Modifier
+bits that key generates. Clicking on a key simulates KeyPress/KeyRelease
+events on the window of your choice. It is possible to change the KeySyms
+and Modifiers generated by a key through a mouse-based interface. This
+program can also write an input file for xmodmap to recreate your changes
+in future sessions.
diff --git a/x11/xkeycaps/pkg-plist b/x11/xkeycaps/pkg-plist
new file mode 100644
index 0000000..2199b62
--- /dev/null
+++ b/x11/xkeycaps/pkg-plist
@@ -0,0 +1,5 @@
+@cd /usr/local
+@mode 755
+bin/xkeycaps
+@mode 444
+man/man1/xkeycaps.1.gz
diff --git a/x11/xkeycaps/scripts/configure b/x11/xkeycaps/scripts/configure
new file mode 100644
index 0000000..43e8e33
--- /dev/null
+++ b/x11/xkeycaps/scripts/configure
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+cd $WRKSRC || exit 1
+
+#mv Imakefile Imakefile.orig
+#sed -e s/linux/freebsd/ <Imakefile.orig >Imakefile
+cat >> Imakefile << elifekamI
+BINDIR=$PREFIX/bin
+MANDIR=$PREFIX/man/man1
+
+KBD_DEFINES = -DDEFAULT_KBD_NAME="\"L101-3\""
+
+elifekamI
+
+cd kbds
+mv all-kbds.h all-kbds.h.orig
+sed -e s/Linux/FreeBSD/ <all-kbds.h.orig>all-kbds.h
+
+exit 0
OpenPOWER on IntegriCloud