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