summaryrefslogtreecommitdiff
path: root/math/yorick/Makefile
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2003-04-29 22:41:43 +0000
committerjtb <jtb@pkgsrc.org>2003-04-29 22:41:43 +0000
commit8418abca7bc3dcd861cceffaa9a92d9818ee736e (patch)
treeb231b3d6d07a21eef524f9c1ab740fa524693990 /math/yorick/Makefile
parentc058f0dddcba398656bfcd9f9de7a34a81587f5d (diff)
downloadpkgsrc-8418abca7bc3dcd861cceffaa9a92d9818ee736e.tar.gz
Update to version 1.5.12.
Changes: * The directory structure and configuration scripts have completely changed * RGB colors supported for color= keyword, pli, plf, plfp see help,color or help,pli for more information * lsdir, mkdir, rmdir functions added so yorick can read and manipulate directories by itself * i86_primitives and other modern binary formats added see help,createb and help,__i86 for more information * cheby.i, convol.i, dawson.i, kepler.i added to interpreted library * added "hex" 3D transport solver (similar to drat 2D solver) * improved the emacs/yorick.el package again, mostly by removing unwanted "improvements" to emacs; see emacs/README
Diffstat (limited to 'math/yorick/Makefile')
-rw-r--r--math/yorick/Makefile34
1 files changed, 25 insertions, 9 deletions
diff --git a/math/yorick/Makefile b/math/yorick/Makefile
index 87b5234cf91..59b341b4e9d 100644
--- a/math/yorick/Makefile
+++ b/math/yorick/Makefile
@@ -1,20 +1,36 @@
-# $NetBSD: Makefile,v 1.3 2001/02/17 18:22:50 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.4 2003/04/29 22:41:44 jtb Exp $
-DISTNAME= yorick-1.4
+DISTNAME= yorick-1.5.12
CATEGORIES= math
MASTER_SITES= ftp://ftp-icf.llnl.gov/pub/Yorick/
+EXTRACT_SUFX= .tgz
MAINTAINER= refling@comet.lbl.gov
-HOMEPAGE= ftp://ftp-icf.llnl.gov/pub/Yorick/yorick-ad.html
+HOMEPAGE= ftp://ftp-icf.llnl.gov/pub/Yorick/doc/index.html
COMMENT= Numerical algebra system (similar to Matlab)
-GNU_CONFIGURE= YES
-USE_X11= YES
+WRKSRC= ${WRKDIR}/yorick-1.5
+
+USE_X11= yes
+
+INFO_FILES= yorick.info
+
+post-patch:
+ for f in ${WRKSRC}/ysite.sh; do \
+ ${SED} -e 's:@PREFIX@:${PREFIX}:g' $$f > $$f.tmp \
+ && ${MV} $$f.tmp $$f; \
+ done
post-install:
- cd ${WRKSRC} && ${INSTALL_MAN} yorick.1 ${PREFIX}/man/man1
- cd ${WRKSRC} && ${INSTALL_MAN} gist.1 ${PREFIX}/man/man1
- cd ${WRKSRC}/Yorick && ${PREFIX}/bin/yorick -batch check.i
+ for f in yorick gist; do \
+ cd ${PREFIX}/bin && ${LN} -sf ../lib/yorick/1.5/bin/$$f $$f; \
+ done
+ cd ${WRKSRC}/doc && ${MAKE} all
+ ${INSTALL_DATA} ${WRKSRC}/doc/yorick.info* ${PREFIX}/info
+ ${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${PREFIX}/man/man1
+ cd ${PREFIX}/share/doc && ${LN} -sf ../yorick/1.5/doc yorick
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp
+ ${INSTALL_DATA} ${WRKSRC}/emacs/*.el ${PREFIX}/share/emacs/site-lisp
+.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"