1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-04 11:23:46 +00:00

Update to version 1.6.5.

PR:		58383
Submitted by:	Ports Fury
This commit is contained in:
Christian Weisgerber 2003-10-29 16:09:10 +00:00
parent 0021dc6c0c
commit 99a6666cfd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92569
3 changed files with 11 additions and 19 deletions

View File

@ -7,8 +7,7 @@
#
PORTNAME= xbindkeys
PORTVERSION= 1.6.4
PORTREVISION= 0
PORTVERSION= 1.6.5
CATEGORIES= x11
MASTER_SITES= http://hocwp.free.fr/xbindkeys/
@ -16,17 +15,20 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Allows you to launch shell commands under X with your keyboard
USE_XLIB= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-binPROGRAMS
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= xbindkeys.1
WISH= ${LOCALBASE}/bin/wish8.4
.if defined(WITH_GUI)
RUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83
RUN_DEPENDS+= wish8.4:${PORTSDIR}/x11-toolkits/tk84
MAN1+= xbindkeys_show.1
PLIST_SUB+= WITH_GUI=""
SCRIPTS_ENV+= WITH_GUI="YES"
.else
CONFIGURE_ARGS+= --disable-tk
PLIST_SUB+= WITH_GUI="@comment "
.endif
@ -37,11 +39,10 @@ pre-everything::
@${ECHO_MSG} ""
.endif
post-patch:
@${REINPLACE_CMD} -e 's| wish | ${WISH} |g' ${WRKSRC}/xbindkeys_show
post-install:
${INSTALL_MAN} ${WRKSRC}/xbindkeys.1 ${MANPREFIX}/man/man1
.if defined(WITH_GUI)
${INSTALL_MAN} ${WRKSRC}/xbindkeys_show.1 ${MANPREFIX}/man/man1
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/xbindkeysrc ${EXAMPLESDIR}

View File

@ -1 +1 @@
MD5 (xbindkeys-1.6.4.tar.gz) = d76243078c629e8093b81b4066de53f5
MD5 (xbindkeys-1.6.5.tar.gz) = 8fd208abf218a8edf642beb4afb9657b

View File

@ -1,9 +0,0 @@
#!/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