freebsd-ports/sysutils/synergy/Makefile
Kevin Lo 7383684e37 Update to 1.3.8
Submitted by:	ehaupt
Feature safe:	yes
2011-11-29 05:21:55 +00:00

39 lines
901 B
Makefile

# New ports collection makefile for: synergy
# Date created: 26 March 2003
# Whom: Kevin Lo <kevlo@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= synergy
PORTVERSION= 1.3.8
DISTVERSIONSUFFIX= -Source
CATEGORIES= sysutils
MASTER_SITES= GOOGLE_CODE
MAINTAINER= kevlo@FreeBSD.org
COMMENT= Mouse and keyboard sharing utility
USE_CMAKE= yes
USE_XORG= ice xtst x11 sm
MAKE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
CFLAGS+= -L${LOCALBASE}/lib -I${LOCALBASE}/include
PLIST_FILES= bin/synergys bin/synergyc
PORTEXAMPLES= synergy.conf.example synergy.conf.example-basic \
synergy.conf.example-advanced
do-install:
.for f in synergys synergyc
${INSTALL_PROGRAM} ${WRKSRC}/bin/${f} ${PREFIX}/bin
.endfor
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${EXAMPLESDIR}
.endfor
.endif
.include <bsd.port.mk>