aboutsummaryrefslogtreecommitdiffstats
path: root/x11/keylaunch/Makefile
blob: a85bab2264611ac8f2c694ba9dddbf40912a3e2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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>