aboutsummaryrefslogtreecommitdiffstats
path: root/math/yacas/Makefile
blob: 7c4a70542da196961e5d90c07d915cfc3d504c3a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# ex:ts=8
# New ports collection makefile for:    yacas
# Date created:         Jun 21, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   yacas
PORTVERSION=    1.0.54
CATEGORIES= math
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE} \
        http://yacas.sourceforge.net/backups/
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Yet Another Computer Algebra System

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_PERL5=  yes

.include <bsd.port.pre.mk>

.if defined(WITH_GMP)
.if ${OSVERSION} >= 500000
LIB_DEPENDS+=   gmp.6:${PORTSDIR}/math/libgmp4
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
.endif
CONFIGURE_ARGS+=    --enable-gmp=yes
.endif

.include <bsd.port.post.mk>