From 1dcf42ec4a75e805ea2cec37c4483a1bac6d4259 Mon Sep 17 00:00:00 2001 From: bernd Date: Fri, 21 Sep 2007 05:46:26 +0000 Subject: [PATCH] - Install a sample synergy.conf file. - Simplify the post-install target. ok dim@ (MAINTAINER) --- net/synergy/Makefile | 13 ++++++++----- net/synergy/pkg/PLIST | 12 ++++-------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/net/synergy/Makefile b/net/synergy/Makefile index 1b4cf0fe4e7..2c39d477436 100644 --- a/net/synergy/Makefile +++ b/net/synergy/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.6 2007/09/15 22:36:59 merdely Exp $ +# $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}p0 +PKGNAME= ${DISTNAME}p1 CATEGORIES= net HOMEPAGE= http://synergy2.sourceforge.net/ @@ -27,8 +27,11 @@ NO_REGRESS= Yes post-install: @${INSTALL_DATA_DIR} ${PREFIX}/share/doc/synergy - @cd ${WRKDIST}/doc && tar cf - * | tar -C ${PREFIX}/share/doc/synergy \ - -xpf - - find ${PREFIX}/share/doc/synergy |xargs chown ${SHAREOWN}:${SHAREGRP} + @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 diff --git a/net/synergy/pkg/PLIST b/net/synergy/pkg/PLIST index 580ba876762..132c699d518 100644 --- a/net/synergy/pkg/PLIST +++ b/net/synergy/pkg/PLIST @@ -1,11 +1,7 @@ -@comment $OpenBSD: PLIST,v 1.2 2006/04/05 20:59:54 dim Exp $ +@comment $OpenBSD: PLIST,v 1.3 2007/09/21 05:46:26 bernd Exp $ bin/synergyc bin/synergys share/doc/synergy/ -@comment share/doc/synergy/Makefile -@comment share/doc/synergy/Makefile.am -@comment share/doc/synergy/Makefile.in -@comment share/doc/synergy/PORTING share/doc/synergy/about.html share/doc/synergy/authors.html share/doc/synergy/autostart.html @@ -15,14 +11,12 @@ share/doc/synergy/compiling.html share/doc/synergy/configuration.html share/doc/synergy/contact.html share/doc/synergy/developer.html -@comment share/doc/synergy/doxygen.cfg -@comment share/doc/synergy/doxygen.cfg.in share/doc/synergy/faq.html share/doc/synergy/history.html share/doc/synergy/home.html share/doc/synergy/images/ -share/doc/synergy/images/warp.gif share/doc/synergy/images/logo.gif +share/doc/synergy/images/warp.gif share/doc/synergy/index.html share/doc/synergy/license.html share/doc/synergy/news.html @@ -33,3 +27,5 @@ share/doc/synergy/synergy.css share/doc/synergy/tips.html share/doc/synergy/toc.html share/doc/synergy/trouble.html +share/examples/synergy/ +share/examples/synergy/synergy.conf