aboutsummaryrefslogtreecommitdiff
path: root/x11/xkeycaps
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>1995-02-12 15:45:09 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>1995-02-12 15:45:09 +0000
commit240fb85518ffb769670cefdaf8adb6229a3541a7 (patch)
tree82c6081ab25385230dcd5736be791164e2779446 /x11/xkeycaps
parentaced268df12c02113002565bc5af0dcf0fa98670 (diff)
downloadports-240fb85518ffb769670cefdaf8adb6229a3541a7.tar.gz
ports-240fb85518ffb769670cefdaf8adb6229a3541a7.zip
Notes
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 000000000000..e5fa1ceb23bb
--- /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 000000000000..f54b76b42458
--- /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 000000000000..aefda764427c
--- /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 000000000000..8ca37ff14680
--- /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 000000000000..2199b62138e7
--- /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 000000000000..43e8e33b1901
--- /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