From bf764d6d96a877452dfb43bdca121a6030fcc126 Mon Sep 17 00:00:00 2001 From: DPorts Builder Date: Mon, 14 Jul 2014 23:04:55 -0700 Subject: [PATCH] Update science/ncs to version 2.0.4_7 --- science/ncs/Makefile | 14 +++++++++----- science/ncs/pkg-plist | 4 ++-- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/science/ncs/Makefile b/science/ncs/Makefile index fef22449f8f..80725162c8c 100644 --- a/science/ncs/Makefile +++ b/science/ncs/Makefile @@ -3,7 +3,7 @@ PORTNAME= ncs PORTVERSION= 2.0.4 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= science parallel MASTER_SITES= http://research.edf.com/fichiers/fckeditor/Commun/Innovation/logiciels/code_saturne/Releases/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g} @@ -23,7 +23,7 @@ RUN_DEPENDS= xmgrace:${PORTSDIR}/math/grace \ xterm:${PORTSDIR}/x11/xterm \ cs_preprocess:${PORTSDIR}/science/ecs -USES= fortran gettext gmake iconv zip shebangfix +USES= fortran gettext gmake iconv libtool shebangfix zip USE_GNOME= libxml2 USE_PYTHON= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} @@ -41,6 +41,10 @@ NEED_ROOT= yes FORTRANLIBDIR= `${DIRNAME} \\`${FC} -print-libgcc-file-name\\`` FORTRANLIBDIR2= `${DIRNAME} \\`${FC} -print-libgcc-file-name\\``/../../../ +OPTIONS_DEFINE= DOCS EXAMPLES + +.include + .if defined(PACKAGE_BUILDING) TERM= vt100 # Force for pointyhat to override su .else @@ -70,7 +74,7 @@ RUN_DEPENDS+= ${MPI_HOME}/bin/mpirun:${PORTSDIR}/net/mpich2 MPI_LIBS= -lmpich -lmpl ${PTHREAD_LIBS} .endif -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} USE_TEX= tex:build BUILD_DEPENDS+= fig2dev:${PORTSDIR}/print/transfig ALL_TARGET= all pdf @@ -107,11 +111,11 @@ pre-everything:: @${ECHO_MSG} post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:C|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .endif -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR} .endif diff --git a/science/ncs/pkg-plist b/science/ncs/pkg-plist index 12e6e50f95c..392c5b86052 100644 --- a/science/ncs/pkg-plist +++ b/science/ncs/pkg-plist @@ -739,13 +739,13 @@ include/vortex.h %%PYTHON_SITELIBDIR%%/ncs/cs_plot_probes.pyc %%PYTHON_SITELIBDIR%%/ncs/cs_plot_probes.pyo lib/libsaturne.a -lib/libsaturne.la lib/libsaturne.so lib/libsaturne.so.0 +lib/libsaturne.so.0.0.0 lib/libsyrcs.a -lib/libsyrcs.la lib/libsyrcs.so lib/libsyrcs.so.0 +lib/libsyrcs.so.0.0.0 man/man1/code_saturne.1.gz man/man1/cs_solver.1.gz %%PORTDOCS%%%%DOCSDIR%%/AUTHORS -- 2.41.0