2001-03-07 08:09:03 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: GiNaC
|
|
|
|
# Date created: Mar 7, 2001
|
|
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= GiNaC
|
2010-01-30 02:09:44 +01:00
|
|
|
PORTVERSION= 1.5.6
|
2001-03-07 08:09:03 +01:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ \
|
|
|
|
http://www.ginac.de/
|
2005-07-18 18:00:12 +02:00
|
|
|
DISTNAME= ${PORTNAME:L}-${PORTVERSION}
|
2001-03-07 08:09:03 +01:00
|
|
|
|
2009-04-05 22:50:49 +02:00
|
|
|
MAINTAINER= stephen@missouri.edu
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= A C++ library for symbolic mathematical calculations
|
2001-03-07 08:09:03 +01:00
|
|
|
|
2009-08-16 03:22:58 +02:00
|
|
|
LIB_DEPENDS= cln.6:${PORTSDIR}/math/cln
|
2001-03-07 08:09:03 +01:00
|
|
|
|
2001-12-08 21:30:53 +01:00
|
|
|
USE_BZIP2= yes
|
2009-01-16 10:12:36 +01:00
|
|
|
USE_GNOME= gnomehack pkgconfig
|
2001-12-08 21:30:53 +01:00
|
|
|
USE_GMAKE= yes
|
2009-08-02 21:36:34 +02:00
|
|
|
USE_AUTOTOOLS= libtool:22
|
2008-04-28 09:52:03 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2006-08-15 02:29:13 +02:00
|
|
|
USE_LDCONFIG= yes
|
2001-03-07 08:09:03 +01:00
|
|
|
|
2007-10-20 11:04:13 +02:00
|
|
|
MAN1= ginsh.1 viewgar.1
|
2008-04-28 09:52:03 +02:00
|
|
|
INFO= ginac ginac-examples
|
2003-10-10 19:54:50 +02:00
|
|
|
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
2001-12-08 21:30:53 +01:00
|
|
|
|
2003-04-23 16:09:37 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-01-02 02:07:46 +01:00
|
|
|
.if ${ARCH} == "alpha"
|
2006-10-07 17:01:20 +02:00
|
|
|
BROKEN= Does not build on alpha
|
2005-01-02 02:07:46 +01:00
|
|
|
.endif
|
|
|
|
|
2010-01-18 00:57:10 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/configure
|
2009-08-16 16:42:45 +02:00
|
|
|
.if ${ARCH} != "i386"
|
|
|
|
@${REINPLACE_CMD} -e 's|unsigned|size_t|g' ${WRKSRC}/ginac/parser/parser.cpp
|
|
|
|
.endif
|
|
|
|
|
2003-04-23 16:09:37 +02:00
|
|
|
.include <bsd.port.post.mk>
|