From owner-svn-ports-head@FreeBSD.ORG Fri Dec 27 23:33:35 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1E2BBADA; Fri, 27 Dec 2013 23:33:35 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E75C91A36; Fri, 27 Dec 2013 23:33:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBRNXYMW078596; Fri, 27 Dec 2013 23:33:34 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBRNXYSZ078595; Fri, 27 Dec 2013 23:33:34 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201312272333.rBRNXYSZ078595@svn.freebsd.org> From: John Marino Date: Fri, 27 Dec 2013 23:33:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337824 - head/math/parmetis 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.17 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, 27 Dec 2013 23:33:35 -0000 Author: marino Date: Fri Dec 27 23:33:34 2013 New Revision: 337824 URL: http://svnweb.freebsd.org/changeset/ports/337824 Log: math/parmetis: Add metis.h file, support stage Install metis.h file in order to support software that requires both metis and parmetis such as Trilino . While here, support stage. PR: ports/179930 Approved by: maintainer timeout (6 months) Modified: head/math/parmetis/Makefile Modified: head/math/parmetis/Makefile ============================================================================== --- head/math/parmetis/Makefile Fri Dec 27 23:08:02 2013 (r337823) +++ head/math/parmetis/Makefile Fri Dec 27 23:33:34 2013 (r337824) @@ -3,7 +3,7 @@ PORTNAME= ParMetis PORTVERSION= 4.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math parallel MASTER_SITES= http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/%SUBDIR%/ MASTER_SITE_SUBDIR= . OLD @@ -23,12 +23,15 @@ OPENMPI_DESC= Use openmpi instead of mpi USES= cmake gmake MAKE_ARGS+= MAKEFLAGS=MAKE=${GMAKE} -PORTDOCS= manual.pdf -PLIST_FILES= include/parmetis/parmetis.h \ - lib/parmetis/libmetis.a lib/parmetis/libparmetis.a -PLIST_DIRS= include/parmetis lib/parmetis +PLIST_FILES= include/parmetis/metis.h \ + include/parmetis/parmetis.h \ + lib/parmetis/libmetis.a \ + lib/parmetis/libparmetis.a \ + ${DOCSDIR}/manual.pdf +PLIST_DIRS= include/parmetis \ + lib/parmetis \ + ${DOCSDIR} -NO_STAGE= yes .include .if ${PORT_OPTIONS:MOPENMPI} @@ -53,14 +56,16 @@ do-configure: ${MAKEFILE} config prefix="${PREFIX}" cc="${MPICC}" do-install: - @${MKDIR} ${PREFIX}/include/parmetis - ${INSTALL_DATA} ${WRKSRC}/include/parmetis.h ${PREFIX}/include/parmetis - @${MKDIR} ${PREFIX}/lib/parmetis - ${INSTALL_DATA} ${WRKSRC}/build/libmetis/libmetis.a ${PREFIX}/lib/parmetis - ${INSTALL_DATA} ${WRKSRC}/build/libparmetis/libparmetis.a ${PREFIX}/lib/parmetis -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/manual/manual.pdf ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${PREFIX}/include/parmetis \ + ${STAGEDIR}${PREFIX}/lib/parmetis \ + ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/include/parmetis.h \ + ${WRKSRC}/metis/include/metis.h \ + ${STAGEDIR}${PREFIX}/include/parmetis + ${INSTALL_DATA} ${WRKSRC}/build/libmetis/libmetis.a \ + ${STAGEDIR}${PREFIX}/lib/parmetis + ${INSTALL_DATA} ${WRKSRC}/build/libparmetis/libparmetis.a \ + ${STAGEDIR}${PREFIX}/lib/parmetis + ${INSTALL_DATA} ${WRKSRC}/manual/manual.pdf ${STAGEDIR}${DOCSDIR} .include