aboutsummaryrefslogtreecommitdiffstats
path: root/math/metis4
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2003-08-05 00:17:11 +0800
committeroliver <oliver@FreeBSD.org>2003-08-05 00:17:11 +0800
commitd91fdcfcce5b9b48cb35a471ec73312721e15840 (patch)
tree72eef9a198a51cbe78a9c2957f99586bbeb1c695 /math/metis4
parent82e72125579696e423c95d04699129e50bd6f68f (diff)
downloadfreebsd-ports-gnome-d91fdcfcce5b9b48cb35a471ec73312721e15840.tar.gz
freebsd-ports-gnome-d91fdcfcce5b9b48cb35a471ec73312721e15840.tar.zst
freebsd-ports-gnome-d91fdcfcce5b9b48cb35a471ec73312721e15840.zip
cosmetic cleanup, no functional changes
Submitted by: Pedro F. Giffuni <giffunip@yahoo.com>
Diffstat (limited to 'math/metis4')
-rw-r--r--math/metis4/Makefile32
-rw-r--r--math/metis4/files/patch-aa2
-rw-r--r--math/metis4/pkg-descr2
-rw-r--r--math/metis4/pkg-plist14
4 files changed, 22 insertions, 28 deletions
diff --git a/math/metis4/Makefile b/math/metis4/Makefile
index a963ad7e6008..c921eb018bf5 100644
--- a/math/metis4/Makefile
+++ b/math/metis4/Makefile
@@ -17,27 +17,19 @@ CONFLICTS= metis-edf-*
ALL_TARGET=
+PROGRAMS= graphchk kmetis mesh2dual mesh2nodal \
+ oemetis onmetis partnmesh partdmesh pmetis
+
do-install:
- $(INSTALL_PROGRAM) $(WRKSRC)/pmetis $(PREFIX)/bin
- $(INSTALL_PROGRAM) $(WRKSRC)/kmetis $(PREFIX)/bin
- $(INSTALL_PROGRAM) $(WRKSRC)/oemetis $(PREFIX)/bin
- $(INSTALL_PROGRAM) $(WRKSRC)/onmetis $(PREFIX)/bin
- $(INSTALL_PROGRAM) $(WRKSRC)/partnmesh $(PREFIX)/bin
- $(INSTALL_PROGRAM) $(WRKSRC)/partdmesh $(PREFIX)/bin
- $(INSTALL_PROGRAM) $(WRKSRC)/mesh2nodal $(PREFIX)/bin
- $(INSTALL_PROGRAM) $(WRKSRC)/mesh2dual $(PREFIX)/bin
- $(INSTALL_PROGRAM) $(WRKSRC)/graphchk $(PREFIX)/bin
- $(INSTALL_DATA) $(WRKSRC)/libmetis.a $(PREFIX)/lib
- ${MKDIR} $(PREFIX)/include/metis
- $(INSTALL_DATA) $(WRKSRC)/Lib/defs.h $(PREFIX)/include/metis
- $(INSTALL_DATA) $(WRKSRC)/Lib/macros.h $(PREFIX)/include/metis
- $(INSTALL_DATA) $(WRKSRC)/Lib/metis.h $(PREFIX)/include/metis
- $(INSTALL_DATA) $(WRKSRC)/Lib/proto.h $(PREFIX)/include/metis
- $(INSTALL_DATA) $(WRKSRC)/Lib/rename.h $(PREFIX)/include/metis
- $(INSTALL_DATA) $(WRKSRC)/Lib/struct.h $(PREFIX)/include/metis
-.if !defined(NOPORTDOCS)
- ${MKDIR} $(PREFIX)/share/doc/METIS
- $(INSTALL_DATA) ${WRKSRC}/Doc/manual.ps $(PREFIX)/share/doc/METIS
+.for p in ${PROGRAMS}
+ ${INSTALL_PROGRAM} ${WRKSRC}/${p} ${PREFIX}/bin
+.endfor
+ @${MKDIR} ${PREFIX}/include/metis
+ ${INSTALL_DATA} ${WRKSRC}/Lib/*.h ${PREFIX}/include/metis
+ ${INSTALL_DATA} ${WRKSRC}/libmetis.a ${PREFIX}/lib
+.ifndef NOPORTDOCS
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Doc/manual.ps ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/math/metis4/files/patch-aa b/math/metis4/files/patch-aa
index 4fd89068c251..ecee4b3c3833 100644
--- a/math/metis4/files/patch-aa
+++ b/math/metis4/files/patch-aa
@@ -14,7 +14,7 @@
--- 1,9 ----
# Which compiler to use
-! CC ?= gcc
+! CC ?= cc
# What optimization level to use
! OPTFLAGS += -O2
diff --git a/math/metis4/pkg-descr b/math/metis4/pkg-descr
index 0c570b98c828..3268fab747bb 100644
--- a/math/metis4/pkg-descr
+++ b/math/metis4/pkg-descr
@@ -5,3 +5,5 @@ and [KK95e].
METIS provides high quality partitions, is extremely fast, and produces
low fill orderings.
+
+WWW: http://www-users.cs.umn.edu/~karypis/metis/metis/
diff --git a/math/metis4/pkg-plist b/math/metis4/pkg-plist
index 77d31aeeda20..83491793c815 100644
--- a/math/metis4/pkg-plist
+++ b/math/metis4/pkg-plist
@@ -1,12 +1,12 @@
-bin/pmetis
+bin/graphchk
bin/kmetis
+bin/mesh2dual
+bin/mesh2nodal
bin/oemetis
bin/onmetis
-bin/partnmesh
bin/partdmesh
-bin/mesh2nodal
-bin/mesh2dual
-bin/graphchk
+bin/partnmesh
+bin/pmetis
lib/libmetis.a
include/metis/defs.h
include/metis/macros.h
@@ -14,6 +14,6 @@ include/metis/metis.h
include/metis/proto.h
include/metis/rename.h
include/metis/struct.h
-%%PORTDOCS%%share/doc/METIS/manual.ps
-%%PORTDOCS%%@dirrm share/doc/METIS
@dirrm include/metis
+%%PORTDOCS%%%%DOCSDIR%%/manual.ps
+%%PORTDOCS%%@dirrm %%DOCSDIR%%