blob: 45ee115459c74ca74ad8d2102593f32cf95f3625 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $NetBSD: Makefile,v 1.4 2001/04/14 21:43:52 jtb Exp $
DISTNAME= mcsim-4.2.0
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GNU:=mcsim/}
MAINTAINER= packages@netbsd.org
COMMENT= Monte Carlo Simulation software
WRKSRC= ${WRKDIR}/mcsim
INFO_FILES= mcsim
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
@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"
|