blob: d3490ed345a8a2d8b040c410fd7295a297dd02e2 (
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
34
35
36
37
38
39
|
PORTNAME= netevent
DISTVERSION= 0.2.1-79
PORTREVISION= 2
DISTVERSIONSUFFIX= -g37c47a4
CATEGORIES= sysutils
MAINTAINER= greg@unrelenting.technology
COMMENT= Tool for sharing uinput devices with other machines
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto
USES= compiler:c++14-lang gmake localbase
USE_GITHUB= yes
GH_ACCOUNT= Blub
HAS_CONFIGURE= yes
CPPFLAGS+= -D_WITH_GETLINE # XXX Remove after FreeBSD 11 EOL
OPTIONS_DEFINE= EXAMPLES MANPAGES
OPTIONS_DEFAULT= EXAMPLES MANPAGES
OPTIONS_SUB= MANPAGES
MANPAGES_BUILD_DEPENDS= rst2man:textproc/py-docutils
MANPAGES_CONFIGURE_OFF= --disable-doc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
do-install-MANPAGES-on:
${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
do-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/simple.ne2 ${STAGEDIR}${EXAMPLESDIR}/
.include <bsd.port.mk>
|