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
|
2020-04-13 04:37:56 +02:00
|
|
|
PORTVERSION= 1.7.9
|
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
|
|
|
|
2015-07-28 05:26:42 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS= libcln.so:math/cln
|
2001-03-07 08:09:03 +01:00
|
|
|
|
2016-05-03 19:24:20 +02:00
|
|
|
USES= gmake libtool makeinfo pathfix pkgconfig python:build \
|
2016-05-09 18:23:32 +02:00
|
|
|
tar:bzip2 compiler:c++11-lib
|
2014-05-10 23:36:36 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2006-08-15 02:29:13 +02:00
|
|
|
USE_LDCONFIG= yes
|
2015-07-28 05:26:42 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
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>
|