mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
f935a609c5
supports them. This is determined by running ``configure --help'' in do-configure target and set the shell variable _LATE_CONFIGURE_ARGS which is then passed to CONFIGURE_ARGS. - Remove --mandir and --infodir in ports' Makefile where applicable Few ports use REINPLACE_CMD to achieve the same effect, remove them too. - Correct some manual pages location from PREFIX/man to MANPREFIX/man - Define INFO_PATH where necessary - Document that .info files are installed in a subdirectory relative to PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and subdirectory detection. PR: ports/111470 Approved by: portmgr Discussed with: stas (Mk/*), gerald (info related stuffs) Tested by: pointyhat exp run
57 lines
1.2 KiB
Makefile
57 lines
1.2 KiB
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: xbindkeys
|
|
# Date created: Dec 29, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xbindkeys
|
|
PORTVERSION= 1.8.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11
|
|
MASTER_SITES= http://hocwp.free.fr/xbindkeys/
|
|
|
|
MAINTAINER= araujo@FreeBSD.org
|
|
COMMENT= Allows you to launch shell commands under X with your keyboard
|
|
|
|
OPTIONS= GUILE "Guile support" off \
|
|
TCLTK "Tcl/Tk support" off
|
|
|
|
USE_XLIB= yes
|
|
USE_GNOME= gnometarget
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
MAN1= xbindkeys.1
|
|
PLIST_FILES= bin/xbindkeys %%EXAMPLESDIR%%/xbindkeysrc
|
|
PLIST_DIRS= %%EXAMPLESDIR%%
|
|
|
|
WISH= ${LOCALBASE}/bin/wish8.4
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_GUILE)
|
|
LIB_DEPENDS+= guile.15:${PORTSDIR}/lang/guile
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-guile
|
|
.endif
|
|
|
|
.if defined(WITH_TCLTK)
|
|
RUN_DEPENDS+= wish8.4:${PORTSDIR}/x11-toolkits/tk84
|
|
MAN1+= xbindkeys_show.1
|
|
PLIST_FILES+= bin/xbindkeys_show
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-tk
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's| wish | ${WISH} |g' ${WRKSRC}/xbindkeys_show
|
|
|
|
post-install:
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/xbindkeysrc ${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.post.mk>
|