summaryrefslogtreecommitdiffstats
path: root/converters/showkey/Makefile
blob: 9b0ab2a710087334d589886e84a1b1d2b0e6bb2a (plain)
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: trevor
# $FreeBSD$

PORTNAME=	showkey
PORTVERSION=	1.7
CATEGORIES=	converters
MASTER_SITES=	http://catb.org/~esr/showkey/

MAINTAINER=	snkoppenaal@gmail.com
COMMENT=	Display cooked key sequences (keycap-to-keystrokes mappings)

LICENSE=	MIT

MAKE_ARGS=	CC="${CC} ${CFLAGS}"
ALL_TARGET=	showkey

PLIST_FILES=	bin/showkey man/man1/showkey.1.gz
PORTDOCS=	NEWS README

OPTIONS_DEFINE=	DOCS

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/showkey ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/showkey.1 ${STAGEDIR}${MANPREFIX}/man/man1
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud