summaryrefslogtreecommitdiff
path: root/math/mcsim/Makefile
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2000-11-26 23:02:38 +0000
committerjtb <jtb@pkgsrc.org>2000-11-26 23:02:38 +0000
commit8f86379ecff9040719e26f5af99eee84dac278ab (patch)
tree36dbeccb7f3956ae3c1abdbef5af9d7952ac8b75 /math/mcsim/Makefile
parentc967d1056f02755c6b6e1f354afc45f2da7bfb20 (diff)
downloadpkgsrc-8f86379ecff9040719e26f5af99eee84dac278ab.tar.gz
Initial import of new "mcsim" package:
Monte Carlo Simulation software
Diffstat (limited to 'math/mcsim/Makefile')
-rw-r--r--math/mcsim/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/math/mcsim/Makefile b/math/mcsim/Makefile
new file mode 100644
index 00000000000..ed887bf4f85
--- /dev/null
+++ b/math/mcsim/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/11/26 23:02:38 jtb Exp $
+
+DISTNAME= mcsim-4.2.0
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_GNU:=mcsim/}
+
+MAINTAINER= jtb@netbsd.org
+
+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)
+
+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)
+
+.include "../../mk/bsd.pkg.mk"