1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/x11/xkeycaps/scripts/configure

20 lines
346 B
Plaintext
Raw Normal View History

#!/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