diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2018-03-13 09:50:42 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2018-03-13 09:50:42 +0000 |
commit | 1c88bd54dfb0cd534c0c7dfd08c0f9eae567e05c (patch) | |
tree | 2a80ebb8d98b3463c3de9c5d186d55865cabee8b | |
parent | - Update WWW (diff) |
science/ncs: Unbreak
Port changes:
* Fixed shebang in bin/code_saturne
* Added stripping
* Added missing LIB_DEPENDS
Approved by: portmgr (port compliance, infrastructure)
-rw-r--r-- | science/ncs/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
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} |