diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2010-09-16 21:23:10 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2010-09-16 21:23:10 +0000 |
commit | 01820d3d91d1b1f1b696175f2e466b9899f49642 (patch) | |
tree | 2ad18894061c22db5c51420906fc07a8637aa7ac /french | |
parent | 8df2121ba41ec5ae2ee7ae9a756a23006b1019f9 (diff) | |
download | ports-01820d3d91d1b1f1b696175f2e466b9899f49642.tar.gz ports-01820d3d91d1b1f1b696175f2e466b9899f49642.zip |
Notes
Diffstat (limited to 'french')
-rw-r--r-- | french/aster/Makefile | 11 | ||||
-rw-r--r-- | french/aster/bsd.aster.mk | 28 | ||||
-rw-r--r-- | french/aster/distinfo | 6 |
3 files changed, 36 insertions, 9 deletions
diff --git a/french/aster/Makefile b/french/aster/Makefile index 2b21efcba356..5371fa4a6ccb 100644 --- a/french/aster/Makefile +++ b/french/aster/Makefile @@ -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} diff --git a/french/aster/bsd.aster.mk b/french/aster/bsd.aster.mk new file mode 100644 index 000000000000..7d5716683132 --- /dev/null +++ b/french/aster/bsd.aster.mk @@ -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 diff --git a/french/aster/distinfo b/french/aster/distinfo index da93a363feb7..4ce9ee4b881f 100644 --- a/french/aster/distinfo +++ b/french/aster/distinfo @@ -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 |