pkgsrc/math/mcsim/Makefile

32 lines
898 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.15 2006/03/04 21:30:04 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
2003-08-02 15:27:27 +02:00
USE_MAKEINFO= YES
INFO_FILES= mcsim
WRKSRC= ${WRKDIR}/mcsim
INSTALLATION_DIRS= bin info
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
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${WRKSRC}/doc/MCSim* \
${WRKSRC}/doc/mcsim.dvi ${PREFIX}/share/doc/mcsim/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/mcsim
${INSTALL_DATA} ${WRKSRC}/doc/mcsim.html \
${PREFIX}/share/doc/html/mcsim
2001-04-29 03:15:06 +02:00
cd ${WRKSRC}/doc && ${INSTALL_DATA} mcsim mcsim-1 mcsim-2 \
mcsim-3 ${PREFIX}/info/
.include "../../mk/bsd.pkg.mk"