aboutsummaryrefslogtreecommitdiffstats
path: root/french
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2010-09-17 05:23:10 +0800
committerthierry <thierry@FreeBSD.org>2010-09-17 05:23:10 +0800
commit601a74fa4ee2e9372dc0a149606a586ef388e563 (patch)
treefc4924e897e995955fd24d3a6b9bc54aa800a4be /french
parentd88a52927b09241e73559a767f80cdf7d2af2d6a (diff)
downloadfreebsd-ports-gnome-601a74fa4ee2e9372dc0a149606a586ef388e563.tar.gz
freebsd-ports-gnome-601a74fa4ee2e9372dc0a149606a586ef388e563.tar.zst
freebsd-ports-gnome-601a74fa4ee2e9372dc0a149606a586ef388e563.zip
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.
Diffstat (limited to 'french')
-rw-r--r--french/aster/Makefile11
-rw-r--r--french/aster/bsd.aster.mk28
-rw-r--r--french/aster/distinfo6
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