aboutsummaryrefslogtreecommitdiffstats
path: root/math/dislin
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2008-04-23 05:59:35 +0800
committerthierry <thierry@FreeBSD.org>2008-04-23 05:59:35 +0800
commite33796988ebf3c6afd84b30b914e133b4daccb68 (patch)
treea903d393d47b3d3b606bad77e8bcd85a2a0430fc /math/dislin
parent5c9b1c4827dece63dc01fe580af032127e6cbd62 (diff)
downloadfreebsd-ports-gnome-e33796988ebf3c6afd84b30b914e133b4daccb68.tar.gz
freebsd-ports-gnome-e33796988ebf3c6afd84b30b914e133b4daccb68.tar.zst
freebsd-ports-gnome-e33796988ebf3c6afd84b30b914e133b4daccb68.zip
Upgrade to 9.3.
Changelog at <http://www.mps.mpg.de/dislin/news.html>. Notified by: Pav
Diffstat (limited to 'math/dislin')
-rw-r--r--math/dislin/Makefile26
-rw-r--r--math/dislin/distinfo-5.46
-rw-r--r--math/dislin/distinfo-6.06
-rw-r--r--math/dislin/distinfo-7.03
4 files changed, 29 insertions, 12 deletions
diff --git a/math/dislin/Makefile b/math/dislin/Makefile
index 487ad75c7658..87bd3b95119c 100644
--- a/math/dislin/Makefile
+++ b/math/dislin/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= dislin
-PORTVERSION= 9.2
-PORTREVISION= 1
+PORTVERSION= 9.3
CATEGORIES= math
MASTER_SITES= ftp://ftp.gwdg.de/pub/grafik/dislin/unix/
DISTNAME= ${PORTNAME}-${PORTVERSION}.fbsd${BINVER}
@@ -40,15 +39,29 @@ USE_LDCONFIG= yes
.if ${OSVERSION} < 600000
BINVER= -5.4
-.else
+BINDIR= 54
+.elif ${OSVERSION} < 700000
BINVER= -6.0
+BINDIR= 60
+.else
+BINVER= -7.0
+BINDIR= 70
.endif
-.if ${OSVERSION} >= 700000
-LIB_DEPENDS+= z.3:${PORTSDIR}/misc/compat6x
-.endif
+#.if ${OSVERSION} >= 800000
+#LIB_DEPENDS+= z.3:${PORTSDIR}/misc/compat7x
+#.endif
+
+SCRIPTS2FIX= clink dlink f2clink
+
+pre-configure:
+.for sc in ${SCRIPTS2FIX}
+ ${REINPLACE_CMD} -e '/libs="-L$$DISLIN/s|"$$| ${PTHREAD_LIBS}"|' \
+ ${WRKSRC}/fbsd_${BINDIR}/bin/${sc}
+.endfor
do-install:
cd ${WRKSRC} && ${SETENV} DISLIN=${DISLIN_DIR} ${SH} INSTALL
+ ${RM} ${SCRIPTS2FIX:S|^|${DISLIN_DIR}/bin/|:S|$|.bak|}
${INSTALL_SCRIPT} ${WRKDIR}/dislin.sh ${DISLIN_DIR}/bin
.for _program in ${PROGRAMS}
${LN} -s ${DISLIN_DIR}/bin/dislin.sh ${PREFIX}/bin/${_program}
@@ -62,6 +75,7 @@ do-install:
${LN} -s ${LOCALBASE}/lib/libf2c.so ${DISLIN_DIR}/libg2c.so
${LN} -s ${LOCALBASE}/lib/libf2c.so.2 ${DISLIN_DIR}/libg2c.so.2
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DISLIN_DIR}
+ ${CHMOD} a+r ${DISLIN_DIR}/README
post-install:
@${ECHO_MSG}
diff --git a/math/dislin/distinfo-5.4 b/math/dislin/distinfo-5.4
index 6bfee654d0e8..065a1d1d30ca 100644
--- a/math/dislin/distinfo-5.4
+++ b/math/dislin/distinfo-5.4
@@ -1,3 +1,3 @@
-MD5 (dislin-9.2.fbsd-5.4.tar.gz) = 2d491892185c55e5326fffb318617396
-SHA256 (dislin-9.2.fbsd-5.4.tar.gz) = 42fee6d08d7556d5238076a43e731c4ecd808577e90cdd330642bf841a1aee47
-SIZE (dislin-9.2.fbsd-5.4.tar.gz) = 14563717
+MD5 (dislin-9.3.fbsd-5.4.tar.gz) = f99ffbb33217613ab9697188b53a60e0
+SHA256 (dislin-9.3.fbsd-5.4.tar.gz) = 271cddfd28ead23cb6bb06307d7a1bf23615813e4ce5b66d64ce4acf2388f786
+SIZE (dislin-9.3.fbsd-5.4.tar.gz) = 14677309
diff --git a/math/dislin/distinfo-6.0 b/math/dislin/distinfo-6.0
index bde3c851c5ac..07edaa43263b 100644
--- a/math/dislin/distinfo-6.0
+++ b/math/dislin/distinfo-6.0
@@ -1,3 +1,3 @@
-MD5 (dislin-9.2.fbsd-6.0.tar.gz) = f0667892f641d6caf387926ab12dac66
-SHA256 (dislin-9.2.fbsd-6.0.tar.gz) = b349e7031348f5bd9a9506b6c6b2db20363f2a6560da7bbe386321120a6a4f00
-SIZE (dislin-9.2.fbsd-6.0.tar.gz) = 14467145
+MD5 (dislin-9.3.fbsd-6.0.tar.gz) = b816dcb1f78de7a9a28cd0563a6f058d
+SHA256 (dislin-9.3.fbsd-6.0.tar.gz) = 5c3e5f4d226231e222ebe777e0ef09e477260b6fbb72e5040a74c7def2661486
+SIZE (dislin-9.3.fbsd-6.0.tar.gz) = 14736221
diff --git a/math/dislin/distinfo-7.0 b/math/dislin/distinfo-7.0
new file mode 100644
index 000000000000..f9f5cf053260
--- /dev/null
+++ b/math/dislin/distinfo-7.0
@@ -0,0 +1,3 @@
+MD5 (dislin-9.3.fbsd-7.0.tar.gz) = 1e497b19aae2acff5d7c3d8d6aecb40a
+SHA256 (dislin-9.3.fbsd-7.0.tar.gz) = 37b7dfac7e4cd3df4e5de32f89052a8c16c447ef66d6a4452c43c2ce1c6e1160
+SIZE (dislin-9.3.fbsd-7.0.tar.gz) = 15055077