use the tk module and corresponding variables instead of hardcoding stuff

tweaked and ok sthen@
This commit is contained in:
steven 2009-08-10 21:17:50 +00:00
parent a0739f17c4
commit 2780a1d7c5
2 changed files with 7 additions and 13 deletions

View File

@ -1,7 +1,8 @@
# $OpenBSD: Makefile,v 1.5 2009/02/02 10:28:41 pea Exp $
# $OpenBSD: Makefile,v 1.6 2009/08/10 21:17:50 steven Exp $
COMMENT= bind keys or mouse buttons to shell commands under X11
DISTNAME= xbindkeys-1.8.3
PKGNAME= ${DISTNAME}p0
CATEGORIES= x11
HOMEPAGE= http://hocwp.free.fr/xbindkeys/xbindkeys.html
@ -15,11 +16,15 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://hocwp.free.fr/xbindkeys/
WANTLIB= X11 c
RUN_DEPENDS= ::x11/tk/8.4
MODULES= x11/tk
RUN_DEPENDS= ${MODTK_RUN_DEPENDS}
USE_X11= Yes
SEPARATE_BUILD= simple
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --disable-guile
pre-configure:
${MODTCL_WISH_ADJ} ${WRKSRC}/xbindkeys_show
.include <bsd.port.mk>

View File

@ -1,11 +0,0 @@
$OpenBSD: patch-xbindkeys_show,v 1.1.1.1 2007/04/11 16:19:49 naddy Exp $
--- xbindkeys_show.orig Wed Apr 11 17:31:49 2007
+++ xbindkeys_show Wed Apr 11 17:31:56 2007
@@ -1,6 +1,6 @@
#!/bin/sh
# \
-exec wish "$0" "$@"
+exec wish8.4 "$0" "$@"
#***************************************************************************