aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2010-09-16 21:23:32 +0000
committerThierry Thomas <thierry@FreeBSD.org>2010-09-16 21:23:32 +0000
commitcb4f661ae0c70711917344631f0fa0ac1cc372c3 (patch)
treef340343b96d2f0dccde6d4b25264047750156e5d /math
parent46dfdd113a1371f37a68c87c1b86cf788778a2c4 (diff)
downloadports-cb4f661ae0c70711917344631f0fa0ac1cc372c3.tar.gz
ports-cb4f661ae0c70711917344631f0fa0ac1cc372c3.zip
Notes
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