From owner-svn-ports-all@freebsd.org Thu Aug 22 09:02:38 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5E006C2E68; Thu, 22 Aug 2019 09:02:38 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46DdpQ1m4gz4F3m; Thu, 22 Aug 2019 09:02:38 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1E1F31B9B; Thu, 22 Aug 2019 09:02:38 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x7M92boN090667; Thu, 22 Aug 2019 09:02:37 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x7M92bUQ090665; Thu, 22 Aug 2019 09:02:37 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201908220902.x7M92bUQ090665@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 22 Aug 2019 09:02:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r509591 - head/science/code_saturne X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/science/code_saturne X-SVN-Commit-Revision: 509591 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Aug 2019 09:02:38 -0000 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@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 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/