Update to version 4.0.

PR:		8243
Submitted by:	old maintainer
This commit is contained in:
Steve Price 1998-10-10 05:40:57 +00:00
parent 7f19f8c2d6
commit 98744c8279
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13840
12 changed files with 250 additions and 148 deletions

View File

@ -1,16 +1,16 @@
# New ports collection makefile for: METIS
# Version required: 3.0
# Version required: 4.0
# Date created: 26 Oct 97
# Whom: Pedro Giffuni <giffunip@asme.org>
#
# $Id$
# $Id: Makefile,v 1.1.1.1 1998/04/26 03:55:22 mph Exp $
#
DISTNAME= metis-3.0
DISTNAME= metis-4.0
CATEGORIES= math
MASTER_SITES= http://www.cs.umn.edu/~karypis/metis/metis/files/
MAINTAINER= giffunip@asme.org
MAINTAINER= ports@FreeBSD.org
ALL_TARGET=

View File

@ -1 +1 @@
MD5 (metis-3.0.tar.gz) = f547a7e503f497de29e1e54c1c13e91e
MD5 (metis-4.0.tar.gz) = d8e46ff88441800fb0782b61b99048ff

View File

@ -1,27 +1,46 @@
--- Makefile.in.orig Sat Apr 25 23:41:58 1998
+++ Makefile.in Sat Apr 25 23:43:23 1998
@@ -1,9 +1,9 @@
# Which compiler to use
-CC = cc
+# CC = cc
# What optimization level to use
-OPTFLAGS = -O2
+# OPTFLAGS = -O2
# What options to be used by the compiler
COPTIONS =
@@ -12,10 +12,10 @@
LDOPTIONS =
# What archiving to use
-AR = ar rv
+# AR = ar rv
# What to use for indexing the archive
-RANLIB = ranlib
+# RANLIB = ranlib
# RANLIB = ar -ts
# RANLIB =
*** Makefile.in.orig Fri Oct 9 20:16:24 1998
--- Makefile.in Fri Oct 9 20:17:42 1998
***************
*** 1,9 ****
# Which compiler to use
! CC = cc
# What optimization level to use
! OPTFLAGS = -O2
# What options to be used by the compiler
COPTIONS =
--- 1,9 ----
# Which compiler to use
! # CC = cc
# What optimization level to use
! # OPTFLAGS = -O2
# What options to be used by the compiler
COPTIONS =
***************
*** 12,21 ****
LDOPTIONS =
# What archiving to use
! AR = ar rv
# What to use for indexing the archive
! RANLIB = ranlib
# RANLIB = ar -ts
# RANLIB =
--- 12,21 ----
LDOPTIONS =
# What archiving to use
! # AR = ar rv
# What to use for indexing the archive
! # RANLIB = ranlib
# RANLIB = ar -ts
# RANLIB =

View File

@ -1,20 +1,36 @@
--- Lib/Makefile.orig Sat Apr 25 23:43:54 1998
+++ Lib/Makefile Sat Apr 25 23:44:31 1998
@@ -2,7 +2,7 @@
INCLUDES = -I./
-CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
+CFLAGS += $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
LD = $(CC) -L./
@@ -17,7 +17,7 @@
$(CC) $(CFLAGS) -c $*.c
../libmetis.a: $(OBJS)
- $(AR) $@ $(OBJS)
+ $(AR) $(ARFLAGS) $@ $(OBJS)
$(RANLIB) $@
checkin:
*** Lib/Makefile.orig Fri Oct 9 20:19:01 1998
--- Lib/Makefile Fri Oct 9 20:20:32 1998
***************
*** 2,8 ****
INCLUDES = -I.
! CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
LD = $(CC) -L.
--- 2,8 ----
INCLUDES = -I.
! CFLAGS += $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
LD = $(CC) -L.
***************
*** 21,27 ****
$(CC) $(CFLAGS) -c $*.c
../libmetis.a: $(OBJS)
! $(AR) $@ $(OBJS)
$(RANLIB) $@
clean:
--- 21,27 ----
$(CC) $(CFLAGS) -c $*.c
../libmetis.a: $(OBJS)
! $(AR) $(ARFLAGS) $@ $(OBJS)
$(RANLIB) $@
clean:

