aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-11-06 18:33:54 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-11-06 18:33:54 +0000
commitc605de2081c192502905f6285dd43ef9ca08d6ac (patch)
tree2ce4dc407666aaf1f9199b97b46ca2834e729ae4 /x11
parent22e20c2aa108e3d8f834c955eee9cdbacb66b24c (diff)
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/xbindkeys/Makefile24
1 files changed, 6 insertions, 18 deletions
diff --git a/x11/xbindkeys/Makefile b/x11/xbindkeys/Makefile
index e86ebafbdbea..4f361c350f2a 100644
--- a/x11/xbindkeys/Makefile
+++ b/x11/xbindkeys/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xbindkeys
PORTVERSION= 1.8.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11
MASTER_SITES= http://www.nongnu.org/xbindkeys/
@@ -20,24 +20,12 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/xbindkeys %%EXAMPLESDIR%%/xbindkeysrc man/man1/xbindkeys.1.gz
-PLIST_DIRS= %%EXAMPLESDIR%%
-WISH= ${LOCALBASE}/bin/wish8.4
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MGUILE}
-LIB_DEPENDS+= libguile.so:${PORTSDIR}/lang/guile
-.else
-CONFIGURE_ARGS+= --disable-guile
-.endif
-
-.if ${PORT_OPTIONS:MTCL}
-RUN_DEPENDS+= wish8.4:${PORTSDIR}/x11-toolkits/tk84
-PLIST_FILES+= bin/xbindkeys_show man/man1/xbindkeys_show.1.gz
-.else
-CONFIGURE_ARGS+= --disable-tk
-.endif
+TCL_USES= tk
+TCL_CONFIGURE_OFF= --disable-tk
+TCL_PLIST_FILES= bin/xbindkeys_show man/man1/xbindkeys_show.1.gz
+GUILE_LIB_DEPENDS= libguile.so:${PORTSDIR}/lang/guile
+GUILE_CONFIGURE_OFF= --disable-guile
post-patch:
@${REINPLACE_CMD} -e 's| wish | ${WISH} |g' ${WRKSRC}/xbindkeys_show