blob: b34276f9d6c873d2dcc9474a1cb699740702adc4 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# $FreeBSD$
PORTNAME= synergy
PORTVERSION= 1.8.2
CATEGORIES= sysutils
MAINTAINER= kevlo@FreeBSD.org
COMMENT= Mouse and keyboard sharing utility
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_powerpc64= Does not build
USES= cmake cpe
CPE_VENDOR= synergy-foss
USE_XORG= ice xtst x11 sm xext xinerama xrandr xi
USE_GITHUB= yes
GH_ACCOUNT= symless
DISTVERSIONPREFIX= v
DISTVERSIONSUFFIX= -stable
LIB_DEPENDS= libcurl.so:ftp/curl
MAKE_JOBS_UNSAFE=yes
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
PLIST_FILES= bin/synergyc bin/synergyd bin/synergys \
man/man1/synergyc.1.gz man/man1/synergys.1.gz
PORTEXAMPLES= synergy.conf.example synergy.conf.example-basic \
synergy.conf.example-advanced
OPTIONS_DEFINE= EXAMPLES
BROKEN_sparc64= cannot build: C++ code errors
post-extract:
@${MKDIR} ${WRKSRC}/ext/gtest-1.6.0
@${TAR} xf ${WRKSRC}/ext/gtest-1.6.0.zip -C ${WRKSRC}/ext/gtest-1.6.0
do-install:
.for f in synergyc synergyd synergys
${INSTALL_PROGRAM} ${WRKSRC}/bin/${f} ${STAGEDIR}${PREFIX}/bin
.endfor
${INSTALL_MAN} ${WRKSRC}/doc/synergyc.man \
${STAGEDIR}${MANPREFIX}/man/man1/synergyc.1
${INSTALL_MAN} ${WRKSRC}/doc/synergys.man \
${STAGEDIR}${MANPREFIX}/man/man1/synergys.1
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>
|