blob: a5d5f0395e36b0813fce40fd30345f3f1b6653dc (
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
|
# $NetBSD: Makefile,v 1.18 2006/04/05 23:01:15 jlam Exp $
DISTNAME= mcsim-4.2.0
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GNU:=mcsim/}
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Monte Carlo Simulation software
USE_TOOLS+= makeinfo
INFO_FILES= # PLIST
WRKSRC= ${WRKDIR}/mcsim
INSTALLATION_DIRS= bin ${PKGINFODIR} share/doc/mcsim share/doc/html/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} ${WRKSRC}/doc/*.txt ${WRKSRC}/doc/MCSim* \
${WRKSRC}/doc/mcsim.dvi ${PREFIX}/share/doc/mcsim/
${INSTALL_DATA} ${WRKSRC}/doc/mcsim.html \
${PREFIX}/share/doc/html/mcsim
cd ${WRKSRC}/doc; for f in mcsim mcsim-[0-9]*; do \
${TEST} ! -f "$$f" || \
${INSTALL_DATA} "$$f" ${PREFIX}/${PKGINFODIR}; \
done
.include "../../mk/bsd.pkg.mk"
|