2001-12-29 16:04:03 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: xbindkeys
|
|
|
|
# Date created: Dec 29, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xbindkeys
|
2009-02-01 22:25:38 +01:00
|
|
|
PORTVERSION= 1.8.3
|
2001-12-29 16:04:03 +01:00
|
|
|
CATEGORIES= x11
|
|
|
|
MASTER_SITES= http://hocwp.free.fr/xbindkeys/
|
|
|
|
|
2010-07-11 20:41:15 +02:00
|
|
|
MAINTAINER= ports@eitanadler.com
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= Allows you to launch shell commands under X with your keyboard
|
2001-12-29 16:04:03 +01:00
|
|
|
|
2007-01-09 22:48:50 +01:00
|
|
|
OPTIONS= GUILE "Guile support" off \
|
|
|
|
TCLTK "Tcl/Tk support" off
|
|
|
|
|
2008-03-23 17:44:09 +01:00
|
|
|
USE_XORG= x11 xi
|
2004-01-05 02:57:50 +01:00
|
|
|
USE_GNOME= gnometarget
|
2002-09-20 08:38:19 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2004-01-12 15:10:35 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2002-03-27 15:06:50 +01:00
|
|
|
|
2004-01-12 15:10:35 +01:00
|
|
|
MAN1= xbindkeys.1
|
2007-01-09 22:48:50 +01:00
|
|
|
PLIST_FILES= bin/xbindkeys %%EXAMPLESDIR%%/xbindkeysrc
|
|
|
|
PLIST_DIRS= %%EXAMPLESDIR%%
|
2002-09-20 08:38:19 +02:00
|
|
|
|
2003-10-29 17:09:10 +01:00
|
|
|
WISH= ${LOCALBASE}/bin/wish8.4
|
|
|
|
|
2004-08-20 20:33:21 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-01-12 15:10:35 +01:00
|
|
|
.if defined(WITH_GUILE)
|
2009-01-22 17:04:11 +01:00
|
|
|
LIB_DEPENDS+= guile.20:${PORTSDIR}/lang/guile
|
2002-03-27 15:06:50 +01:00
|
|
|
.else
|
2004-01-12 15:10:35 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-guile
|
2002-03-27 15:06:50 +01:00
|
|
|
.endif
|
|
|
|
|
2004-01-12 15:10:35 +01:00
|
|
|
.if defined(WITH_TCLTK)
|
|
|
|
RUN_DEPENDS+= wish8.4:${PORTSDIR}/x11-toolkits/tk84
|
|
|
|
MAN1+= xbindkeys_show.1
|
2005-05-09 20:22:29 +02:00
|
|
|
PLIST_FILES+= bin/xbindkeys_show
|
2004-01-05 02:57:50 +01:00
|
|
|
.else
|
2004-01-12 15:10:35 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-tk
|
2004-01-05 02:57:50 +01:00
|
|
|
.endif
|
|
|
|
|
2003-10-29 17:09:10 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's| wish | ${WISH} |g' ${WRKSRC}/xbindkeys_show
|
|
|
|
|
2001-12-29 16:04:03 +01:00
|
|
|
post-install:
|
2002-09-20 08:38:19 +02:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/xbindkeysrc ${EXAMPLESDIR}
|
2001-12-29 16:04:03 +01:00
|
|
|
|
2004-08-20 20:33:21 +02:00
|
|
|
.include <bsd.port.post.mk>
|