summaryrefslogtreecommitdiff
path: root/emulators/simh
diff options
context:
space:
mode:
authorchuck <chuck>2008-11-21 17:36:43 +0000
committerchuck <chuck>2008-11-21 17:36:43 +0000
commit58c630297dd28c7afdeffbdeea456aadd81b3379 (patch)
tree1e1791422f0a3c59527b9d6d2e7cef06a7c6b9c2 /emulators/simh
parent424948dd4618f26a18807bb0c79c1a2ed7c24d51 (diff)
downloadpkgsrc-58c630297dd28c7afdeffbdeea456aadd81b3379.tar.gz
in do-install:
Only attempt to install files (check with if [-f $BIN]). on Darwin "cc -g -O" generates *.dSYM directories that we should not try and install.
Diffstat (limited to 'emulators/simh')
-rw-r--r--emulators/simh/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/emulators/simh/Makefile b/emulators/simh/Makefile
index 558016e885c..6c30fbf4230 100644
--- a/emulators/simh/Makefile
+++ b/emulators/simh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2008/11/01 05:15:42 obache Exp $
+# $NetBSD: Makefile,v 1.28 2008/11/21 17:36:43 chuck Exp $
#
DISTNAME= simhv38-0
@@ -34,7 +34,9 @@ post-extract:
do-install:
(cd ${WRKSRC}/BIN && for BIN in *; do \
- ${INSTALL_PROGRAM} $$BIN ${DESTDIR}${PREFIX}/bin/simh-$$BIN; \
+ if [ -f $$BIN ] ; then \
+ ${INSTALL_PROGRAM} $$BIN ${DESTDIR}${PREFIX}/bin/simh-$$BIN; \
+ fi ; \
done)
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/simh
${INSTALL_DATA} ${WRKSRC}/VAX/ka655x.bin ${DESTDIR}${PREFIX}/share/simh