View File

@ -1,11 +1,19 @@
--- Programs/Makefile.orig Sat Apr 25 23:44:50 1998
+++ Programs/Makefile Sat Apr 25 23:46:35 1998
@@ -3,7 +3,7 @@
BINDIR = ..
INCLUDES = -I../Lib
-CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
+CFLAGS += $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
LIBS = -lmetis -lm
LD = $(CC) $(LDOPTIONS) -L./ -L../
*** Programs/Makefile.orig Fri Oct 9 20:21:48 1998
--- Programs/Makefile Fri Oct 9 20:22:16 1998
***************
*** 3,9 ****
BINDIR = ..
INCLUDES = -I../Lib
! CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
LIBS = -lmetis -lm
LD = $(CC) $(LDOPTIONS) -L. -L..
--- 3,9 ----
BINDIR = ..
INCLUDES = -I../Lib
! CFLAGS += $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
LIBS = -lmetis -lm
LD = $(CC) $(LDOPTIONS) -L. -L..

View File

@ -1,11 +1,19 @@
--- Test/Makefile.orig Sat Apr 25 23:46:45 1998
+++ Test/Makefile Sat Apr 25 23:46:53 1998
@@ -3,7 +3,7 @@
BINDIR = ./
INCLUDES = -I../Lib
-CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
+CFLAGS += $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
LIBS = -lmetis -lm
LD = $(CC) $(LDOPTIONS) -L../
*** Test/Makefile.orig Fri Oct 9 20:23:24 1998
--- Test/Makefile Fri Oct 9 20:23:40 1998
***************
*** 3,9 ****
BINDIR = ../Graphs
INCLUDES = -I../Lib
! CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
LIBS = -lmetis -lm
LD = $(CC) $(LDOPTIONS) -L. -L..
--- 3,9 ----
BINDIR = ../Graphs
INCLUDES = -I../Lib
! CFLAGS += $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
LIBS = -lmetis -lm
LD = $(CC) $(LDOPTIONS) -L. -L..

View File

@ -1,16 +1,16 @@
# New ports collection makefile for: METIS
# Version required: 3.0
# Version required: 4.0
# Date created: 26 Oct 97
# Whom: Pedro Giffuni <giffunip@asme.org>
#
# $Id$
# $Id: Makefile,v 1.1.1.1 1998/04/26 03:55:22 mph Exp $
#
DISTNAME= metis-3.0
DISTNAME= metis-4.0
CATEGORIES= math
MASTER_SITES= http://www.cs.umn.edu/~karypis/metis/metis/files/
MAINTAINER= giffunip@asme.org
MAINTAINER= ports@FreeBSD.org
ALL_TARGET=

View File

@ -1 +1 @@
MD5 (metis-3.0.tar.gz) = f547a7e503f497de29e1e54c1c13e91e
MD5 (metis-4.0.tar.gz) = d8e46ff88441800fb0782b61b99048ff

View File

@ -1,27 +1,46 @@
--- Makefile.in.orig Sat Apr 25 23:41:58 1998
+++ Makefile.in Sat Apr 25 23:43:23 1998
@@ -1,9 +1,9 @@
# Which compiler to use
-CC = cc
+# CC = cc
# What optimization level to use
-OPTFLAGS = -O2
+# OPTFLAGS = -O2
# What options to be used by the compiler
COPTIONS =
@@ -12,10 +12,10 @@
LDOPTIONS =
# What archiving to use
-AR = ar rv
+# AR = ar rv
# What to use for indexing the archive
-RANLIB = ranlib
+# RANLIB = ranlib
# RANLIB = ar -ts
# RANLIB =
*** Makefile.in.orig Fri Oct 9 20:16:24 1998
--- Makefile.in Fri Oct 9 20:17:42 1998
***************
*** 1,9 ****
# Which compiler to use
! CC = cc
# What optimization level to use
! OPTFLAGS = -O2
# What options to be used by the compiler
COPTIONS =
--- 1,9 ----
# Which compiler to use
! # CC = cc
# What optimization level to use
! # OPTFLAGS = -O2
# What options to be used by the compiler
COPTIONS =
***************
*** 12,21 ****
LDOPTIONS =
# What archiving to use
! AR = ar rv
# What to use for indexing the archive
! RANLIB = ranlib
# RANLIB = ar -ts
# RANLIB =
--- 12,21 ----
LDOPTIONS =
# What archiving to use
! # AR = ar rv
# What to use for indexing the archive
! # RANLIB = ranlib
# RANLIB = ar -ts
# RANLIB =

