aboutsummaryrefslogtreecommitdiff
path: root/sysutils/synergy
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2011-03-11 02:34:26 +0000
committerKevin Lo <kevlo@FreeBSD.org>2011-03-11 02:34:26 +0000
commit5a158e4af20edb1cbb3ee330ba7b38e345a89c8f (patch)
treec61241b1c365313d99f2260dcc844d5e391d11c9 /sysutils/synergy
parent2dba223ba6d841b50ba041c1a2393213a8af1ca4 (diff)
downloadports-5a158e4af20edb1cbb3ee330ba7b38e345a89c8f.tar.gz
ports-5a158e4af20edb1cbb3ee330ba7b38e345a89c8f.zip
Notes
Diffstat (limited to 'sysutils/synergy')
-rw-r--r--sysutils/synergy/Makefile25
-rw-r--r--sysutils/synergy/distinfo4
2 files changed, 17 insertions, 12 deletions
diff --git a/sysutils/synergy/Makefile b/sysutils/synergy/Makefile
index 012f4061e569..ae353348ea0d 100644
--- a/sysutils/synergy/Makefile
+++ b/sysutils/synergy/Makefile
@@ -6,24 +6,29 @@
#
PORTNAME= synergy
-PORTVERSION= 1.3.4
+PORTVERSION= 1.3.6
+DISTVERSIONSUFFIX= -Source
CATEGORIES= sysutils
-MASTER_SITES= http://synergy-plus.googlecode.com/files/
-DISTNAME= ${PORTNAME}-plus-${PORTVERSION}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= kevlo@FreeBSD.org
COMMENT= Mouse and keyboard sharing utility
-GNU_CONFIGURE= yes
+USE_CMAKE= yes
USE_XORG= ice xtst x11 sm
-CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
- PTHREAD_LIBS="${PTHREAD_LIBS}"
+MAKE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
+ PTHREAD_LIBS="${PTHREAD_LIBS}" \
+
+CFLAGS+= -L${LOCALBASE}/lib -I${LOCALBASE}/include
post-patch:
- @${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/configure
+ @${ECHO_CMD} >> ${WRKSRC}/lib/base/LogOutputters.cpp
-post-install:
- ${MKDIR} ${PREFIX}/share/examples/synergy
- ${INSTALL_DATA} ${WRKSRC}/examples/synergy.conf ${PREFIX}/share/examples/synergy
+do-install:
+.for f in synergys synergyc
+ ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
+.endfor
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/${PORTNAME}.conf ${EXAMPLESDIR}
.include <bsd.port.mk>
diff --git a/sysutils/synergy/distinfo b/sysutils/synergy/distinfo
index 6e497f66dbba..813a19c7273c 100644
--- a/sysutils/synergy/distinfo
+++ b/sysutils/synergy/distinfo
@@ -1,2 +1,2 @@
-SHA256 (synergy-plus-1.3.4.tar.gz) = b3c3ae4cd5e907d2584b939793da3323836bcc1222c38910decce9ae68335272
-SIZE (synergy-plus-1.3.4.tar.gz) = 754640
+SHA256 (synergy-1.3.6-Source.tar.gz) = b136fcd2795837c5c56050c32ab32e7305a84fd4ac8f3dd6458d3abc18179162
+SIZE (synergy-1.3.6-Source.tar.gz) = 659025