diff options
author | jlam <jlam> | 2006-04-05 23:01:15 +0000 |
---|---|---|
committer | jlam <jlam> | 2006-04-05 23:01:15 +0000 |
commit | 3f5d4958f493b68b95bf81cec2aee7b824fb7353 (patch) | |
tree | 4e07c14183f81fa76b20edb581fa96f647d4e8fe /math/mcsim/Makefile | |
parent | c58b431b470a16fadadf83692c86c79c46efa51e (diff) | |
download | pkgsrc-3f5d4958f493b68b95bf81cec2aee7b824fb7353.tar.gz |
List the info files directly in the PLIST and honor PKG{INFO,MAN}DIR.
Diffstat (limited to 'math/mcsim/Makefile')
-rw-r--r-- | math/mcsim/Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/math/mcsim/Makefile b/math/mcsim/Makefile index cfb016a0786..a5d5f0395e3 100644 --- a/math/mcsim/Makefile +++ b/math/mcsim/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2006/03/19 15:26:57 wiz Exp $ +# $NetBSD: Makefile,v 1.18 2006/04/05 23:01:15 jlam Exp $ DISTNAME= mcsim-4.2.0 CATEGORIES= math @@ -8,23 +8,24 @@ MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Monte Carlo Simulation software USE_TOOLS+= makeinfo -INFO_FILES= mcsim +INFO_FILES= # PLIST WRKSRC= ${WRKDIR}/mcsim -INSTALLATION_DIRS= bin info +INSTALLATION_DIRS= bin ${PKGINFODIR} share/doc/mcsim share/doc/html/mcsim post-build: - cd ${WRKSRC}/doc && ${MAKEINFO} mcsim.texinfo + 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 ${PREFIX}/info/ + 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" |