New port: math/reduce-psl
REDUCE Portable Standard Lisp (PSL) REDUCE is an interactive system for general algebraic computations of interest to mathematicians, scientists and engineers. PSL was the original implementation of Standard Lisp, but now contains many more facilities. It is quite efficient in its use of both space and time, and has been optimized for algebraic computation. All PSL versions of REDUCE are distributed with sufficient PSL support to run on the given computing system. PSL is supported on many architectures and is an ideal system for those wanting to run REDUCE as a stand-alone system. The principal developer of PSL before it became Open Source was the Konrad Zuse Center, Berlin (ZIB). It is often used as an algebraic calculator for problems that are possible to do by hand. However, REDUCE is designed to support calculations that are not feasible by hand. WWW: http://www.reduce-algebra.com/ PR: 226098 Submitted by: pfg
This commit is contained in:
parent
ff6ff2acb1
commit
5a4fd5ad50
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=462743
@ -689,6 +689,7 @@
|
||||
SUBDIR += randlib
|
||||
SUBDIR += rapid
|
||||
SUBDIR += reduce
|
||||
SUBDIR += reduce-psl
|
||||
SUBDIR += reed-solomon
|
||||
SUBDIR += rexx-regmath
|
||||
SUBDIR += rkward-kde4
|
||||
|
57
math/reduce-psl/Makefile
Normal file
57
math/reduce-psl/Makefile
Normal file
@ -0,0 +1,57 @@
|
||||
# Created by: Pedro Giffuni
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= reduce
|
||||
PORTVERSION= 20180117
|
||||
CATEGORIES= math lang
|
||||
MASTER_SITES= SF/reduce-algebra/${SFSUBDIR}/
|
||||
PKGNAMESUFFIX= -psl
|
||||
DISTNAME= Reduce-svn4372-src
|
||||
|
||||
MAINTAINER= pfg@FreeBSD.org
|
||||
COMMENT= REDUCE Portable Standard Lisp general-purpose algebra system
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
ONLY_FOR_ARCHS= amd64 i386
|
||||
|
||||
SFSUBDIR= snapshot_2018-01-17
|
||||
|
||||
USES= autoreconf:build libtool gmake ncurses
|
||||
TARGET_SDIR= ${ARCH:S/amd64/x86_64/}-unknown-${OPSYS:tl}${OSREL}
|
||||
CONFIGURE_ARGS= --build=${TARGET_SDIR}
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}
|
||||
CPPFLAGS+= -I${NCURSESINC}
|
||||
|
||||
# Avoid GNU_CONFIGURE as it breaks staging
|
||||
HAS_CONFIGURE= yes
|
||||
ALL_TARGET=
|
||||
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
PLIST= ${.CURDIR}/pkg-plist.${ARCH}
|
||||
|
||||
CONFIGURE_ARGS= --with-psl
|
||||
|
||||
REDUCE_BINS= ${WRKSRC}/pslbuild/${TARGET_SDIR}
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/runpsl.sh ${STAGEDIR}${PREFIX}/bin/redpsl
|
||||
${INSTALL_MAN} ${FILESDIR}/redpsl.1 ${STAGEDIR}${MANPREFIX}/man/man1/
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}/psl
|
||||
${INSTALL_PROGRAM} ${REDUCE_BINS}/psl/bpsl ${STAGEDIR}${DATADIR}/psl/
|
||||
(cd ${REDUCE_BINS}/psl && ${COPYTREE_SHARE} . \
|
||||
${STAGEDIR}${DATADIR}/psl "! -name bpsl")
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/red
|
||||
(cd ${REDUCE_BINS}/red && ${COPYTREE_SHARE} . \
|
||||
${STAGEDIR}${DATADIR}/red)
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc//util/r38.pdf \
|
||||
${STAGEDIR}${DOCSDIR}/manual.pdf
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/primers/*.pdf \
|
||||
${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
3
math/reduce-psl/distinfo
Normal file
3
math/reduce-psl/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1518056272
|
||||
SHA256 (Reduce-svn4372-src.tar.gz) = d4b8bbaf6d9108942d16b9c5bb9de6d3d5b8e8e5ad4116d4b7b8b1000c7f95a5
|
||||
SIZE (Reduce-svn4372-src.tar.gz) = 252484539
|
18
math/reduce-psl/files/redpsl.1
Normal file
18
math/reduce-psl/files/redpsl.1
Normal file
@ -0,0 +1,18 @@
|
||||
.TH REDPSL 1 "2010 October 10" "redpsl"
|
||||
.
|
||||
.
|
||||
.SH NAME
|
||||
redpsl \- Run REDUCE under PSL
|
||||
.
|
||||
.
|
||||
.SH Synopsis
|
||||
.B redpsl
|
||||
.
|
||||
.
|
||||
.SH DESCRIPTION
|
||||
.I redpsl
|
||||
runs REDUCE based on the
|
||||
.BR PSL
|
||||
Lisp system.
|
||||
.
|
||||
.
|
16
math/reduce-psl/files/runpsl.sh
Normal file
16
math/reduce-psl/files/runpsl.sh
Normal file
@ -0,0 +1,16 @@
|
||||
#! /bin/sh
|
||||
|
||||
case `uname -m` in
|
||||
amd64)
|
||||
STORE=2000
|
||||
;;
|
||||
i386)
|
||||
STORE=16000000
|
||||
;;
|
||||
esac
|
||||
|
||||
bin="/usr/local/share/reduce/psl/bpsl"
|
||||
img="/usr/local/share/reduce/red/reduce.img"
|
||||
|
||||
exec $bin -td $STORE -f $img $*
|
||||
|
19
math/reduce-psl/pkg-descr
Normal file
19
math/reduce-psl/pkg-descr
Normal file
@ -0,0 +1,19 @@
|
||||
REDUCE Portable Standard Lisp (PSL)
|
||||
|
||||
REDUCE is an interactive system for general algebraic computations of
|
||||
interest to mathematicians, scientists and engineers.
|
||||
|
||||
PSL was the original implementation of Standard Lisp, but now contains
|
||||
many more facilities. It is quite efficient in its use of both space and
|
||||
time, and has been optimized for algebraic computation. All PSL versions
|
||||
of REDUCE are distributed with sufficient PSL support to run on the given
|
||||
computing system. PSL is supported on many architectures and is an ideal
|
||||
system for those wanting to run REDUCE as a stand-alone system. The
|
||||
principal developer of PSL before it became Open Source was the Konrad
|
||||
Zuse Center, Berlin (ZIB).
|
||||
|
||||
It is often used as an algebraic calculator for problems that are possible
|
||||
to do by hand. However, REDUCE is designed to support calculations that
|
||||
are not feasible by hand.
|
||||
|
||||
WWW: http://www.reduce-algebra.com/
|
1129
math/reduce-psl/pkg-plist.amd64
Normal file
1129
math/reduce-psl/pkg-plist.amd64
Normal file
File diff suppressed because it is too large
Load Diff
1133
math/reduce-psl/pkg-plist.i386
Normal file
1133
math/reduce-psl/pkg-plist.i386
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user