small symbolics computation program written in scheme.
This commit is contained in:
parent
bdf3895e13
commit
76925358cb
42
math/jacal/Makefile
Normal file
42
math/jacal/Makefile
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
# $OpenBSD: Makefile,v 1.1.1.1 2005/10/30 11:13:25 espie Exp $
|
||||||
|
|
||||||
|
COMMENT= "symbolics math system"
|
||||||
|
|
||||||
|
CATEGORIES= math
|
||||||
|
|
||||||
|
V=1b5
|
||||||
|
DISTNAME= jacal$V
|
||||||
|
PKGNAME= jacal-$V
|
||||||
|
EXTRACT_SUFX= .zip
|
||||||
|
|
||||||
|
HOMEPAGE= http://swissnet.ai.mit.edu/~jaffer/SCM.html
|
||||||
|
|
||||||
|
MASTER_SITES= ftp://ftp.swiss.ai.mit.edu/pub/scm/
|
||||||
|
|
||||||
|
# GPL
|
||||||
|
PERMIT_PACKAGE_CDROM= Yes
|
||||||
|
PERMIT_DISTFILES_CDROM= Yes
|
||||||
|
PERMIT_PACKAGE_FTP= Yes
|
||||||
|
PERMIT_DISTFILES_FTP= Yes
|
||||||
|
|
||||||
|
WRKDIST= ${WRKDIR}/jacal
|
||||||
|
|
||||||
|
NO_REGRESS= Yes
|
||||||
|
PKG_ARCH= *
|
||||||
|
|
||||||
|
do-build:
|
||||||
|
touch ${WRKDIST}/srcdir.mk
|
||||||
|
|
||||||
|
FAKE_FLAGS=prefix=${TRUEPREFIX}/ DESTDIR=${WRKINST}
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
${INSTALL_DATA} ${WRKDIST}/jacal.info ${PREFIX}/info
|
||||||
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jacal
|
||||||
|
${INSTALL_DATA} ${WRKDIST}/demo ${PREFIX}/share/doc/jacal
|
||||||
|
${INSTALL_DATA} ${WRKDIST}/test.math ${PREFIX}/share/doc/jacal
|
||||||
|
${INSTALL_DATA} ${WRKDIST}/rw.math ${PREFIX}/share/doc/jacal
|
||||||
|
${INSTALL_DATA} ${WRKDIST}/ANNOUNCE ${PREFIX}/share/doc/jacal
|
||||||
|
|
||||||
|
RUN_DEPENDS=:scm-*:lang/scm
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
4
math/jacal/distinfo
Normal file
4
math/jacal/distinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
MD5 (jacal1b5.zip) = cd65d0ab16ca9a10a065cdaf81724b9b
|
||||||
|
RMD160 (jacal1b5.zip) = cd6c27919b482b27d7486b5d99ebde36e5590192
|
||||||
|
SHA1 (jacal1b5.zip) = dae531b70eaf039e055da166401d7e58f07d6a07
|
||||||
|
SIZE (jacal1b5.zip) = 246930
|
45
math/jacal/patches/patch-Makefile
Normal file
45
math/jacal/patches/patch-Makefile
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
$OpenBSD: patch-Makefile,v 1.1.1.1 2005/10/30 11:13:25 espie Exp $
|
||||||
|
--- Makefile.orig Sun Oct 30 11:39:54 2005
|
||||||
|
+++ Makefile Sun Oct 30 11:40:32 2005
|
||||||
|
@@ -71,25 +71,25 @@ $(infodir)jacal.info.gz: $(infodir)jacal
|
||||||
|
gzip -f $(infodir)jacal.info
|
||||||
|
|
||||||
|
pinstall: jacal.1
|
||||||
|
- test -d $(mandir) || mkdir $(mandir)
|
||||||
|
- test -d $(man1dir) || mkdir $(man1dir)
|
||||||
|
- -cp jacal.1 $(man1dir)
|
||||||
|
- test -d $(libdir) || mkdir $(libdir)
|
||||||
|
- test -d $(JACALLIB) || mkdir $(JACALLIB)
|
||||||
|
- -cp $(sfiles) $(cfiles) $(gfiles) jacalcat Makefile COPYING HELP $(JACALLIB)
|
||||||
|
+ test -d $(DESTDIR)$(mandir) || mkdir $(DESTDIR)$(mandir)
|
||||||
|
+ test -d $(DESTDIR)$(man1dir) || mkdir $(DESTDIR)$(man1dir)
|
||||||
|
+ -cp jacal.1 $(DESTDIR)$(man1dir)
|
||||||
|
+ test -d $(DESTDIR)$(libdir) || mkdir $(DESTDIR)$(libdir)
|
||||||
|
+ test -d $(DESTDIR)$(JACALLIB) || mkdir $(DESTDIR)$(JACALLIB)
|
||||||
|
+ -cp $(sfiles) $(cfiles) $(gfiles) jacalcat Makefile COPYING HELP $(DESTDIR)$(JACALLIB)
|
||||||
|
|
||||||
|
install: pinstall
|
||||||
|
- echo "(use-modules (ice-9 slib))" > $(JACALLIB)guile.scm
|
||||||
|
- echo "(slib:load \"$(JACALLIB)math\")" >> $(JACALLIB)guile.scm
|
||||||
|
- echo "(math)" >> $(JACALLIB)guile.scm
|
||||||
|
- echo "(slib:load \"$(JACALLIB)math\")" > $(JACALLIB)go.scm
|
||||||
|
- echo "(math)" >> $(JACALLIB)go.scm
|
||||||
|
+ echo "(use-modules (ice-9 slib))" > $(DESTDIR)$(JACALLIB)guile.scm
|
||||||
|
+ echo "(slib:load \"$(JACALLIB)math\")" >> $(DESTDIR)$(JACALLIB)guile.scm
|
||||||
|
+ echo "(math)" >> $(DESTDIR)$(JACALLIB)guile.scm
|
||||||
|
+ echo "(slib:load \"$(JACALLIB)math\")" > $(DESTDIR)$(JACALLIB)go.scm
|
||||||
|
+ echo "(math)" >> $(DESTDIR)$(JACALLIB)go.scm
|
||||||
|
test -d $(bindir) || mkdir $(bindir)
|
||||||
|
- echo '#! /bin/sh' > $(bindir)jacal
|
||||||
|
- echo JACALDIR=$(JACALLIB) >> $(bindir)jacal
|
||||||
|
- echo VERSION=$(VERSION) >> $(bindir)jacal
|
||||||
|
- cat jacal.sh >> $(bindir)jacal
|
||||||
|
- chmod +x $(bindir)jacal
|
||||||
|
+ echo '#! /bin/sh' > $(DESTDIR)$(bindir)jacal
|
||||||
|
+ echo JACALDIR=$(JACALLIB) >> $(DESTDIR)$(bindir)jacal
|
||||||
|
+ echo VERSION=$(VERSION) >> $(DESTDIR)$(bindir)jacal
|
||||||
|
+ cat jacal.sh >> $(DESTDIR)$(bindir)jacal
|
||||||
|
+ chmod +x $(DESTDIR)$(bindir)jacal
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
-rm $(bindir)jacal
|
7
math/jacal/pkg/DESCR
Normal file
7
math/jacal/pkg/DESCR
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
Jacal is a symbolics computation program written in scheme.
|
||||||
|
|
||||||
|
Its features include partial derivation, matrix computations
|
||||||
|
and tensor calculus.
|
||||||
|
|
||||||
|
There are some demonstration files under
|
||||||
|
${PREFIX}/share/doc/jacal
|
42
math/jacal/pkg/PLIST
Normal file
42
math/jacal/pkg/PLIST
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/10/30 11:13:25 espie Exp $
|
||||||
|
bin/jacal
|
||||||
|
@info info/jacal.info
|
||||||
|
lib/jacal/
|
||||||
|
lib/jacal/COPYING
|
||||||
|
lib/jacal/English.scm
|
||||||
|
lib/jacal/HELP
|
||||||
|
lib/jacal/Makefile
|
||||||
|
lib/jacal/builtin.scm
|
||||||
|
lib/jacal/combin.scm
|
||||||
|
lib/jacal/debug.scm
|
||||||
|
lib/jacal/elim.scm
|
||||||
|
lib/jacal/ext.scm
|
||||||
|
lib/jacal/factors.scm
|
||||||
|
lib/jacal/ff.scm
|
||||||
|
lib/jacal/func.scm
|
||||||
|
lib/jacal/go.scm
|
||||||
|
lib/jacal/grammar.scm
|
||||||
|
lib/jacal/guile.scm
|
||||||
|
lib/jacal/hensel.scm
|
||||||
|
lib/jacal/hist.scm
|
||||||
|
lib/jacal/info.scm
|
||||||
|
lib/jacal/jacalcat
|
||||||
|
lib/jacal/math.scm
|
||||||
|
lib/jacal/modeinit.scm
|
||||||
|
lib/jacal/norm.scm
|
||||||
|
lib/jacal/poly.scm
|
||||||
|
lib/jacal/sexp.scm
|
||||||
|
lib/jacal/sqfree.scm
|
||||||
|
lib/jacal/tensor.scm
|
||||||
|
lib/jacal/toploads.scm
|
||||||
|
lib/jacal/types.scm
|
||||||
|
lib/jacal/unparse.scm
|
||||||
|
lib/jacal/uv-hensel.scm
|
||||||
|
lib/jacal/vect.scm
|
||||||
|
lib/jacal/view.scm
|
||||||
|
@man man/man1/jacal.1
|
||||||
|
share/doc/jacal/
|
||||||
|
share/doc/jacal/ANNOUNCE
|
||||||
|
share/doc/jacal/demo
|
||||||
|
share/doc/jacal/rw.math
|
||||||
|
share/doc/jacal/test.math
|
Loading…
Reference in New Issue
Block a user