2001-06-21 18:57:55 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: yacas
|
|
|
|
# Date created: Jun 21, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= yacas
|
2003-04-10 12:43:51 +02:00
|
|
|
PORTVERSION= 1.0.54
|
2003-04-11 05:07:04 +02:00
|
|
|
PORTREVISION= 1
|
2001-06-21 18:57:55 +02:00
|
|
|
CATEGORIES= math
|
2003-04-10 12:43:51 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
|
|
http://yacas.sourceforge.net/backups/
|
2002-05-24 08:48:17 +02:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2001-06-21 18:57:55 +02:00
|
|
|
|
2001-11-22 13:38:03 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Yet Another Computer Algebra System
|
2001-06-21 18:57:55 +02:00
|
|
|
|
2003-04-11 05:07:04 +02:00
|
|
|
LIB_DEPENDS= gsl.4:${PORTSDIR}/math/gsl
|
|
|
|
|
|
|
|
USE_PERL5_BUILD= yes
|
|
|
|
USE_LIBTOOL= yes
|
2002-01-10 16:09:22 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2002-02-24 09:49:36 +01:00
|
|
|
USE_GMAKE= yes
|
2003-04-11 05:07:04 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2002-01-10 16:09:22 +01:00
|
|
|
|
2001-10-05 08:43:01 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_GMP)
|
|
|
|
.if ${OSVERSION} >= 500000
|
2003-01-11 16:32:24 +01:00
|
|
|
LIB_DEPENDS+= gmp.6:${PORTSDIR}/math/libgmp4
|
2002-01-10 16:09:22 +01:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
2001-10-05 08:43:01 +02:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
.endif
|
2003-04-11 05:07:04 +02:00
|
|
|
CONFIGURE_ARGS+= --with-numlib=gmp
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-numlib=native
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_X)
|
|
|
|
USE_XLIB= yes
|
|
|
|
USE_MESA= yes
|
|
|
|
CONFIGURE_ARGS+= --with-x
|
|
|
|
PLIST_SUB+= WITH_X=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-x
|
|
|
|
PLIST_SUB+= WITH_X="@comment "
|
2001-10-05 08:43:01 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|