Index: head/science/ecs/Makefile =================================================================== --- head/science/ecs/Makefile (revision 383611) +++ head/science/ecs/Makefile (revision 383612) @@ -1,79 +1,79 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= ecs PORTVERSION= 2.0.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science MASTER_SITES= http://code-saturne.org/releases/ MAINTAINER= thierry@FreeBSD.org COMMENT= Code_Saturne Preprocessor LICENSE= GPLv2 BUILD_DEPENDS+= ${LOCALBASE}/lib/libscotch.a:${PORTSDIR}/cad/scotch LIB_DEPENDS= libmed.so:${PORTSDIR}/french/med \ libbft.so:${PORTSDIR}/science/bft \ libhdf5.so:${PORTSDIR}/science/hdf5 \ libcgns.so:${PORTSDIR}/science/cgnslib WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USES= gmake USE_TEX= dvipsk GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-bft=${LOCALBASE} \ --with-hdf5=${LOCALBASE} \ --with-cgns=${LOCALBASE} \ --without-adf --without-ccm \ --with-scotch=${LOCALBASE} \ --with-med=${LOCALBASE} \ --with-metis=${LOCALBASE} \ --with-metis-include=${LOCALBASE}/include/metis CONFIGURE_ENV= PTHREAD_LIBS=-lpthread OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext iconv NLS_CONFIGURE_ENABLE= nls DOCS_USE= TEX=tex:build DOCS_BUILD_DEPENDS= fig2dev:${PORTSDIR}/print/transfig .include .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug .endif .if ${PORT_OPTIONS:MDOCS} PORTDOCS= mi_ecs.pdf mt_ecs.pdf MAKE_JOBS_UNSAFE=yes .endif .include .if exists(${LOCALBASE}/bin/graphchk) # The regular metis is present, so we cannot depend on metis-edf LIB_DEPENDS+= libmetis.so.1:${PORTSDIR}/math/metis4 .else # Prefer metis-edf to avoid conflict with Code_Aster LIB_DEPENDS+= libmetis.so.0:${PORTSDIR}/math/metis-edf .endif pre-configure: .if ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e '/^SUBDIRS/s| po| po doc|' ${WRKSRC}/Makefile.in .endif post-install: .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR} .endif .include Index: head/science/ecs/files/patch-doc_Makefile =================================================================== --- head/science/ecs/files/patch-doc_Makefile (revision 383611) +++ head/science/ecs/files/patch-doc_Makefile (revision 383612) @@ -1,20 +1,20 @@ ---- doc/Makefile.orig 2006-04-24 13:52:56.000000000 +0200 -+++ doc/Makefile 2009-01-24 23:33:10.000000000 +0100 -@@ -31,7 +31,7 @@ +--- doc/Makefile.orig 2012-07-05 16:54:45 UTC ++++ doc/Makefile +@@ -31,7 +31,7 @@ figures: doc: - @make pdf + @$(MAKE) pdf pdf: -@@ -57,7 +57,7 @@ +@@ -57,7 +57,7 @@ distclean: install: - @\mv $(TEX)/*.pdf . + @\cp $(TEX)/*.pdf . help info aide: Index: head/science/ecs/files/patch-src_appli_cs__partition.c =================================================================== --- head/science/ecs/files/patch-src_appli_cs__partition.c (nonexistent) +++ head/science/ecs/files/patch-src_appli_cs__partition.c (revision 383612) @@ -0,0 +1,10 @@ +--- src/appli/cs_partition.c.orig 2012-07-05 16:54:42 UTC ++++ src/appli/cs_partition.c +@@ -117,6 +117,7 @@ void METIS_PartGraphKway(int *, idxtype + + #if defined(HAVE_SCOTCH) + ++#include + #include + + #endif Property changes on: head/science/ecs/files/patch-src_appli_cs__partition.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property