1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/math/reduce-psl/Makefile
Kurt Jaeger 5a4fd5ad50 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
2018-02-23 20:23:26 +00:00

58 lines
1.5 KiB
Makefile

# 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>