From nobody Sun Feb 20 23:50:44 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D913A19C19CF; Sun, 20 Feb 2022 23:50:46 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K22Hn5pzPz4V5J; Sun, 20 Feb 2022 23:50:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645401045; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bewM1RCOxys/Dyc3IWsYWogFth9KPcLwfpJVr/uo9cs=; b=ObrU5QT3Jk6DmTxx9nwdXjfqgCZCESMpkxLZO0zJSlpqHEf/cEjw6fKlGfO1xaiJpZ6U3A /QRUQb6gX/uu4MPWiZGNMBcY5xencYIIyFDfHV0iUZfEXCbBMQakDtUmGoeBP5LAd3aMF1 kCNXWZTGKpRDDY6kxASmB0Ny/H8gw0UP96gxB+SZyV8N+atz1xYqatRwR323vCCYKlnFXb hHxrTExVV5SxKT7FcRcCtpnZj4sG7u3HZ085utgUvWJtoTXH6iEzGFqqAKg0FmPgnE0f0N cQy/p8J7KP6S/8GIqIJytP1T12XeXFhxipmcIJjH/qmHHOMg06gLXBpckdaCnQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C856225D92; Sun, 20 Feb 2022 23:50:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 21KNoi5P077084; Sun, 20 Feb 2022 23:50:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21KNoijn077083; Sun, 20 Feb 2022 23:50:44 GMT (envelope-from git) Date: Sun, 20 Feb 2022 23:50:44 GMT Message-Id: <202202202350.21KNoijn077083@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yasuhiro Kimura Subject: git: fba93de2e2d0 - main - devel/forge-devel: Add PDF option and change DOCS option List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yasu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fba93de2e2d05c6501f70788e25969d9f3b43887 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645401045; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bewM1RCOxys/Dyc3IWsYWogFth9KPcLwfpJVr/uo9cs=; b=I+WK60dC9nUv/5tC8Azk1Ip0kGNJmiqgNxuCLs7vGu2HR4r/oPXlNxjn2xln3wlLn1Wg1e OMv+J0QueBrvPDDR9nJfmdKGsuPmZGd2CcFMmroSTvJ9saCLb/05DHqiJAVstFy40TOvye 4W+kbRjW2DbQ45CPvdpdj6oIVYoEC2utyKUx2EqzvIs98vnu9MS60pf/I0emSokX15lDwZ 6xdtoh6Mh/tyRzBHZ2uMESpIysyAzjEQ19h7yf82PpqfgA4K7tV8mq+upj9pCYk2nd4VkQ cr/ZZSnGzxoyO3WAR68/eLdbzGIaK2Ch6fewluI58tDQTMi53nltvAtCkFn3GA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645401045; a=rsa-sha256; cv=none; b=IAZilNak8rvVplsV8CGY4eRzLYq3HprlLCLbrh3jTXhRDpYMvlsTwL1lkyq2iXNp5/aJB3 OFYT/98XV3zhcntpmicAgF4o+TPEh4BqT3jbiJScCM5vcoJXOAZqSM2SIBDOVf/ZzzR/7H TxS9PSKj0GUUjkbLJR1+FzHaM9clrhDR5/EgUQI61/WNTmjbL8/kXWbw59ozGOK8avQGmk krSuxOVcKB1fOWQZ0ko6/lOKC63d87VGETdSPRW3oEQrpDmIuefoy0618cfJP+Ng0srho0 u969zj6ZECeicMHETlNJxV4EcA+suHNnfUXTMfaexFQVjW7Eo9jGed19XFcJSQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=fba93de2e2d05c6501f70788e25969d9f3b43887 commit fba93de2e2d05c6501f70788e25969d9f3b43887 Author: Yasuhiro Kimura AuthorDate: 2022-02-20 22:26:52 +0000 Commit: Yasuhiro Kimura CommitDate: 2022-02-20 23:30:43 +0000 devel/forge-devel: Add PDF option and change DOCS option * Add new option PDF. If it is enabled PDF document is built and installed. * Change DOCS option so HTML document is built and installed if it is enabled. * Add NO_ARCH --- devel/forge-devel/Makefile | 28 +++++++++++++++++++++++----- devel/forge-devel/pkg-plist | 1 + 2 files changed, 24 insertions(+), 5 deletions(-) diff --git a/devel/forge-devel/Makefile b/devel/forge-devel/Makefile index db0379e06b50..4a9fd26743cf 100644 --- a/devel/forge-devel/Makefile +++ b/devel/forge-devel/Makefile @@ -2,6 +2,7 @@ PORTNAME= forge DISTVERSIONPREFIX= v DISTVERSION= 0.3.0-44 DISTVERSIONSUFFIX= -g43055ac +PORTREVISION= 1 CATEGORIES= devel elisp PKGNAMESUFFIX= -devel${EMACS_PKGNAMESUFFIX} @@ -33,19 +34,31 @@ USE_GITHUB= yes GH_ACCOUNT= magit MAKE_ENV+= INSTALL_INFO=install-info \ - LOAD_PATH="${_LOAD_PATH}" + LOAD_PATH="${LOAD_PATH}" # Parallel build fails if Emacs is built with native compilation enabled MAKE_JOBS_UNSAFE= yes ALL_TARGET= lisp info CONFLICTS= forge-emacs* +NO_ARCH= yes + INFO= forge -PORTDOCS= README.md +PORTDOCS= CHANGELOG README.md forge.html + +OPTIONS_DEFINE= DOCS PDF +OPTIONS_SUB= yes + +PDF_DESC= Build and install PDF document -OPTIONS_DEFINE= DOCS +DOCS_BUILD_DEPENDS= gsed:textproc/gsed +DOCS_ALL_TARGET= html +DOCS_BINARY_ALIAS= sed=gsed +PDF_BUILD_DEPENDS= texi2pdf:print/texinfo +PDF_USE= TEX=dvipdfmx:build +PDF_ALL_TARGET= pdf -_LOAD_PATH= -L ${PREFIX}/${EMACS_SITE_LISPDIR} -L \ +LOAD_PATH= -L ${PREFIX}/${EMACS_SITE_LISPDIR} -L \ ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} -L \ ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/closql -L \ ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/emacsql -L \ @@ -60,6 +73,11 @@ do-install: do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${WRKSRC}/README.md \ + ${WRKSRC}/docs/forge.html ${STAGEDIR}${DOCSDIR} + +do-install-PDF-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/forge.pdf ${STAGEDIR}${DOCSDIR} .include diff --git a/devel/forge-devel/pkg-plist b/devel/forge-devel/pkg-plist index 1158b77cdf44..14bebdd0f4f5 100644 --- a/devel/forge-devel/pkg-plist +++ b/devel/forge-devel/pkg-plist @@ -35,3 +35,4 @@ %%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-topic.elc %%EMACS_VERSION_SITE_LISPDIR%%/forge/forge.el %%EMACS_VERSION_SITE_LISPDIR%%/forge/forge.elc +%%PDF%%%%DOCSDIR%%/forge.pdf