freebsd-ports/x11/xbindkeys/Makefile

51 lines
1.1 KiB
Makefile
Raw Normal View History

# ex:ts=8
# New ports collection makefile for: xbindkeys
# Date created: Dec 29, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= xbindkeys
2003-04-10 13:24:51 +02:00
PORTVERSION= 1.6.4
2002-11-13 18:06:32 +01:00
PORTREVISION= 0
CATEGORIES= x11
MASTER_SITES= http://hocwp.free.fr/xbindkeys/
2002-09-05 10:41:17 +02:00
MAINTAINER= ports@FreeBSD.org
2003-02-20 20:21:36 +01:00
COMMENT= Allows you to launch shell commands under X with your keyboard
USE_XLIB= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-binPROGRAMS
MAN1= xbindkeys.1
.if defined(WITH_GUI)
RUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83
MAN1+= xbindkeys_show.1
PLIST_SUB+= WITH_GUI=""
SCRIPTS_ENV+= WITH_GUI="YES"
.else
PLIST_SUB+= WITH_GUI="@comment "
.endif
pre-everything::
.if !defined(WITH_GUI)
@${ECHO_MSG} ""
@${ECHO_MSG} " Define WITH_GUI to install xbindkeys_show (requires Tk)"
@${ECHO_MSG} ""
.endif
post-install:
${INSTALL_MAN} ${WRKSRC}/xbindkeys.1 ${MANPREFIX}/man/man1
.if defined(WITH_GUI)
${INSTALL_MAN} ${WRKSRC}/xbindkeys_show.1 ${MANPREFIX}/man/man1
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/xbindkeysrc ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>