From nobody Sun Feb 20 23:50:39 2022 X-Original-To: dev-commits-ports-main@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 9C28919C17CA; Sun, 20 Feb 2022 23:50:39 +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 4K22Hg3kb0z4V4g; Sun, 20 Feb 2022 23:50:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645401039; 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=poiZ0w5gghKnGEiLMbpD5l9oKBD5NbYisQKL4LtPAJI=; b=LDXhgujPVr9owNvrUvmhZftlycssv4rQYVEopoasQP3R68w51hW+WeyZbKSlAZIbO1Z88p 1dStT5XcftlX+rt3RnDZ+nCVboaBpmH81o1QDna5A0Xicm/R2y5F+t2wrpvkRwAgSlxwIg DZXKt+OnCLoV0QVOJoXs/6HbGlh6bX+5tZpOIrITyXwqOEJtRlgUT8Gzh50eSQDhh0sXx2 ZGRR8K1KVnMzYnGafNuZjYcJHbzu+jTFy6XfmCiXAtUMNNYsj9lgftGc7q7cCtH+L2j5sm aDjEHzIUQQRcSoSo6bG2xVSSpeeXvJxzmQyWkZzTiocETVIBtVuSiWF7KPY1QQ== 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 2812925AB4; Sun, 20 Feb 2022 23:50:39 +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 21KNodA9076957; Sun, 20 Feb 2022 23:50:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21KNod73076956; Sun, 20 Feb 2022 23:50:39 GMT (envelope-from git) Date: Sun, 20 Feb 2022 23:50:39 GMT Message-Id: <202202202350.21KNod73076956@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: f381a55933c6 - main - devel/transient: Add PDF option and change DOCS option List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: f381a55933c67d9a4d0b9856487ac841299d02c6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645401039; 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=poiZ0w5gghKnGEiLMbpD5l9oKBD5NbYisQKL4LtPAJI=; b=ZEss5rjybDJxYZSBwY/y8u12/frHMojRwFFxBVS8AkcxUyG8GARcxlzB2xSRcT8+E/xdpg owlZXTi/2JC1+K/hTN2+tUOFUvDSf0T6npKAfQr/H3j6v+g1cvksY/XgULyMFZa/7VoFzK iVOnWXcwyBGcDf9+ZgJmZJEGmdhNS2SNeS0MdZkdbLQx9qPU1alxTvgvnUuTCy5uPd+vrt NIASAXNHP6aDgqeGp74e/y7APMA7N7A3PRwbobbcV1XimKP/rt1MEK+TlJ5v+soZ1YdC1M xghQUo9mmknM4ekUyr1Ri1+ZOWJnyYUd4cWeJpX0TkhJ3j2GvhbnetkpoQ2iEQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645401039; a=rsa-sha256; cv=none; b=N7oF1snyyeUXz0LU1RixCc17NpH4G63mSAQD2VhkmvFEz+2s3JnBnPFcSmGJ1jDN7k4g13 SCCIFaZUMRPv4MRQxnraXrh2zkZGqwo3Oxuk1mGOnkf+ulikpeMT5Y0N6I+GUWND8iPxjS KdCEQdZtKi3EVh306I26qJFbIbwR501VaehNKmitfhyRfkF+1yQy5r72QAGhxGK4q3oxoB TVu0K1JQnEPYL2gmMheFyzZ8j4ZnydZhPTD1cSKWKwLDHKnO6Hd5Jqcgkd7VYrcC6Cmh+p x5GTmOUZ6rBpD5QVBOQJKXVboWUxXKclON/HIq0FMHlSSu2aQB/26vavtJgiLA== 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=f381a55933c67d9a4d0b9856487ac841299d02c6 commit f381a55933c67d9a4d0b9856487ac841299d02c6 Author: Yasuhiro Kimura AuthorDate: 2022-02-20 14:13:40 +0000 Commit: Yasuhiro Kimura CommitDate: 2022-02-20 23:30:20 +0000 devel/transient: 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. --- devel/transient/Makefile | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/devel/transient/Makefile b/devel/transient/Makefile index b55944b9ee4a..136f229e395f 100644 --- a/devel/transient/Makefile +++ b/devel/transient/Makefile @@ -1,7 +1,7 @@ PORTNAME= transient DISTVERSIONPREFIX= v DISTVERSION= 0.3.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel elisp PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} @@ -21,9 +21,19 @@ NO_ARCH= yes INFO= transient -PORTDOCS= CHANGELOG README.md +PORTDOCS= CHANGELOG README.md transient.html -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS PDF + +PDF_DESC= Build and install PDF document + +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 +PDF_PLIST_FILES= ${DOCSDIR}/transient.pdf do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} @@ -34,7 +44,11 @@ do-install: do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/docs/CHANGELOG ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${WRKSRC}/docs/CHANGELOG \ + ${WRKSRC}/docs/transient.html ${STAGEDIR}${DOCSDIR} + +do-install-PDF-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/transient.pdf ${STAGEDIR}${DOCSDIR} .include