aboutsummaryrefslogtreecommitdiff
path: root/math/giacxcas
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2010-10-09 22:26:00 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2010-10-09 22:26:00 +0000
commit8fc31d32f074ef22562c3b6e20705a57d97332ba (patch)
tree7e523c392648c7cc13a7103cf2e9cd294a93d08b /math/giacxcas
parentf2a7594a0db44ef7ecb66e14d9de2ac1088b2609 (diff)
downloadports-8fc31d32f074ef22562c3b6e20705a57d97332ba.tar.gz
ports-8fc31d32f074ef22562c3b6e20705a57d97332ba.zip
Notes
Diffstat (limited to 'math/giacxcas')
-rw-r--r--math/giacxcas/Makefile18
-rw-r--r--math/giacxcas/distinfo6
-rw-r--r--math/giacxcas/pkg-plist4
3 files changed, 19 insertions, 9 deletions
diff --git a/math/giacxcas/Makefile b/math/giacxcas/Makefile
index bb22e0c70566..871b01d295fc 100644
--- a/math/giacxcas/Makefile
+++ b/math/giacxcas/Makefile
@@ -7,9 +7,10 @@
PORTNAME= giacxcas
PORTVERSION= 0.9.0
+PORTREVISION= 1
CATEGORIES= math
-MASTER_SITES= http://people.math.jussieu.fr/~han/xcas/sources/ \
- http://www.institut.math.jussieu.fr/~han/xcas/sources/
+MASTER_SITES= ftp://ftp-fourier.ujf-grenoble.fr/xcas/freebsd/ \
+ http://people.math.jussieu.fr/~han/xcas/sources/rev1/
DISTFILES= fltkdev.tgz CoCoALib.tgz giac-${PORTVERSION}.tar.gz
DIST_SUBDIR= ${PORTNAME}
@@ -18,7 +19,9 @@ COMMENT= Computer algebra system by Bernard Parisse
BUILD_DEPENDS= hevea:${PORTSDIR}/textproc/hevea \
latex:${PORTSDIR}/print/teTeX-base \
- dvips:${PORTSDIR}/print/dvipsk-tetex\
+ dvips:${PORTSDIR}/print/dvipsk-tetex \
+ ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash \
+ gettext:${PORTSDIR}/devel/gettext \
${LOCALBASE}/lib/libntl.a:${PORTSDIR}/math/ntl
PATCH_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash
LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp \
@@ -37,6 +40,13 @@ USE_LDCONFIG= yes
CPPFLAGS+= -I${FLTKDEV-GIAC} -I${COCOALIB-GIAC}/include -I${LOCALBASE}/include
LDFLAGS+= -L${FLTKDEV-GIAC}/lib -L${COCOALIB-GIAC}/lib -L${LOCALBASE}/lib
CXXFLAGS+= -I${LOCALBASE}/include
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+CXXFLAGS+= -DSMARTPTR64 -D_I386_ -fPIC
+.endif
+
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
WRKSRC= ${WRKDIR}/giac-${PORTVERSION}
@@ -57,4 +67,4 @@ pre-configure:
./configure --prefix=${FLTKDEV-GIAC} \
&& ${MAKE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/math/giacxcas/distinfo b/math/giacxcas/distinfo
index da746440f330..74c48e7fee95 100644
--- a/math/giacxcas/distinfo
+++ b/math/giacxcas/distinfo
@@ -4,6 +4,6 @@ SIZE (giacxcas/fltkdev.tgz) = 6391860
MD5 (giacxcas/CoCoALib.tgz) = b8a7ed67355a0975321ef3cfd08c511e
SHA256 (giacxcas/CoCoALib.tgz) = 501048b46125e730c24b9733eb180531461bd9a045a6e3a640e9aae512ce0293
SIZE (giacxcas/CoCoALib.tgz) = 1580875
-MD5 (giacxcas/giac-0.9.0.tar.gz) = f38f028deebc6f7e652078ead0c2ebd5
-SHA256 (giacxcas/giac-0.9.0.tar.gz) = b7c31f32a8702af7ad8b91305b5f1934f9b1e328cd4bc0b861918db1f4b61241
-SIZE (giacxcas/giac-0.9.0.tar.gz) = 16260457
+MD5 (giacxcas/giac-0.9.0.tar.gz) = 736b8a37ac027bb6203d59f3d8432d28
+SHA256 (giacxcas/giac-0.9.0.tar.gz) = abed026e9869acb77275b3381dec53d3f242ab54c65485d32fcaeb05f7a24082
+SIZE (giacxcas/giac-0.9.0.tar.gz) = 18705169
diff --git a/math/giacxcas/pkg-plist b/math/giacxcas/pkg-plist
index ed20c3958e7f..3eaee8c7bc7a 100644
--- a/math/giacxcas/pkg-plist
+++ b/math/giacxcas/pkg-plist
@@ -2947,6 +2947,6 @@ share/pixmaps/xcas.xpm
@dirrm share/doc/giac/Exemples/analyse
@dirrm share/doc/giac/Exemples
@dirrm share/doc/giac
-@dirrm share/applications
-@dirrm share/application-registry
+@dirrmtry share/applications
+@dirrmtry share/application-registry
@dirrm include/giac