mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
03cd6812ff
Approved by: thierry (mentor, implicit)
56 lines
1.4 KiB
Makefile
56 lines
1.4 KiB
Makefile
# Created by: Pedro Giffuni
|
|
|
|
PORTNAME= reduce
|
|
PORTVERSION= 20210413
|
|
CATEGORIES= math lang
|
|
MASTER_SITES= SF/reduce-algebra/${SFSUBDIR}/
|
|
PKGNAMESUFFIX= -psl
|
|
DISTNAME= Reduce-svn5758-src
|
|
|
|
MAINTAINER= pfg@FreeBSD.org
|
|
COMMENT= Portable Standard Lisp REDUCE general-purpose algebra system
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
ONLY_FOR_ARCHS= amd64 i386
|
|
|
|
USES= autoreconf:build libtool gmake ncurses
|
|
|
|
SFSUBDIR= snapshot_2021-04-13
|
|
|
|
TARGET_SDIR= ${ARCH:S/amd64/x86_64/}-unknown-${OPSYS:tl}${OSREL}
|
|
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}
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
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>
|