diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-03-27 14:06:50 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-03-27 14:06:50 +0000 |
commit | ef2f9c170618c32fb260f5f08d82432cf75f2d11 (patch) | |
tree | 01ac6ecae8b5e9b78b787a3ab94962fb1ef67302 /x11/xbindkeys/Makefile | |
parent | 86f0e3eb27a3af7e6a39882536bf150518720022 (diff) | |
download | FreeBSD-ports-ef2f9c170618c32fb260f5f08d82432cf75f2d11.zip FreeBSD-ports-ef2f9c170618c32fb260f5f08d82432cf75f2d11.tar.gz |
* added knob WITH_GUI
* added scripts/post-install
* bumped PORTREVISION, because xbindkeys_show does not work prior to
these changes
PR: 36366
Submitted by: maintainer
Diffstat (limited to 'x11/xbindkeys/Makefile')
-rw-r--r-- | x11/xbindkeys/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/x11/xbindkeys/Makefile b/x11/xbindkeys/Makefile index 84e0ec2..a0e7011 100644 --- a/x11/xbindkeys/Makefile +++ b/x11/xbindkeys/Makefile @@ -8,17 +8,34 @@ PORTNAME= xbindkeys PORTVERSION= 1.4.1 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= http://hocwp.free.fr/xbindkeys/ MAINTAINER= obraun@informatik.unibw-muenchen.de +INSTALL_TARGET= install-binPROGRAMS install-man + +.if defined(WITH_GUI) +RUN_DEPENDS= wish:${PORTSDIR}/x11-toolkits/tk83 +PLIST_SUB+= WITH_GUI="" +.else +PLIST_SUB+= WITH_GUI="@comment " +.endif + USE_XLIB= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${X11BASE}/include" MAN1= xbindkeys.1 xbindkeys_show.1 +pre-fetch: +.if !defined(WITH_GUI) + @${ECHO} "" + @${ECHO} " Define WITH_GUI to install xbindkeys_show (requires Tk)" + @${ECHO} "" +.endif + .if !defined(NOPORTDOCS) post-install: @${MKDIR} ${EXAMPLESDIR} |