2003-03-26 10:31:42 +01:00
|
|
|
# New ports collection makefile for: synergy
|
|
|
|
# Date created: 26 March 2003
|
|
|
|
# Whom: Kevin Lo <kevlo@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= synergy
|
2006-05-18 05:22:46 +02:00
|
|
|
PORTVERSION= 1.3.1
|
2007-07-25 03:25:03 +02:00
|
|
|
PORTREVISION= 2
|
2003-03-26 10:31:42 +01:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}2
|
|
|
|
|
|
|
|
MAINTAINER= kevlo@FreeBSD.org
|
|
|
|
COMMENT= Mouse and keyboard sharing utility
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_X_PREFIX= yes
|
2006-12-11 04:43:22 +01:00
|
|
|
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
|
|
|
PTHREAD_LIBS="${PTHREAD_LIBS}"
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-03-26 10:31:42 +01:00
|
|
|
|
2004-09-01 08:10:41 +02:00
|
|
|
DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README
|
2003-03-26 10:31:42 +01:00
|
|
|
|
2007-06-07 06:28:36 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/configure
|
|
|
|
|
2003-03-26 10:31:42 +01:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for file in ${DOCS}
|
2007-06-07 06:28:36 +02:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
2003-03-26 10:31:42 +01:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
${MKDIR} ${PREFIX}/share/examples/synergy
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/synergy.conf ${PREFIX}/share/examples/synergy
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|