1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/x11/keylaunch/Makefile
Vanilla I. Shu 00bda700bc Support stagedir.
Approved by:	portmgr (blanket infrastructure)
2014-01-11 10:03:45 +00:00

29 lines
654 B
Makefile

# Created by: mwm@mired.org
# $FreeBSD$
PORTNAME= keylaunch
PORTVERSION= 1.3.0
PORTREVISION= 3
CATEGORIES= x11
MASTER_SITES= http://www.mired.org/downloads/
MAINTAINER= mwm@mired.org
COMMENT= An X utility for binding commands to a hot key
WRKSRC= ${WRKDIR}/keylaunch
USES= perl5 gmake
USE_PERL5= build
USE_XORG= x11
SUB_FILES= pkg-message
post-patch:
@${REINPLACE_CMD} -i '' -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/keylaunch ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example_rc ${STAGEDIR}${EXAMPLESDIR}/keylaunch.rc
.include <bsd.port.mk>