freebsd-ports/math/yacas/Makefile
Alexander Leidinger 9f138ca86b From submitter:
- Update to 1.0.53rev1.
- Chase math/libgmp4 version.
- Fix compilation with GCC3 when WITH_GMP is defined.

Submitted by:	marius@alchemy.franken.de
2003-01-11 15:32:24 +00:00

33 lines
657 B
Makefile

# ex:ts=8
# New ports collection makefile for: yacas
# Date created: Jun 21, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= yacas
PORTVERSION= 1.0.53r1
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION:S/r/rev/}
MAINTAINER= ports@FreeBSD.org
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>