pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/simh simh: Handle spaces in directory name



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c38f1981b5ad
branches:  trunk
changeset: 375364:c38f1981b5ad
user:      gson <gson%pkgsrc.org@localhost>
date:      Fri Feb 09 17:35:05 2018 +0000

description:
simh: Handle spaces in directory name

In the do-install target, deal with the spaces in the directory
name "Visual Studio Projects" instead of printing the message
"install: Visual: stat: No such file or directory" and failing to
install one of the .txt files.

diffstat:

 emulators/simh/Makefile |  6 +++---
 emulators/simh/PLIST    |  3 ++-
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (40 lines):

diff -r 6af1d47d7d2e -r c38f1981b5ad emulators/simh/Makefile
--- a/emulators/simh/Makefile   Fri Feb 09 16:54:14 2018 +0000
+++ b/emulators/simh/Makefile   Fri Feb 09 17:35:05 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.48 2017/12/31 08:50:00 tsutsui Exp $
+# $NetBSD: Makefile,v 1.49 2018/02/09 17:35:05 gson Exp $
 
 DISTNAME=      simh-4.0.0
 PKGNAME=       simh-4.0.0.20170406
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=simh/}
 GITHUB_PROJECT=        simh
@@ -71,7 +71,7 @@
        ${INSTALL_DATA} ${WRKSRC}/VAX/ka655x.bin ${DESTDIR}${PREFIX}/share/simh
        ${INSTALL_DATA} ${WRKSRC}/VAX/vmb.exe ${DESTDIR}${PREFIX}/share/simh
        (cd ${WRKSRC} && for TXT in *.txt */*.txt; do                   \
-               ${INSTALL_DATA} $$TXT ${DESTDIR}${PREFIX}/share/doc/simh;               \
+               ${INSTALL_DATA} "$$TXT" ${DESTDIR}${PREFIX}/share/doc/simh;             \
        done)
 
 .include "../../devel/SDL2/buildlink3.mk"
diff -r 6af1d47d7d2e -r c38f1981b5ad emulators/simh/PLIST
--- a/emulators/simh/PLIST      Fri Feb 09 16:54:14 2018 +0000
+++ b/emulators/simh/PLIST      Fri Feb 09 17:35:05 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2017/04/07 13:30:01 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.17 2018/02/09 17:35:05 gson Exp $
 bin/simh-altair
 bin/simh-altairz80
 bin/simh-b5500
@@ -45,6 +45,7 @@
 bin/simh-vax750
 bin/simh-vax780
 bin/simh-vax8600
+share/doc/simh/0ReadMe_Projects.txt
 share/doc/simh/0readmeAsynchIO.txt
 share/doc/simh/0readme_39.txt
 share/doc/simh/0readme_ethernet.txt



Home | Main Index | Thread Index | Old Index