diff options
author | naddy <naddy@FreeBSD.org> | 2003-10-30 00:09:10 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2003-10-30 00:09:10 +0800 |
commit | 178c2268fa3fdd2e5c56d82681c4665e533d7e96 (patch) | |
tree | 5271bc35d9c46b52a45f4a61ed118f3c8b787720 /x11/xbindkeys | |
parent | f3899c9508e38d950064bc2fda55aeef562880d3 (diff) | |
download | freebsd-ports-gnome-178c2268fa3fdd2e5c56d82681c4665e533d7e96.tar.gz freebsd-ports-gnome-178c2268fa3fdd2e5c56d82681c4665e533d7e96.tar.zst freebsd-ports-gnome-178c2268fa3fdd2e5c56d82681c4665e533d7e96.zip |
Update to version 1.6.5.
PR: 58383
Submitted by: Ports Fury
Diffstat (limited to 'x11/xbindkeys')
-rw-r--r-- | x11/xbindkeys/Makefile | 19 | ||||
-rw-r--r-- | x11/xbindkeys/distinfo | 2 | ||||
-rw-r--r-- | x11/xbindkeys/scripts/post-install | 9 |
3 files changed, 11 insertions, 19 deletions
diff --git a/x11/xbindkeys/Makefile b/x11/xbindkeys/Makefile index 98fc19d7bd02..310c8b3f7fc1 100644 --- a/x11/xbindkeys/Makefile +++ b/x11/xbindkeys/Makefile @@ -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} diff --git a/x11/xbindkeys/distinfo b/x11/xbindkeys/distinfo index ce8212247684..254f47429a41 100644 --- a/x11/xbindkeys/distinfo +++ b/x11/xbindkeys/distinfo @@ -1 +1 @@ -MD5 (xbindkeys-1.6.4.tar.gz) = d76243078c629e8093b81b4066de53f5 +MD5 (xbindkeys-1.6.5.tar.gz) = 8fd208abf218a8edf642beb4afb9657b diff --git a/x11/xbindkeys/scripts/post-install b/x11/xbindkeys/scripts/post-install deleted file mode 100644 index 7b1650fba88a..000000000000 --- a/x11/xbindkeys/scripts/post-install +++ /dev/null @@ -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 |