summaryrefslogtreecommitdiff
path: root/math/mcsim/Makefile
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2001-02-25 22:14:19 +0000
committerjtb <jtb@pkgsrc.org>2001-02-25 22:14:19 +0000
commit7cb980a5342a368fab8c0b1c00a3a73f25cdc013 (patch)
tree37b6bb8fc217dd2e02f6c2df7ad33d3cdba5e1e6 /math/mcsim/Makefile
parent1896f777b37140d5aa8d8d58cdba69bc061fe44a (diff)
downloadpkgsrc-7cb980a5342a368fab8c0b1c00a3a73f25cdc013.tar.gz
Fixed typo. Tidied up the Makefile. Don't bother running the tests.
Diffstat (limited to 'math/mcsim/Makefile')
-rw-r--r--math/mcsim/Makefile31
1 files changed, 15 insertions, 16 deletions
diff --git a/math/mcsim/Makefile b/math/mcsim/Makefile
index 27fa414ed3b..17689b24645 100644
--- a/math/mcsim/Makefile
+++ b/math/mcsim/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2001/02/17 18:22:28 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2001/02/25 22:14:19 jtb Exp $
DISTNAME= mcsim-4.2.0
CATEGORIES= math
@@ -8,27 +8,26 @@ MAINTAINER= jtb@netbsd.org
COMMENT= Monte Carlo Simulation software
WRKSRC= ${WRKDIR}/mcsim
-
INFO_FILES= mcsim
-do-build:
- @(cd ${WRKSRC}/mod && ${MAKE})
- @(cd ${WRKSRC}/sim && ${MAKE})
- @(cd ${WRKSRC}/sim && ${SH} Test_mcsim)
- @(cd ${WRKSRC}/doc && makeinfo mcsim.texinfo)
+post-build:
+ cd ${WRKSRC}/doc && makeinfo mcsim.texinfo
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mod/mod ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/sim/mcsim ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mcsim
- @(cd ${WRKSRC}/doc; \
- for i in *.txt MCSim* mcsim.html mcsim.dvi; \
- do \
- ${INSTALL_DATA} $$i ${PREFIX}/share/doc/mcsim; \
- done; \
- for i in mcsim mcsim-1 mcsim-2 mcsim-3; \
- do \
- ${INSTALL_DATA} $$i ${PREFIX}/info; \
- done)
+ @for f in ${WRKSRC}/doc/*.txt ${WRKSRC}/doc/MCSim* \
+ ${WRKSRC}/doc/mcsim.dvi; do \
+ i="${INSTALL_DATA} $$f ${PREFIX}/share/doc/mcsim/"; \
+ ${ECHO} $$i; $$i; \
+ done
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/mcsim
+ ${INSTALL_DATA} ${WRKSRC}/doc/mcsim.html \
+ ${PREFIX}/share/doc/html/mcsim
+ @for f in mcsim mcsim-1 mcsim-2 mcsim-3; do \
+ i="${INSTALL_DATA} ${WRKSRC}/doc/$$f ${PREFIX}/info/"; \
+ ${ECHO} $$i; $$i; \
+ done
.include "../../mk/bsd.pkg.mk"