diff options
author | pav <pav@FreeBSD.org> | 2004-08-21 02:33:21 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-08-21 02:33:21 +0800 |
commit | 24f4bf8894937b23efd8873815e2b3948a13f63c (patch) | |
tree | 7f035e9dd95b8b6f0b9d6e42e6b7ee341c675115 /x11 | |
parent | 2684dfe91a0f3cfd2ef40e840da99fb4a8ee16aa (diff) | |
download | freebsd-ports-gnome-24f4bf8894937b23efd8873815e2b3948a13f63c.tar.gz freebsd-ports-gnome-24f4bf8894937b23efd8873815e2b3948a13f63c.tar.zst freebsd-ports-gnome-24f4bf8894937b23efd8873815e2b3948a13f63c.zip |
- Convert to OPTIONS
PR: ports/70717
Submitted by: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xbindkeys/Makefile | 15 |
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> |