forked from Lainports/freebsd-ports
* added scripts/post-install * bumped PORTREVISION, because xbindkeys_show does not work prior to these changes PR: 36366 Submitted by: maintainer
9 lines
365 B
Bash
9 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
|