Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2018 09:50:42 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464358 - head/science/ncs
Message-ID:  <201803130950.w2D9ogi8007266@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Mar 13 09:50:42 2018
New Revision: 464358
URL: https://svnweb.freebsd.org/changeset/ports/464358

Log:
  science/ncs: Unbreak
  
  Port changes:
  * Fixed shebang in bin/code_saturne
  * Added stripping
  * Added missing LIB_DEPENDS
  
  Approved by:	portmgr (port compliance, infrastructure)

Modified:
  head/science/ncs/Makefile

Modified: head/science/ncs/Makefile
==============================================================================
--- head/science/ncs/Makefile	Tue Mar 13 09:33:12 2018	(r464357)
+++ head/science/ncs/Makefile	Tue Mar 13 09:50:42 2018	(r464358)
@@ -13,11 +13,15 @@ COMMENT=	Code_Saturne Kernel
 LICENSE=	GPLv2
 
 BUILD_DEPENDS=	cs_preprocess:science/ecs
-LIB_DEPENDS=	libfvm.so:science/fvm	\
+LIB_DEPENDS=	libbft.so:science/bft \
+		libcgns.so:science/cgnslib \
+		libfvm.so:science/fvm \
+		libhdf5.so:science/hdf5 \
+		libmedC.so:french/med \
 		libmei.so:science/mei
-RUN_DEPENDS=	xmgrace:math/grace	\
-		bash:shells/bash	\
-		xterm:x11/xterm	\
+RUN_DEPENDS=	xmgrace:math/grace \
+		bash:shells/bash \
+		xterm:x11/xterm \
 		cs_preprocess:science/ecs
 
 USES=		fortran gettext gmake iconv libtool pyqt:4 python:2.7 shebangfix
@@ -101,6 +105,8 @@ pre-everything::
 	@${ECHO_MSG}
 
 post-install:
+	@cd ${STAGEDIR}${PREFIX}/lib && ${STRIP_CMD} libsaturne.so* libsyrcs.so* libsyrcs.so*
+	@${REINPLACE_CMD} -i '' -e 's|^#!.*|#!${PYTHON_CMD}|' ${STAGEDIR}${PREFIX}/bin/code_saturne
 .if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${DOCS:C|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}



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