freebsd-ports/math/GiNaC/Makefile

47 lines
1.1 KiB
Makefile
Raw Normal View History

# ex:ts=8
# New ports collection makefile for: GiNaC
# Date created: Mar 7, 2001
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= GiNaC
PORTVERSION= 1.1.5
CATEGORIES= math
MASTER_SITES= ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ \
http://www.ginac.de/
2001-06-08 19:15:05 +02:00
MAINTAINER= ports@FreeBSD.org
2003-02-20 20:00:52 +01:00
COMMENT= A C++ library for symbolic mathematical calculations
LIB_DEPENDS= cln.2:${PORTSDIR}/math/cln
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
MAKEINFO="makeinfo --no-split"
INSTALLS_SHLIB= yes
MAN1= ginac-config.1 ginsh.1 viewgar.1
INFO= ginac
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
2003-04-23 16:09:37 +02:00
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500035
BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
CPPFLAGS+= -I${LOCALBASE}/include/stlport ${PTHREAD_CFLAGS}
LDFLAGS+= -lstlport_gcc ${PTHREAD_LIBS}
2003-04-23 16:09:37 +02:00
.endif
post-extract:
@${RM} -f ${WRKSRC}/doc/tutorial/ginac.info*
2003-04-23 16:09:37 +02:00
.include <bsd.port.post.mk>