summaryrefslogtreecommitdiffstats
path: root/x11/xkeycaps/scripts
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/scripts
parentb5e629e7834259814bd5c40b0d4c9059c5a115f4 (diff)
downloadFreeBSD-ports-0000e6b57256dc3f3079a137bba78c0e50adacf2.zip
FreeBSD-ports-0000e6b57256dc3f3079a137bba78c0e50adacf2.tar.gz
xkeycaps - graphically display and edit the keyboard mapping
Diffstat (limited to 'x11/xkeycaps/scripts')
-rw-r--r--x11/xkeycaps/scripts/configure19
1 files changed, 19 insertions, 0 deletions
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