Upgrade to 4.0.

This commit is contained in:
Thierry Thomas 2005-01-17 21:08:20 +00:00
parent ae9562845c
commit 915461ba90
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=126665
3 changed files with 11 additions and 5 deletions

View file

@ -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:

View file

@ -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

View file

@ -1,5 +1,7 @@
bin/kmetis
bin/onmetis
bin/onmetis.exe
bin/pmetis
lib/libmetis.a
%%PORTDOCS%%%%DOCSDIR%%/manual.ps
%%PORTDOCS%%%%EXAMPLESDIR%%/fort.81