summaryrefslogtreecommitdiff
path: root/net/synergy
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2008-02-23 18:04:57 +0000
committerheinz <heinz@pkgsrc.org>2008-02-23 18:04:57 +0000
commitd5ac2bc6c93c62809ca0a7637926650c6dbf9428 (patch)
tree514e2d33c8323a27e2b1e13b12781e6f68bfb352 /net/synergy
parent64b8bdc62074545aebff632b40b41aef31c92b09 (diff)
downloadpkgsrc-d5ac2bc6c93c62809ca0a7637926650c6dbf9428.tar.gz
Added support for installation to DESTDIR.
Changed wording in COMMENT slightly. Shut up some complaints by pkglint ("set -e", "unquoted shell variable f")
Diffstat (limited to 'net/synergy')
-rw-r--r--net/synergy/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/net/synergy/Makefile b/net/synergy/Makefile
index a6e4b10a182..85f05af5dc6 100644
--- a/net/synergy/Makefile
+++ b/net/synergy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2007/09/22 18:22:18 minskim Exp $
+# $NetBSD: Makefile,v 1.10 2008/02/23 18:04:57 heinz Exp $
#
DISTNAME= synergy-1.3.1
@@ -8,7 +8,9 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=synergy2/}
MAINTAINER= yui@yui.pe.kr
HOMEPAGE= http://synergy2.sourceforge.net/
-COMMENT= Let an user share a mouse and keyboard among computers
+COMMENT= Let a user share a mouse and keyboard among computers
+
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
@@ -27,13 +29,13 @@ DOCS= *.html *.css images/*.gif
.endif
post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}/images
- cd ${WRKSRC}/doc; \
+ ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}/images
+ set -e; cd ${WRKSRC}/doc; \
for f in ${DOCS}; do \
- ${INSTALL_DATA} $$f ${DOCDIR}/$$f; \
+ ${INSTALL_DATA} "$$f" "${DESTDIR}${DOCDIR}/$$f"; \
done
- ${INSTALL_DATA_DIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/examples/synergy.conf ${EXAMPLESDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/synergy.conf ${DESTDIR}${EXAMPLESDIR}
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"