summaryrefslogtreecommitdiffstats
path: root/sysutils/keyboard-daemon/Makefile
blob: 3f20fae30b5601b5d3ea145a84bcd7177e824d31 (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
29
30
31
32
33
# $FreeBSD$

PORTNAME=	keyboard-daemon
PORTVERSION=	0.7
CATEGORIES=	sysutils
MASTER_SITES=	http://www.bayofrum.net/dist/${PORTNAME}/

MAINTAINER=	crees@FreeBSD.org
COMMENT=	Listens on a keyboard device and executes commands on keypresses

LICENSE=	BSD

BUILD_DEPENDS=	${LOCALBASE}/lib/libcfu.a:${PORTSDIR}/devel/libcfu

USE_BZIP2=	yes

USE_RC_SUBR=	${PORTNAME:S/-/_/}
PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
PORTEXAMPLES=	*

.include <bsd.port.options.mk>

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1/
.if ${PORT_OPTIONS:MEXAMPLES}
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	for f in ${WRKSRC}/examples/*; do	\
	    ${INSTALL_DATA} $$f ${STAGEDIR}${EXAMPLESDIR};	\
	done
.endif

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