1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/math/reduce/Makefile
Baptiste Daroussin b67bcd423b Catch a couple of missing convertsion to :tu/:tl
Submitted by:	ak
With hat:	portmgr
2014-05-05 11:15:53 +00:00

54 lines
1.5 KiB
Makefile

# Created by: Pedro Giffuni
# $FreeBSD$
PORTNAME= reduce
PORTVERSION= 20110414
CATEGORIES= math lang
MASTER_SITES= SF/${PORTNAME}-algebra/
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= giffunip@tutopia.com
COMMENT= Portable general-purpose computer algebra system (CSL version)
LICENSE= BSD2CLAUSE
RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
libpng15.so:${PORTSDIR}/graphics/png \
libtiff.so:${PORTSDIR}/graphics/tiff
USES= gmake tar:bzip2
USE_XORG= xext x11 xft
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --with-csl
ALL_TARGET=
MAKE_JOBS_UNSAFE= yes
.include <bsd.port.options.mk>
.if ${ARCH} == "amd64"
TARGET_SDIR= x86_64-unknown-${OPSYS:tl}${OSREL}
.else
TARGET_SDIR= ${ARCH}-unknown-${OPSYS:tl}${OSREL}
.endif
REDUCECSL= ${WRKSRC}/cslbuild/${TARGET_SDIR}/csl
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_PROGRAM} ${REDUCECSL}/reduce ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${REDUCECSL}/reduce.img ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${FILESDIR}/runcsl.sh ${STAGEDIR}${PREFIX}/bin/redcsl
${INSTALL_MAN} ${FILESDIR}/redcsl.1 ${STAGEDIR}${MANPREFIX}/man/man1/
${MKDIR} ${STAGEDIR}${DATADIR}/reduce.doc
(cd ${REDUCECSL}/reduce.doc && ${COPYTREE_SHARE} . \
${STAGEDIR}${DATADIR}/reduce.doc)
${MKDIR} ${STAGEDIR}${PREFIX}/${FONTDIR}
(cd ${REDUCECSL}/reduce.fonts && ${COPYTREE_SHARE} . \
${STAGEDIR}${DATADIR}/reduce.fonts)
.include <bsd.port.mk>