Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2013 23:33:34 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337824 - head/math/parmetis
Message-ID:  <201312272333.rBRNXYSZ078595@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <http://trilinos.org>.  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 <bsd.port.options.mk>
 
 .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 <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312272333.rBRNXYSZ078595>