aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2005-01-18 05:08:20 +0800
committerthierry <thierry@FreeBSD.org>2005-01-18 05:08:20 +0800
commitebc0b49d809930b88122775ee2e3bf5128408811 (patch)
treedd79fd6f9502601bbc82d9cf9bf178d5e7c349f7 /math
parentc2616d108dce63721f31f9c2772f910c6d1f06a7 (diff)
downloadfreebsd-ports-gnome-ebc0b49d809930b88122775ee2e3bf5128408811.tar.gz
freebsd-ports-gnome-ebc0b49d809930b88122775ee2e3bf5128408811.tar.zst
freebsd-ports-gnome-ebc0b49d809930b88122775ee2e3bf5128408811.zip
Upgrade to 4.0.
Diffstat (limited to 'math')
-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