mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
5098d66096
* added scripts/post-install * bumped PORTREVISION, because xbindkeys_show does not work prior to these changes PR: 36366 Submitted by: maintainer
10 lines
365 B
Bash
10 lines
365 B
Bash
#!/bin/sh
|
|
|
|
if [ ${WITH_GUI} ]
|
|
then
|
|
WISHPROGNAME=`ls $(echo $PATH | sed 's/:/ /g') 2> /dev/null | egrep '^wish(step)?(x|([0-9]+\.[0-9]+))([a-z][a-z])?$' | head -1`
|
|
sed -e "s/wish/${WISHPROGNAME}/" < ${WRKSRC}/xbindkeys_show > ${WRKSRC}/xbindkeys_show.fix
|
|
chmod a+x ${WRKSRC}/xbindkeys_show.fix
|
|
cp -p ${WRKSRC}/xbindkeys_show.fix ${PREFIX}/bin/xbindkeys_show
|
|
fi
|