aboutsummaryrefslogtreecommitdiff
path: root/x11/xbindkeys
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-08-20 18:33:21 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-08-20 18:33:21 +0000
commit8d7545ebef101d5eac778ab356bfc22eb39d9408 (patch)
tree9f7ecf3a980ba574d93009a36aea774482130a47 /x11/xbindkeys
parent997154993c4f113a98739f81c3d29766deef98b7 (diff)
downloadports-8d7545ebef101d5eac778ab356bfc22eb39d9408.tar.gz
ports-8d7545ebef101d5eac778ab356bfc22eb39d9408.zip
Notes
Diffstat (limited to 'x11/xbindkeys')
-rw-r--r--x11/xbindkeys/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/x11/xbindkeys/Makefile b/x11/xbindkeys/Makefile
index 52561834cf04..2bf6a02033b4 100644
--- a/x11/xbindkeys/Makefile
+++ b/x11/xbindkeys/Makefile
@@ -25,6 +25,11 @@ MAN1= xbindkeys.1
WISH= ${LOCALBASE}/bin/wish8.4
+OPTIONS= GUILE "Guile support" off \
+ TCLTK "Tcl/Tk support" off
+
+.include <bsd.port.pre.mk>
+
.if defined(WITH_GUILE)
LIB_DEPENDS+= guile.15:${PORTSDIR}/lang/guile
.else
@@ -40,14 +45,6 @@ CONFIGURE_ARGS+= --disable-tk
PLIST_SUB+= TCLTK="@comment "
.endif
-pre-everything::
- @${ECHO_MSG} ""
- @${ECHO_MSG} "XbindKeys has the following tunable options:"
- @${ECHO_MSG} ""
- @${ECHO_MSG} " WITH_GUILE=yes Turns on Guile support"
- @${ECHO_MSG} " WITH_TCLTK=yes Turns on Tcl/Tk support"
- @${ECHO_MSG} ""
-
post-patch:
@${REINPLACE_CMD} -e 's| wish | ${WISH} |g' ${WRKSRC}/xbindkeys_show
@@ -57,4 +54,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/xbindkeysrc ${EXAMPLESDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>