aboutsummaryrefslogtreecommitdiff
path: root/math/GiNaC
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-10-10 17:54:50 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-10-10 17:54:50 +0000
commit0184ced793f2ee2a229be6167ab81b461997d91d (patch)
tree8f3ec1dd169aae5b9240b87817322a54b5f75af8 /math/GiNaC
parentc8a11859fb2167a1de11d97bc44eba2961df1d83 (diff)
downloadports-0184ced793f2ee2a229be6167ab81b461997d91d.tar.gz
ports-0184ced793f2ee2a229be6167ab81b461997d91d.zip
Notes
Diffstat (limited to 'math/GiNaC')
-rw-r--r--math/GiNaC/Makefile29
-rw-r--r--math/GiNaC/distinfo2
-rw-r--r--math/GiNaC/pkg-plist7
3 files changed, 16 insertions, 22 deletions
diff --git a/math/GiNaC/Makefile b/math/GiNaC/Makefile
index 47a0138374e2..7675a074804e 100644
--- a/math/GiNaC/Makefile
+++ b/math/GiNaC/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= GiNaC
-PORTVERSION= 1.1.0
-PORTREVISION= 0
+PORTVERSION= 1.1.3
CATEGORIES= math
MASTER_SITES= ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ \
http://www.ginac.de/
@@ -18,34 +17,30 @@ COMMENT= A C++ library for symbolic mathematical calculations
LIB_DEPENDS= cln.2:${PORTSDIR}/math/cln
-USE_REINPLACE= yes
USE_BZIP2= yes
-USE_GCC= 3.2
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib" \
+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
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000
-IGNORE= "needs gcc32 and cln must be built with gcc32"
+.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}
.endif
post-extract:
@${RM} -f ${WRKSRC}/doc/tutorial/ginac.info*
-post-patch:
-.for file in configure ginac/numeric.cpp ginac/tostring.h
- @${REINPLACE_CMD} -e 's|sstream|strstream|g ; \
- s|stringstream|strstream|g' ${WRKSRC}/${file}
-.endfor
- @${REINPLACE_CMD} -e 's|-release \$$(LT_RELEASE)||g' \
- ${WRKSRC}/ginac/Makefile.in
-
.include <bsd.port.post.mk>
diff --git a/math/GiNaC/distinfo b/math/GiNaC/distinfo
index bbe7a14a100c..8949e63b16ab 100644
--- a/math/GiNaC/distinfo
+++ b/math/GiNaC/distinfo
@@ -1 +1 @@
-MD5 (GiNaC-1.1.0.tar.bz2) = 30c86d96a9d9d689ff0981409b038906
+MD5 (GiNaC-1.1.3.tar.bz2) = 4b3b5ea4ac9650d6bcd4708e43a3a532
diff --git a/math/GiNaC/pkg-plist b/math/GiNaC/pkg-plist
index 10217b6060fa..5ed98e49a1ad 100644
--- a/math/GiNaC/pkg-plist
+++ b/math/GiNaC/pkg-plist
@@ -17,6 +17,7 @@ include/ginac/fderivative.h
include/ginac/flags.h
include/ginac/function.h
include/ginac/ginac.h
+include/ginac/hash_map.h
include/ginac/idx.h
include/ginac/indexed.h
include/ginac/inifcns.h
@@ -39,11 +40,9 @@ include/ginac/tensor.h
include/ginac/tinfos.h
include/ginac/version.h
include/ginac/wildcard.h
-@unexec install-info --delete %D/info/ginac.info %D/info/dir
-info/ginac.info
-@exec install-info %D/info/ginac.info %D/info/dir
lib/libginac.a
lib/libginac.so
-lib/libginac.so.0
+lib/libginac-1.1.so
+lib/libginac-1.1.so.3
share/aclocal/ginac.m4
@dirrm include/ginac