Upgrade to 10.2.0-2, add a common file to be included by the

other related ports, and depends on Tcl/Tk 8.5.
This commit is contained in:
Thierry Thomas 2010-09-16 21:23:10 +00:00
parent 8df2121ba4
commit 01820d3d91
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=261296
3 changed files with 36 additions and 9 deletions

View File

@ -6,12 +6,8 @@
#
PORTNAME= aster
DISTVERSIONPREFIX= full-src-
DISTVERSION= 10.2.0-1
DISTVERSIONSUFFIX= .noarch
PORTREVISION= 1
DISTVERSION= ${ASTER_DISTVERSION}
CATEGORIES= french cad
MASTER_SITES= http://www.code-aster.org/V2/UPLOAD/DOC/Telechargement/
MAINTAINER= thierry@FreeBSD.org
COMMENT= Code_Aster finite element method solver
@ -48,6 +44,8 @@ RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/Gnuplot:${PORTSDIR}/math/py-gnuplot \
${LOCALBASE}/bin/onmetis.exe:${PORTSDIR}/math/metis-edf \
${LOCALBASE}/aster/ASTK/ASTK_SERV:${PORTSDIR}/cad/astk-serveur
LICENSE= GPLv2
USE_BISON= build
USE_PYTHON= yes
HAS_CONFIGURE= yes
@ -64,6 +62,7 @@ SUB_LIST= tools_dir=${tools_dir}
INTERACTIVE_SCRIPTS= check_compilers.py setup.py
.include "${.CURDIR}/../../french/aster/bsd.aster.mk"
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
@ -145,7 +144,7 @@ HOME_MPI= ${LOCALBASE}
USE_FORTRAN= yes
GCC_VER= `${CC} -dumpversion`
TK_VER?= 8.4
TK_VER?= 8.5
SHORT_TK_VER= ${TK_VER:S/.//}
TCL_VER?= ${TK_VER}

28
french/aster/bsd.aster.mk Normal file
View File

@ -0,0 +1,28 @@
# Date created: Tue Sep 14, 2010
# Whom: Thierry Thomas (<thierry@pompo.net>)
#
# $FreeBSD$
#
# Common variables used by ports related to Code_Aster
DISTVERSIONPREFIX= full-src-
DISTVERSIONSUFFIX= .noarch
MASTER_SITES= http://www.code-aster.org/V2/UPLOAD/DOC/Telechargement/
DISTNAME= aster-${DISTVERSIONPREFIX}${ASTER_DISTVERSION}${DISTVERSIONSUFFIX}
MD5_FILE= ${.CURDIR}/../../french/aster/distinfo
ASTER_VER= 10.2.0
ASTER_DISTVERSION= ${ASTER_VER}-2
EXTRACT_WRKSRC= ${WRKDIR}/aster-${DISTVERSIONPREFIX}${ASTER_VER}/SRC
.if ${PORTNAME} == metis-edf
DVSFX= ${DISTVERSIONSUFFIX}
.elif ${PORTNAME} == homard
DVSFX= .all
.endif
.if ${PORTNAME} != aster
post-extract:
(cd ${WRKDIR} && \
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${EXTRACT_WRKSRC}/${PORTNAME}-${DISTVERSION}${DVSFX}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS})
.endif

View File

@ -1,3 +1,3 @@
MD5 (aster-full-src-10.2.0-1.noarch.tar.gz) = b2ba78c4d41d40933a98e21f16f3ec3d
SHA256 (aster-full-src-10.2.0-1.noarch.tar.gz) = 99fe143121ffde6089335163902a75805ba61fe559c3176846db1452491b5d48
SIZE (aster-full-src-10.2.0-1.noarch.tar.gz) = 181662707
MD5 (aster-full-src-10.2.0-2.noarch.tar.gz) = 52296eac6389a9d71e3fd4aa702aed5d
SHA256 (aster-full-src-10.2.0-2.noarch.tar.gz) = 656f4a24fa0bad627f0a1146e8f5cf1980a9413e719b03bf981fccff50301432
SIZE (aster-full-src-10.2.0-2.noarch.tar.gz) = 181674080