freebsd-ports/math/GiNaC/Makefile

36 lines
794 B
Makefile
Raw Normal View History

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= GiNaC
2011-11-06 17:29:15 +01:00
PORTVERSION= 1.6.2
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
LIB_DEPENDS= libcln.so:${PORTSDIR}/math/cln
USE_BZIP2= yes
USES= pkgconfig pathfix gmake
2010-12-04 08:34:27 +01:00
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
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>