aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2010-09-17 05:23:32 +0800
committerthierry <thierry@FreeBSD.org>2010-09-17 05:23:32 +0800
commitf4c12db7ac567824149f756b68b3de24e9fc8ceb (patch)
treecf379188a1650eb18226574253ea176bbbf59b11 /math
parent3a88a1643f215fa2a28a4808816c73652088abe2 (diff)
downloadfreebsd-ports-gnome-f4c12db7ac567824149f756b68b3de24e9fc8ceb.tar.gz
freebsd-ports-gnome-f4c12db7ac567824149f756b68b3de24e9fc8ceb.tar.zst
freebsd-ports-gnome-f4c12db7ac567824149f756b68b3de24e9fc8ceb.zip
Chase Code_Aster's upgrade.
Diffstat (limited to 'math')
-rw-r--r--math/metis-edf/Makefile17
-rw-r--r--math/metis-edf/distinfo3
2 files changed, 3 insertions, 17 deletions
diff --git a/math/metis-edf/Makefile b/math/metis-edf/Makefile
index 668c5061d8b1..fcf4f6621bd9 100644
--- a/math/metis-edf/Makefile
+++ b/math/metis-edf/Makefile
@@ -6,23 +6,15 @@
#
PORTNAME= metis-edf
-DISTVERSIONPREFIX= full-src-
DISTVERSION= 4.1-2
-DISTVERSIONSUFFIX= .noarch
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= math
-MASTER_SITES= http://www.code-aster.org/V2/UPLOAD/DOC/Telechargement/
-DISTNAME= aster-${DISTVERSIONPREFIX}${ASTER_DISTVERSION}${DISTVERSIONSUFFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Meshes partionning tool used by Code_Aster
CONFLICTS= metis-[0-9]*
-ASTER_VER= 10.1.0
-ASTER_DISTVERSION= ${ASTER_VER}-4
-EXTRACT_WRKSRC= ${WRKDIR}/aster-${DISTVERSIONPREFIX}${ASTER_VER}/SRC
-
ALL_TARGET= default
MAKE_ENV+= AR="${AR}" PICFLAG="${PICFLAG}"
MAKE_JOBS_UNSAFE= yes
@@ -32,7 +24,7 @@ USE_FORTRAN= yes
FFLAGS+= -O2
PICFLAG?= -fPIC
-WRKSRC= ${WRKDIR}/${PORTNAME:C/-/_/}-${PORTVERSION:R}
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
PROGS= kmetis onmetis.exe pmetis
DOCS= CHANGES Doc/manual.ps README_Code_Aster
@@ -41,6 +33,7 @@ FORTRANLIBS= -lgfortranbegin -lgfortran
GCCLIBDIR= -L`${CAT} ${WRKSRC}/LIBDIR` -L`${CAT} ${WRKSRC}/LIBDIR`/../../..
.include <bsd.port.pre.mk>
+.include "${.CURDIR}/../../french/aster/bsd.aster.mk"
MACHINEARCH= ${ARCH}
.if ${ARCH} == "i386"
@@ -50,10 +43,6 @@ PLIST_SUB+= SHLIB=""
PLIST_SUB+= SHLIB="@comment "
.endif
-post-extract:
- (cd ${WRKDIR} && \
- ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${EXTRACT_WRKSRC}/${PORTNAME:C/-/_/}-${DISTVERSION}${DISTVERSIONSUFFIX}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS})
-
pre-configure:
.if ${MACHINEARCH} != "i386"
${FIND} ${WRKSRC} -type f -name "*.c" -o -name "*.h" | ${XARGS} \
diff --git a/math/metis-edf/distinfo b/math/metis-edf/distinfo
deleted file mode 100644
index 74854df498b7..000000000000
--- a/math/metis-edf/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (aster-full-src-10.1.0-4.noarch.tar.gz) = 49fe55a0a46491124c16965a2db59c5e
-SHA256 (aster-full-src-10.1.0-4.noarch.tar.gz) = c72f82abadb627925cbc5cbf9909f969e4c60f29325a62d78664eb03a860468a
-SIZE (aster-full-src-10.1.0-4.noarch.tar.gz) = 163690307