aboutsummaryrefslogblamecommitdiff
path: root/sysutils/synergy-devel/Makefile
blob: 5795337e3d1c23431e203e9e515773f219f1914c (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                             
                      


                               
                      




                                                  
                     
                               
                   


















                                                                 
# New ports collection makefile for:	synergy-devel
# Date created:		6 February 2012
# Whom:			George Neville-Neil <gnn@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=	synergy
PORTVERSION=	1.4.10
DISTVERSIONSUFFIX=	-Source
CATEGORIES=	sysutils
MASTER_SITES=	GOOGLE_CODE
PKGNAMESUFFIX=	-devel

MAINTAINER=	gnn@FreeBSD.org
COMMENT=	Mouse and keyboard sharing utility

CONFLICTS=	synergy-[0-9]*
USES=		cmake
USE_XORG=	ice xtst x11 sm
USE_DOS2UNIX=	yes

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>