diff options
Diffstat (limited to 'x11/xkeycaps/scripts')
-rw-r--r-- | x11/xkeycaps/scripts/configure | 19 |
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 |