From owner-svn-ports-all@freebsd.org Mon Aug 24 06:48:36 2020 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 DBB5D3B17FE; Mon, 24 Aug 2020 06:48:36 +0000 (UTC) (envelope-from lbartoletti@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4BZjPw5Rq0z4Cvk; Mon, 24 Aug 2020 06:48:36 +0000 (UTC) (envelope-from lbartoletti@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 9E51014645; Mon, 24 Aug 2020 06:48:36 +0000 (UTC) (envelope-from lbartoletti@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 07O6maGq008767; Mon, 24 Aug 2020 06:48:36 GMT (envelope-from lbartoletti@FreeBSD.org) Received: (from lbartoletti@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07O6mass008766; Mon, 24 Aug 2020 06:48:36 GMT (envelope-from lbartoletti@FreeBSD.org) Message-Id: <202008240648.07O6mass008766@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lbartoletti set sender to lbartoletti@FreeBSD.org using -f From: =?UTF-8?Q?Lo=c3=afc_Bartoletti?= Date: Mon, 24 Aug 2020 06:48:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r546051 - in head/lang/nim: . files X-SVN-Group: ports-head X-SVN-Commit-Author: lbartoletti X-SVN-Commit-Paths: in head/lang/nim: . files X-SVN-Commit-Revision: 546051 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.33 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: Mon, 24 Aug 2020 06:48:36 -0000 Author: lbartoletti Date: Mon Aug 24 06:48:36 2020 New Revision: 546051 URL: https://svnweb.freebsd.org/changeset/ports/546051 Log: lang/nim: Fix cssSource for nim doc Nim doc expected to find nimdoc.css in ${PREFIX}/doc/nimdoc.css but our doc directory is ${PREFIX}/share/doc/nim/ PR: 248814 Approved by: Neal Nelson (maintainer) Added: head/lang/nim/files/patch-compiler_docgen.nim (contents, props changed) Modified: head/lang/nim/Makefile Modified: head/lang/nim/Makefile ============================================================================== --- head/lang/nim/Makefile Mon Aug 24 06:43:14 2020 (r546050) +++ head/lang/nim/Makefile Mon Aug 24 06:48:36 2020 (r546051) @@ -3,6 +3,7 @@ PORTNAME= nim PORTVERSION= 1.2.6 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= https://nim-lang.org/download/ Added: head/lang/nim/files/patch-compiler_docgen.nim ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/nim/files/patch-compiler_docgen.nim Mon Aug 24 06:48:36 2020 (r546051) @@ -0,0 +1,11 @@ +--- compiler/docgen.nim.orig 2020-08-21 12:50:46 UTC ++++ compiler/docgen.nim +@@ -1163,7 +1163,7 @@ proc writeOutput*(d: PDoc, useWarning = false) = + rawMessage(d.conf, if useWarning: warnCannotOpenFile else: errCannotOpenFile, + outfile.string) + elif not d.wroteCss: +- let cssSource = $d.conf.getPrefixDir() / "doc" / "nimdoc.css" ++ let cssSource = $d.conf.getPrefixDir() / "share/doc/nim" / "nimdoc.css" + let cssDest = $dir / nimdocOutCss + copyFile(cssSource, cssDest) + d.wroteCss = true