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-06-23 00:03:10 +02:00
|
|
|
PORTVERSION= 1.0.55
|
2001-06-21 18:57:55 +02:00
|
|
|
CATEGORIES= math
|
2003-06-23 00:03:10 +02:00
|
|
|
MASTER_SITES= http://yacas.sourceforge.net/backups/
|
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
|
2002-02-24 09:49:36 +01:00
|
|
|
USE_GMAKE= yes
|
2003-06-23 00:03:10 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
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)
|
2003-01-11 16:32:24 +01:00
|
|
|
LIB_DEPENDS+= gmp.6:${PORTSDIR}/math/libgmp4
|
2003-04-11 05:07:04 +02:00
|
|
|
CONFIGURE_ARGS+= --with-numlib=gmp
|
2003-06-23 00:03:10 +02:00
|
|
|
PLIST_SUB+= GMP="" NOGMP="@comment "
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2003-04-11 05:07:04 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-numlib=native
|
2003-06-23 00:03:10 +02:00
|
|
|
PLIST_SUB+= GMP="@comment " NOGMP=""
|
2003-04-11 05:07:04 +02:00
|
|
|
.endif
|
|
|
|
|
2003-06-23 00:03:10 +02:00
|
|
|
.if defined(WITH_X11)
|
2003-04-11 05:07:04 +02:00
|
|
|
USE_MESA= yes
|
|
|
|
CONFIGURE_ARGS+= --with-x
|
2003-06-23 00:03:10 +02:00
|
|
|
PLIST_SUB+= X11=""
|
|
|
|
CPPFLAGS+= -I${X11BASE}/include
|
|
|
|
LDFLAGS+= -L${X11BASE}/lib
|
2003-04-11 05:07:04 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-x
|
2003-06-23 00:03:10 +02:00
|
|
|
PLIST_SUB+= X11="@comment "
|
2001-10-05 08:43:01 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|