aboutsummaryrefslogtreecommitdiff
path: root/math/metis-edf
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2006-07-08 20:27:38 +0000
committerThierry Thomas <thierry@FreeBSD.org>2006-07-08 20:27:38 +0000
commit32b1c316ff8a534f4f3eed0d70be58a84f4b885e (patch)
tree22e0c4395ff22951896338d86614fd38f9d36695 /math/metis-edf
parent044dcd30dcd57d41cabf0b5196e09d75ca2bc906 (diff)
downloadports-32b1c316ff8a534f4f3eed0d70be58a84f4b885e.tar.gz
ports-32b1c316ff8a534f4f3eed0d70be58a84f4b885e.zip
Notes
Diffstat (limited to 'math/metis-edf')
-rw-r--r--math/metis-edf/Makefile6
-rw-r--r--math/metis-edf/distinfo6
-rw-r--r--math/metis-edf/files/patch-CONFIG::configure9
3 files changed, 11 insertions, 10 deletions
diff --git a/math/metis-edf/Makefile b/math/metis-edf/Makefile
index ef78e1ba6202..329199862787 100644
--- a/math/metis-edf/Makefile
+++ b/math/metis-edf/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= metis-edf
-DISTVERSION= 4.0-2
+DISTVERSION= 4.0-3
CATEGORIES= math
MASTER_SITES= http://www.code-aster.org/FICHIERS/
-DISTNAME= ${PORTNAME}-src-${DISTVERSION}.noarch
+DISTNAME= ${PORTNAME}-${DISTVERSION}.noarch
MAINTAINER= ports@FreeBSD.org
COMMENT= Meshes partionning tool used by Code_Aster
@@ -29,7 +29,7 @@ PROGS= kmetis onmetis.exe pmetis
MACHINEARCH= ${ARCH}
-post-patch:
+pre-configure:
.if ${MACHINEARCH} != "i386"
@${FIND} ${WRKSRC} -type f -name "*.c" -o -name "*.h" | ${XARGS} \
${REINPLACE_CMD} -e "s|long int|int|g" \
diff --git a/math/metis-edf/distinfo b/math/metis-edf/distinfo
index 22edbd1a88d6..b17c7061ccda 100644
--- a/math/metis-edf/distinfo
+++ b/math/metis-edf/distinfo
@@ -1,3 +1,3 @@
-MD5 (metis-edf-src-4.0-2.noarch.tar.gz) = a0fc7c5d842f01602ee8082f7d6b773c
-SHA256 (metis-edf-src-4.0-2.noarch.tar.gz) = 242e7c5a0931b7eb59c4d7679436147514680e65e7015e59839c2a63d5afb10a
-SIZE (metis-edf-src-4.0-2.noarch.tar.gz) = 700618
+MD5 (metis-edf-4.0-3.noarch.tar.gz) = d549e470b33f468079de23052b971509
+SHA256 (metis-edf-4.0-3.noarch.tar.gz) = 65604cc49cf55d9f6a5f09a7fc78d89be91411b78120a2359645e586ac197145
+SIZE (metis-edf-4.0-3.noarch.tar.gz) = 700612
diff --git a/math/metis-edf/files/patch-CONFIG::configure b/math/metis-edf/files/patch-CONFIG::configure
index 075b4f85ad8a..5d6dfbe76dd3 100644
--- a/math/metis-edf/files/patch-CONFIG::configure
+++ b/math/metis-edf/files/patch-CONFIG::configure
@@ -1,5 +1,5 @@
---- CONFIG/configure.orig Thu Dec 22 17:48:14 2005
-+++ CONFIG/configure Mon Jan 9 22:10:02 2006
+--- CONFIG/configure.orig Wed Jun 28 15:28:35 2006
++++ CONFIG/configure Sat Jul 8 21:54:50 2006
@@ -20,7 +20,7 @@
if [ -z "$rtn" ] || [ "$rtn" = "y" -o "$rtn" = "Y" ]; then
OS_TYPE=SunOS64
@@ -25,7 +25,7 @@
elif [ $OS_TYPE = "CYGWIN_NT-5.1" ]; then
CC_TEMP="gcc"
F90_TEMP="g77"
-@@ -76,31 +85,6 @@
+@@ -76,32 +85,6 @@
if [ -f Makefile.in ]; then
rm -f Makefile.in
fi
@@ -48,12 +48,13 @@
- FOPTIONS_TEMP=$FFLAGS
-fi
-if [ "$LDFLAGS" != "" ] ; then
-- LDOPTIONS_TEMP="$LDFLAGS -L. -L.."
+- LDOPTIONS_TEMP=$LDFLAGS
-fi
-if [ "$AR" != "" ] ; then
- AR_TEMP=$AR
-fi
-
+-LDOPTIONS_TEMP="$LDOPTIONS_TEMP -L. -L.."
cat << EOF > Makefile.in
# Generated by CONFIG/configure