svn commit: r464358 - head/science/ncs

Yuri Victorovich yuri at FreeBSD.org
Tue Mar 13 09:50:43 UTC 2018


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}


More information about the svn-ports-head mailing list