diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2008-04-22 21:59:35 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2008-04-22 21:59:35 +0000 |
commit | 37e671c9f02db402224b7c37d47010eb74e0486b (patch) | |
tree | 5237f66558d30e44f5845c075ba8972f9864ca10 /math | |
parent | 32baca69bea075c07560017d927022cff6b3dbf7 (diff) | |
download | ports-37e671c9f02db402224b7c37d47010eb74e0486b.tar.gz ports-37e671c9f02db402224b7c37d47010eb74e0486b.zip |
Notes
Diffstat (limited to 'math')
-rw-r--r-- | math/dislin/Makefile | 26 | ||||
-rw-r--r-- | math/dislin/distinfo-5.4 | 6 | ||||
-rw-r--r-- | math/dislin/distinfo-6.0 | 6 | ||||
-rw-r--r-- | math/dislin/distinfo-7.0 | 3 |
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 |