freebsd-ports/math/GiNaC/Makefile

40 lines
904 B
Makefile
Raw Normal View History

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= GiNaC
2020-04-13 04:37:56 +02:00
PORTVERSION= 1.7.9
CATEGORIES= math
MASTER_SITES= ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ \
http://www.ginac.de/
DISTNAME= ${PORTNAME:tl}-${PORTVERSION}
MAINTAINER= stephen@FreeBSD.org
COMMENT= C++ library for symbolic mathematical calculations
2015-07-28 05:26:42 +02:00
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcln.so:math/cln
USES= gmake libtool makeinfo pathfix pkgconfig python:build \
tar:bzip2 compiler:c++11-lib
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
2015-07-28 05:26:42 +02:00
INSTALL_TARGET= install-strip
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INFO= ginac ginac-examples
2003-04-23 16:09:37 +02:00
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/configure
.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>