View File

@ -1,20 +1,36 @@
--- Lib/Makefile.orig Sat Apr 25 23:43:54 1998
+++ Lib/Makefile Sat Apr 25 23:44:31 1998
@@ -2,7 +2,7 @@
INCLUDES = -I./
-CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
+CFLAGS += $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
LD = $(CC) -L./
@@ -17,7 +17,7 @@
$(CC) $(CFLAGS) -c $*.c
../libmetis.a: $(OBJS)
- $(AR) $@ $(OBJS)
+ $(AR) $(ARFLAGS) $@ $(OBJS)
$(RANLIB) $@
checkin:
*** Lib/Makefile.orig Fri Oct 9 20:19:01 1998
--- Lib/Makefile Fri Oct 9 20:20:32 1998
***************
*** 2,8 ****
INCLUDES = -I.
! CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
LD = $(CC) -L.
--- 2,8 ----
INCLUDES = -I.
! CFLAGS += $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
LD = $(CC) -L.
***************
*** 21,27 ****
$(CC) $(CFLAGS) -c $*.c
../libmetis.a: $(OBJS)
! $(AR) $@ $(OBJS)
$(RANLIB) $@
clean:
--- 21,27 ----
$(CC) $(CFLAGS) -c $*.c
../libmetis.a: $(OBJS)
! $(AR) $(ARFLAGS) $@ $(OBJS)
$(RANLIB) $@
clean:

View File

@ -1,11 +1,19 @@
--- Programs/Makefile.orig Sat Apr 25 23:44:50 1998
+++ Programs/Makefile Sat Apr 25 23:46:35 1998
@@ -3,7 +3,7 @@
BINDIR = ..
INCLUDES = -I../Lib
-CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
+CFLAGS += $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
LIBS = -lmetis -lm
LD = $(CC) $(LDOPTIONS) -L./ -L../
*** Programs/Makefile.orig Fri Oct 9 20:21:48 1998
--- Programs/Makefile Fri Oct 9 20:22:16 1998
***************
*** 3,9 ****
BINDIR = ..
INCLUDES = -I../Lib
! CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
LIBS = -lmetis -lm
LD = $(CC) $(LDOPTIONS) -L. -L..
--- 3,9 ----
BINDIR = ..
INCLUDES = -I../Lib
! CFLAGS += $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
LIBS = -lmetis -lm
LD = $(CC) $(LDOPTIONS) -L. -L..

View File

@ -1,11 +1,19 @@
--- Test/Makefile.orig Sat Apr 25 23:46:45 1998
+++ Test/Makefile Sat Apr 25 23:46:53 1998
@@ -3,7 +3,7 @@
BINDIR = ./
INCLUDES = -I../Lib
-CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
+CFLAGS += $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
LIBS = -lmetis -lm
LD = $(CC) $(LDOPTIONS) -L../
*** Test/Makefile.orig Fri Oct 9 20:23:24 1998
--- Test/Makefile Fri Oct 9 20:23:40 1998
***************
*** 3,9 ****
BINDIR = ../Graphs
INCLUDES = -I../Lib
! CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
LIBS = -lmetis -lm
LD = $(CC) $(LDOPTIONS) -L. -L..
--- 3,9 ----
BINDIR = ../Graphs
INCLUDES = -I../Lib
! CFLAGS += $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
LIBS = -lmetis -lm
LD = $(CC) $(LDOPTIONS) -L. -L..