1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-24 21:01:20 +00:00
freebsd-ports/math/yacas/Makefile
Ying-Chieh Liao 008f6f827b upgrade to 1.0.52
fix gmp support on current
2002-05-24 06:48:17 +00:00

33 lines
640 B
Makefile

# ex:ts=8
# New ports collection makefile for: yacas
# Date created: Jun 21, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= yacas
PORTVERSION= 1.0.52
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
.include <bsd.port.pre.mk>
.if defined(WITH_GMP)
.if ${OSVERSION} >= 500000
LIB_DEPENDS+= gmp.5:${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>