diff options
author | heinz <heinz@pkgsrc.org> | 2008-02-23 18:04:57 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2008-02-23 18:04:57 +0000 |
commit | f11fc011289be799ea40e26c684a47170f34a142 (patch) | |
tree | 514e2d33c8323a27e2b1e13b12781e6f68bfb352 | |
parent | d51fa0ac6856b0c05174c5a8cb5f9ef50e21171a (diff) | |
download | pkgsrc-f11fc011289be799ea40e26c684a47170f34a142.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")
-rw-r--r-- | net/synergy/Makefile | 16 |
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" |