summaryrefslogtreecommitdiff
path: root/math/metis-edf
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2005-01-17 21:08:20 +0000
committerThierry Thomas <thierry@FreeBSD.org>2005-01-17 21:08:20 +0000
commit915461ba90c559155e318d2776e6a0bd2a7efc70 (patch)
tree96946d1102efe9660244a0e58d68490f9f38e03a /math/metis-edf
parent- Add support for databases/db43 in apache2[1] and apache21. (diff)
Upgrade to 4.0.
Notes
Notes: svn path=/head/; revision=126665
Diffstat (limited to 'math/metis-edf')
-rw-r--r--math/metis-edf/Makefile10
-rw-r--r--math/metis-edf/distinfo4
-rw-r--r--math/metis-edf/pkg-plist2
3 files changed, 11 insertions, 5 deletions
diff --git a/math/metis-edf/Makefile b/math/metis-edf/Makefile
index 992a06b4da4a..4c221f7f51a1 100644
--- a/math/metis-edf/Makefile
+++ b/math/metis-edf/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= metis-edf
-PORTVERSION= 3.1
+PORTVERSION= 4.0
CATEGORIES= math
MASTER_SITES= http://www.code-aster.org/FICHIERS/
DISTNAME= ${PORTNAME}-src-${PORTVERSION}-1.noarch
@@ -26,8 +26,12 @@ FFLAGS?= -O2
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+PROGS= kmetis onmetis.exe pmetis
+
+MACHINEARCH= ${ARCH}
+
post-patch:
-.if ${MACHINE_ARCH} != "i386"
+.if ${MACHINEARCH} != "i386"
@${FIND} ${WRKSRC} -type f -name "*.c" -o -name "*.h" | ${XARGS} \
${REINPLACE_CMD} -e "s|long int|int|g" \
-e "s|long|int|g" \
@@ -40,7 +44,7 @@ do-install:
@${CP} ${WRKSRC}/CONFIG/onmetis.in ${WRKSRC}/onmetis
@${REINPLACE_CMD} -e "s#HOME_METIS#${PREFIX}/bin#" ${WRKSRC}/onmetis
${INSTALL_SCRIPT} ${WRKSRC}/onmetis ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/onmetis.exe ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${PROGS:S|^|${WRKSRC}/|} ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/libmetis.a ${PREFIX}/lib
post-install:
diff --git a/math/metis-edf/distinfo b/math/metis-edf/distinfo
index 9f9c774a5308..a9892b9322f4 100644
--- a/math/metis-edf/distinfo
+++ b/math/metis-edf/distinfo
@@ -1,2 +1,2 @@
-MD5 (metis-edf-src-3.1-1.noarch.tar.gz) = 1762b6678d5d017771745c30cf6df0ac
-SIZE (metis-edf-src-3.1-1.noarch.tar.gz) = 692406
+MD5 (metis-edf-src-4.0-1.noarch.tar.gz) = 84cfd72d88b890125a57e67f49ea6404
+SIZE (metis-edf-src-4.0-1.noarch.tar.gz) = 700480
diff --git a/math/metis-edf/pkg-plist b/math/metis-edf/pkg-plist
index 38edff09d865..fc3d46f66745 100644
--- a/math/metis-edf/pkg-plist
+++ b/math/metis-edf/pkg-plist
@@ -1,5 +1,7 @@
+bin/kmetis
bin/onmetis
bin/onmetis.exe
+bin/pmetis
lib/libmetis.a
%%PORTDOCS%%%%DOCSDIR%%/manual.ps
%%PORTDOCS%%%%EXAMPLESDIR%%/fort.81