pkgsrc/math/mcsim/Makefile
seb 66111c6d15 Introduce new framework for handling info files generation and installation.
Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
    removal of USE_GTEXINFO
    INSTALL_INFO added to PLIST_SUBST
    `${INSTALL_INFO}' replace `install-info' in target rules
    print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
  makeinfo command usage

See -newly added by this commit- section 10.24 of Packages.txt for
further information.
2002-02-18 15:14:00 +00:00

29 lines
876 B
Makefile

# $NetBSD: Makefile,v 1.7 2002/02/18 15:14:31 seb 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
${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
cd ${WRKSRC}/doc && ${INSTALL_DATA} mcsim mcsim-1 mcsim-2 \
mcsim-3 ${PREFIX}/info/
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"