summaryrefslogtreecommitdiff
path: root/math/mcsim
diff options
context:
space:
mode:
authorjlam <jlam>2006-04-05 23:01:15 +0000
committerjlam <jlam>2006-04-05 23:01:15 +0000
commit3f5d4958f493b68b95bf81cec2aee7b824fb7353 (patch)
tree4e07c14183f81fa76b20edb581fa96f647d4e8fe /math/mcsim
parentc58b431b470a16fadadf83692c86c79c46efa51e (diff)
downloadpkgsrc-3f5d4958f493b68b95bf81cec2aee7b824fb7353.tar.gz
List the info files directly in the PLIST and honor PKG{INFO,MAN}DIR.
Diffstat (limited to 'math/mcsim')
-rw-r--r--math/mcsim/Makefile15
-rw-r--r--math/mcsim/PLIST3
2 files changed, 10 insertions, 8 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"
diff --git a/math/mcsim/PLIST b/math/mcsim/PLIST
index 0b3a045d406..3bb9261a1a7 100644
--- a/math/mcsim/PLIST
+++ b/math/mcsim/PLIST
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.4 2004/03/07 22:45:10 seb Exp $
+@comment $NetBSD: PLIST,v 1.5 2006/04/05 23:01:15 jlam Exp $
bin/mcsim
bin/mod
+info/mcsim
share/doc/html/mcsim/mcsim.html
share/doc/mcsim/About-Datasets.txt
share/doc/mcsim/About-Doc.txt