From owner-svn-ports-head@FreeBSD.ORG Fri Jul 19 12:50:37 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E8C76A37; Fri, 19 Jul 2013 12:50:37 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id CB6A4888; Fri, 19 Jul 2013 12:50:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6JCobJt069156; Fri, 19 Jul 2013 12:50:37 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6JCobBQ069153; Fri, 19 Jul 2013 12:50:37 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201307191250.r6JCobBQ069153@svn.freebsd.org> From: Alexey Dokuchaev Date: Fri, 19 Jul 2013 12:50:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r323285 - head/math/chaco X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2013 12:50:38 -0000 Author: danfe Date: Fri Jul 19 12:50:36 2013 New Revision: 323285 URL: http://svnweb.freebsd.org/changeset/ports/323285 Log: - Unbreak parallel builds by USES'ing gmake - Respect CFLAGS in a better, less intrusive way - Correctly separate DOCS and EXAMPLES - Trim Makefile header, miscellaneous cleanups - Reformat port description text Reported by: pointyhat-west Modified: head/math/chaco/Makefile head/math/chaco/pkg-descr head/math/chaco/pkg-plist Modified: head/math/chaco/Makefile ============================================================================== --- head/math/chaco/Makefile Fri Jul 19 12:39:47 2013 (r323284) +++ head/math/chaco/Makefile Fri Jul 19 12:50:36 2013 (r323285) @@ -1,35 +1,36 @@ -# New ports collection makefile for: Chaco -# Date created: 26 April 2006 -# Whom: Pedro Giffuni -# +# Created by: Pedro Giffuni # $FreeBSD$ -# PORTNAME= chaco PORTVERSION= 2.2 CATEGORIES= math -MASTER_SITES= http://www.cs.sandia.gov/downloads/papers/bahendr/ \ - http://bsd1.csme.ru/myports/ \ - http://bsd2.csme.ru/myports/ \ +MASTER_SITES= http://www.cs.sandia.gov/downloads/papers/bahendr/ \ + http://bsd1.csme.ru/myports/ \ + http://bsd2.csme.ru/myports/ \ http://bsd3.csme.ru/myports/ DISTNAME= Chaco-${PORTVERSION} MAINTAINER= ports@FreeBSD.org -COMMENT= Software for Partitioning Graphs +COMMENT= Software for partitioning graphs +USES= gmake +MAKE_ARGS= CFLAGS="${CFLAGS}" +ALL_TARGET= # WRKSRC= ${WRKDIR}/${DISTNAME}/code -ALL_TARGET= -do-configure: - @${REINPLACE_CMD} -e 's+@CFLAGS@+${CFLAGS}+g' ${WRKSRC}/Makefile +OPTIONS_DEFINE= DOCS EXAMPLES + +.include do-install: ${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/exec/chaco ${PREFIX}/bin ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/exec/libchaco.a ${PREFIX}/lib -.ifndef NOPORTDOCS +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/*.ps ${DOCSDIR} ${GZIP_CMD} ${DOCSDIR}/*.ps +.endif +.if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/exec/*.graph ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/exec/*.coords ${EXAMPLESDIR} Modified: head/math/chaco/pkg-descr ============================================================================== --- head/math/chaco/pkg-descr Fri Jul 19 12:39:47 2013 (r323284) +++ head/math/chaco/pkg-descr Fri Jul 19 12:50:36 2013 (r323285) @@ -1,22 +1,22 @@ -Before a calculation can be performed on a parallel computer, it must first be -decomposed into tasks which are assigned to different processors. Efficient use -of the machine requires that each processor have about the same amount of work -to do and that the quantity of interprocessor communication is kept small. -Finding an optimal decomposition is provably hard, but due to its practical -importance, a great deal of effort has been devoted to developing heuristics -for this problem. -The decomposition problem can be addressed in terms of graph partitioning. Rob -Leland and I have developed a variety of algorithms for graph partitioning and -implemented them into a package we call Chaco. The code is being used at most -of the major parallel computing centers around the world to simplify the -development of parallel applications, and to ensure that high performance is -obtained. Chaco has contributed to a wide variety of computational studies -including investigation of the molecular structure of liquid crystals, -evaluating the design of a chemical vapor deposition reactor and modeling -automobile collisions. +Before a calculation can be performed on a parallel computer, it must +first be decomposed into tasks which are assigned to different processors. -WWW: http://www.cs.sandia.gov/~bahendr/chaco.html -___ -Bruce Hendrickson +Efficient use of the machine requires that each processor have about the +same amount of work to do and that the quantity of interprocessor +communication is kept small. Finding an optimal decomposition is provably +hard, but due to its practical importance, a great deal of effort has been +devoted to developing heuristics for this problem. The decomposition +problem can be addressed in terms of graph partitioning. -Note: this port includes a patch provided by Walter Landry for use within MBDyn +Chaco implements a variety of algorithms for graph partitioning and is +used at most of the major parallel computing centers around the world to +simplify the development of parallel applications, and to ensure that high +performance is obtained. Chaco has contributed to a wide variety of +computational studies including investigation of the molecular structure +of liquid crystals, evaluating the design of a chemical vapor deposition +reactor and modeling automobile collisions. + +Note: this port includes a patch provided by Walter Landry for use within +MBDyn. + +WWW: http://www.cs.sandia.gov/~bahendr/chaco.html Modified: head/math/chaco/pkg-plist ============================================================================== --- head/math/chaco/pkg-plist Fri Jul 19 12:39:47 2013 (r323284) +++ head/math/chaco/pkg-plist Fri Jul 19 12:50:36 2013 (r323285) @@ -7,10 +7,10 @@ lib/libchaco.a %%PORTDOCS%%%%DOCSDIR%%/Term_Prop.ps.gz %%PORTDOCS%%%%DOCSDIR%%/Users_Guide.ps.gz %%PORTDOCS%%@dirrm %%DOCSDIR%% -%%PORTDOCS%%%%EXAMPLESDIR%%/film.coords -%%PORTDOCS%%%%EXAMPLESDIR%%/film.graph -%%PORTDOCS%%%%EXAMPLESDIR%%/grid20x20.coords -%%PORTDOCS%%%%EXAMPLESDIR%%/grid20x20.graph -%%PORTDOCS%%%%EXAMPLESDIR%%/hammond.coords -%%PORTDOCS%%%%EXAMPLESDIR%%/hammond.graph -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/film.coords +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/film.graph +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/grid20x20.coords +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/grid20x20.graph +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hammond.coords +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hammond.graph +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%