From 1a68de156fe719cbfb2bd1ddaa40496c5cffa2f2 Mon Sep 17 00:00:00 2001 From: yuri Date: Tue, 13 Mar 2018 09:50:42 +0000 Subject: science/ncs: Unbreak Port changes: * Fixed shebang in bin/code_saturne * Added stripping * Added missing LIB_DEPENDS Approved by: portmgr (port compliance, infrastructure) --- science/ncs/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'science') diff --git a/science/ncs/Makefile b/science/ncs/Makefile index e6a773375508..470bcb9816eb 100644 --- a/science/ncs/Makefile +++ b/science/ncs/Makefile @@ -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} -- cgit