openbsd-ports/net/synergy/Makefile
bernd 1dcf42ec4a - Install a sample synergy.conf file.
- Simplify the post-install target.

ok dim@ (MAINTAINER)
2007-09-21 05:46:26 +00:00

38 lines
946 B
Makefile

# $OpenBSD: Makefile,v 1.7 2007/09/21 05:46:26 bernd Exp $
COMMENT= mouse and keyboard sharing utility
DISTNAME= synergy-1.3.1
PKGNAME= ${DISTNAME}p1
CATEGORIES= net
HOMEPAGE= http://synergy2.sourceforge.net/
MAINTAINER= Dimitry Andric <dim@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE SM X11 Xext Xinerama Xtst c m pthread stdc++
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=synergy2/}
CONFIGURE_STYLE= gnu
USE_X11= Yes
NO_REGRESS= Yes
post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/synergy
@cd ${WRKDIST}/doc && tar cf - *.html *.css images | \
tar -C ${PREFIX}/share/doc/synergy -xpf -
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/synergy
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/synergy
@${INSTALL_DATA} ${WRKBUILD}/examples/synergy.conf \
${PREFIX}/share/examples/synergy
.include <bsd.port.mk>