opnsense-ports/x11/keylaunch/Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

28 lines
651 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= 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>