svn commit: r509591 - head/science/code_saturne
Dmitry Marakasov
amdmi3 at FreeBSD.org
Thu Aug 22 09:02:38 UTC 2019
Author: amdmi3
Date: Thu Aug 22 09:02:37 2019
New Revision: 509591
URL: https://svnweb.freebsd.org/changeset/ports/509591
Log:
- Add LICENSE_FILE
- Switch to options helpers
- Update WWW
Approved by: portmgr blanket
Modified:
head/science/code_saturne/Makefile
head/science/code_saturne/pkg-descr
Modified: head/science/code_saturne/Makefile
==============================================================================
--- head/science/code_saturne/Makefile Thu Aug 22 08:55:58 2019 (r509590)
+++ head/science/code_saturne/Makefile Thu Aug 22 09:02:37 2019 (r509591)
@@ -11,6 +11,7 @@ MAINTAINER= thierry at FreeBSD.org
COMMENT= EDF's general purpose Computational Fluid Dynamics (CFD) software
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libsysinfo.so:devel/libsysinfo \
libcgns.so:science/cgnslib \
@@ -91,14 +92,12 @@ pre-configure:
${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \
${WRKSRC}/Makefile.am
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCS:C|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
- ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
-.endif
+
+post-install-EXAMPLES-on:
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
Modified: head/science/code_saturne/pkg-descr
==============================================================================
--- head/science/code_saturne/pkg-descr Thu Aug 22 08:55:58 2019 (r509590)
+++ head/science/code_saturne/pkg-descr Thu Aug 22 09:02:37 2019 (r509591)
@@ -8,4 +8,4 @@ transfer, combustion (gas, coal, heavy fuel oil, ...),
compressible flows, two-phase flows (Euler-Lagrange approach with two-way
coupling), or atmospheric flows.
-WWW: http://www.code-saturne.org/
+WWW: https://www.code-saturne.org/
More information about the svn-ports-all
mailing list