pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/synergy Added support for installation to DESTDIR.
details: https://anonhg.NetBSD.org/pkgsrc/rev/6417af9d44ad
branches: trunk
changeset: 539007:6417af9d44ad
user: heinz <heinz%pkgsrc.org@localhost>
date: Sat Feb 23 18:04:57 2008 +0000
description:
Added support for installation to DESTDIR.
Changed wording in COMMENT slightly.
Shut up some complaints by pkglint ("set -e", "unquoted shell variable f")
diffstat:
net/synergy/Makefile | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diffs (39 lines):
diff -r bdeac658f6a7 -r 6417af9d44ad net/synergy/Makefile
--- a/net/synergy/Makefile Sat Feb 23 11:39:50 2008 +0000
+++ b/net/synergy/Makefile Sat Feb 23 18:04:57 2008 +0000
@@ -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 @@
MAINTAINER= yui%yui.pe.kr@localhost
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 @@
.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"
Home |
Main Index |
Thread Index |
Old Index