2013-08-31 02:35:35 +02:00
|
|
|
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
2001-03-07 08:09:03 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= GiNaC
|
2011-11-06 17:29:15 +01:00
|
|
|
PORTVERSION= 1.6.2
|
2001-03-07 08:09:03 +01:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ \
|
|
|
|
http://www.ginac.de/
|
2014-05-05 11:45:36 +02:00
|
|
|
DISTNAME= ${PORTNAME:tl}-${PORTVERSION}
|
2001-03-07 08:09:03 +01:00
|
|
|
|
2011-06-14 09:38:51 +02:00
|
|
|
MAINTAINER= stephen@FreeBSD.org
|
2014-01-29 17:18:32 +01:00
|
|
|
COMMENT= C++ library for symbolic mathematical calculations
|
2001-03-07 08:09:03 +01:00
|
|
|
|
2014-01-29 17:18:32 +01:00
|
|
|
LIB_DEPENDS= libcln.so:${PORTSDIR}/math/cln
|
2001-03-07 08:09:03 +01:00
|
|
|
|
2001-12-08 21:30:53 +01:00
|
|
|
USE_BZIP2= yes
|
2013-08-31 02:35:35 +02:00
|
|
|
USES= pkgconfig pathfix gmake
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2006-08-15 02:29:13 +02:00
|
|
|
USE_LDCONFIG= yes
|
2001-03-07 08:09:03 +01:00
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2001-12-08 21:30:53 +01:00
|
|
|
|
2014-01-29 17:18:32 +01:00
|
|
|
INFO= ginac ginac-examples
|
2003-04-23 16:09:37 +02:00
|
|
|
|
2014-01-29 17:18:32 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
2005-01-02 02:07:46 +01:00
|
|
|
|
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"
|
2014-01-29 17:18:32 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|unsigned|size_t|g' \
|
|
|
|
${WRKSRC}/ginac/parser/parser.cpp
|
2009-08-16 16:42:45 +02:00
|
|
|
.endif
|
|
|
|
|
2003-04-23 16:09:37 +02:00
|
|
|
.include <bsd.port.post.mk>
|