Bug 11783 - new port
Summary: new port
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-05-19 18:10 UTC by eoin
Modified: 1999-06-09 02:48 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description eoin 1999-05-19 18:10:01 UTC
	
New port - ParMETIS-2.0.  This is a parallel version of the
metis package already in /usr/ports/math. It depends on mpich.

How-To-Repeat: 
	

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	parmetis
#	parmetis/files
#	parmetis/files/md5
#	parmetis/patches
#	parmetis/patches/patch-aa
#	parmetis/pkg
#	parmetis/pkg/COMMENT
#	parmetis/pkg/DESCR
#	parmetis/pkg/PLIST
#	parmetis/Makefile
#
echo c - parmetis
mkdir -p parmetis > /dev/null 2>&1
echo c - parmetis/files
mkdir -p parmetis/files > /dev/null 2>&1
echo x - parmetis/files/md5
sed 's/^X//' >parmetis/files/md5 << 'END-of-parmetis/files/md5'
XMD5 (ParMetis-2.0.tar.gz) = 18bc0ce30a2157c3ac97fc3220fd9720
END-of-parmetis/files/md5
echo c - parmetis/patches
mkdir -p parmetis/patches > /dev/null 2>&1
echo x - parmetis/patches/patch-aa
sed 's/^X//' >parmetis/patches/patch-aa << 'END-of-parmetis/patches/patch-aa'
X--- ParMETISLib/parmetis.h.orig	Wed May 19 17:32:56 1999
X+++ ParMETISLib/parmetis.h	Wed May 19 17:33:05 1999
X@@ -14,7 +14,6 @@
X 
X #include <stdio.h>
X #include <stdlib.h>
X-#include <malloc.h>
X #include <strings.h>
X #include <string.h>
X #include <ctype.h>
END-of-parmetis/patches/patch-aa
echo c - parmetis/pkg
mkdir -p parmetis/pkg > /dev/null 2>&1
echo x - parmetis/pkg/COMMENT
sed 's/^X//' >parmetis/pkg/COMMENT << 'END-of-parmetis/pkg/COMMENT'
XA package for parallel (mpi) unstructured graph partitioning.
END-of-parmetis/pkg/COMMENT
echo x - parmetis/pkg/DESCR
sed 's/^X//' >parmetis/pkg/DESCR << 'END-of-parmetis/pkg/DESCR'
XParMETIS is an MPI-based parallel library that implements a variety
Xof algorithms for partitioning unstructured graphs and for computing
Xfill-reducing orderings of sparse matrices. ParMETIS extends the
Xfunctionality provided by METIS and includes routines that are
Xespecially suited for parallel AMR computations and large scale
Xnumerical simulations. The algorithms implemented in ParMETIS are
Xbased on the parallel multilevel k-way graph-partitioning algorithms
Xdescribed in [KK95d], [KK96], [KK97], and the adaptive repartitioning
Xalgorithms described in [SKK97a], [SKK97b], [SK+98], and [SKK98].
END-of-parmetis/pkg/DESCR
echo x - parmetis/pkg/PLIST
sed 's/^X//' >parmetis/pkg/PLIST << 'END-of-parmetis/pkg/PLIST'
Xlib/parmetis/libmetis.a
Xlib/parmetis/libparmetis.a
Xinclude/parmetis/parmetis.h
Xshare/doc/ParMETIS/manual.ps
X@dirrm lib/parmetis
X@dirrm share/doc/ParMETIS
END-of-parmetis/pkg/PLIST
echo x - parmetis/Makefile
sed 's/^X//' >parmetis/Makefile << 'END-of-parmetis/Makefile'
X# New ports collection makefile for:	ParMETIS
X# Version required:	2.0
X# Date created:         19 May 99
X# Whom:                 Eoin Lawless (eoin@maths.tcd.ie)
X#
X# $Id$
X#
X
XDISTNAME=	ParMetis-2.0
XCATEGORIES=	math
XMASTER_SITES=	http://www-users.cs.umn.edu/~karypis/metis/parmetis/files/
X
XMAINTAINER=	eoin@maths.tcd.ie
X
XRUN_DEPENDS=    $(PREFIX)/mpich/bin/mpirun:${PORTSDIR}/net/mpich
XBUILD_DEPENDS=  $(PREFIX)/mpich/bin/mpicc:${PORTSDIR}/net/mpich
X
XALL_TARGET=
X
Xdo-install:
X	${MKDIR} $(PREFIX)/lib/parmetis
X	$(INSTALL_DATA) $(WRKSRC)/libmetis.a $(PREFIX)/lib/parmetis
X	$(INSTALL_DATA) $(WRKSRC)/libparmetis.a $(PREFIX)/lib/parmetis
X	${MKDIR} $(PREFIX)/include/parmetis
X	$(INSTALL_DATA) $(WRKSRC)/parmetis.h    $(PREFIX)/include/parmetis
X.if !defined(NOPORTDOCS)
X	${MKDIR} $(PREFIX)/share/doc/ParMETIS
X	$(INSTALL_DATA) ${WRKSRC}/Doc/manual.ps $(PREFIX)/share/doc/ParMETIS
X.endif
X
X.include <bsd.port.mk>
END-of-parmetis/Makefile
exit
Comment 1 Steve Price freebsd_committer freebsd_triage 1999-06-09 02:45:34 UTC
State Changed
From-To: open->closed

New port committed, thanks!