From nobody Sun Feb 20 23:50:42 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 470AD19C175B; Sun, 20 Feb 2022 23:50:44 +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 4K22Hk5wSZz4V4y; Sun, 20 Feb 2022 23:50:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645401043; 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=X0/vR2WapKXbbUj0P5s5efDClv1zPjcpw9DmYwqCdr8=; b=jNveslmj/U0vAg63NaH8kGjJowHYdsagnxEc7thIBzpf8u4BMCKcXyKcfFbqxERsG4o+6Z NTn1FT6uEtBZHsI2me3pDuTvdC7bMCtr62rqqCytcoZq9Cd2qSZdcs3cklHwA+IJfff1xJ SHOQgQY4l3e4/SpZ9j2YMRuvi3rmgf+al5Y43L4Uz9zKWFSP7MgW9ZvawLyeFviV6PvNkH MX4vYdChpb+ZU5R0XmEDXE2u250XedEIVx/ZL/Ug1GPjZA9KEVk5CZQThOSK1XbuFvHBXP 1SZv86sZyzlX0+x0JsIwss6SqNynOJmLwEcn7XgtVwUZp5KT+JEM7Ues55pMsg== 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 80ACA25D1E; Sun, 20 Feb 2022 23:50:42 +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 21KNogYb077029; Sun, 20 Feb 2022 23:50:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21KNogid077028; Sun, 20 Feb 2022 23:50:42 GMT (envelope-from git) Date: Sun, 20 Feb 2022 23:50:42 GMT Message-Id: <202202202350.21KNogid077028@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: ce638ecca3b7 - main - devel/magit-devel: 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: ce638ecca3b7a4d5c326c829d0fc90e11b337cd0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645401043; 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=X0/vR2WapKXbbUj0P5s5efDClv1zPjcpw9DmYwqCdr8=; b=HJht3rcPTr2VCM3U68Kz6DiyWykK2/noZHKOuZO+gn4Tlp2IL1SO1+hf89xZPehO8AnGNs 6xsCu6xdxVfp6yyqeVKc2KSMegXKHwSkyRcphzcVqwSXgGS/xxayuuKaSjMal1Enwtxvzm yhAlGZUjSXVSZ64MXSNLCPL9CsV9xvQMO9EaQFr7HzYOFoNPiqvWQZWDPU8QY0bF52zNjZ C8m6JU69+MYd3zbkaOMf6qANSFzXuMV2W6JlNXLdsvWn5eg0tVqaRpwXrxhWYEsqUgvh/q PjDoMP3GD5OduRj8fqh9hlNNIMOqPl7yhERcEJ6TNWxNfwyyspSMRrMz2+lPPQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645401043; a=rsa-sha256; cv=none; b=RwKYU3MmmoxhccLu1eNY243pA/j0gvvwr3pHHd8UVwcD3UlC1P5yz8SET5pFgg+uI6InuQ id+j8pr8DqSAqG6lp6Iz1ioXGG6s1iI1Xe80ENNHmrlMHKlZB8LQRy7XX2XyAUXWRQF2qV /OcpJgRZrm/d2rDXTnkMUwmRnogtTt6aoTnIXGVyEsrN11vDjRKGgfhlEe8XUEuyYslRbI vratwwtllZrgN97EaDu8SIcMFBslP0apppjJaqwH9j/2g8X2K87OiDd6ZZbDisNH/2xs2K GTeurfpUB5iq70sfOmw0s4Df32oOXGE7PB2zSBzEJBgE8mSjJRXiEllijhootQ== 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=ce638ecca3b7a4d5c326c829d0fc90e11b337cd0 commit ce638ecca3b7a4d5c326c829d0fc90e11b337cd0 Author: Yasuhiro Kimura AuthorDate: 2022-02-20 18:50:50 +0000 Commit: Yasuhiro Kimura CommitDate: 2022-02-20 23:30:36 +0000 devel/magit-devel: Add PDF option and change DOCS option * Add new option PDF. If it is enabled PDF documents are built and installed. * Change DOCS option so HTML documents and all release notes are installed if it is enabled. --- devel/magit-devel/Makefile | 34 +++++++++++++++++++++++++--------- devel/magit-devel/pkg-plist | 2 ++ 2 files changed, 27 insertions(+), 9 deletions(-) diff --git a/devel/magit-devel/Makefile b/devel/magit-devel/Makefile index ecb162913d0f..b8b7424f97fd 100644 --- a/devel/magit-devel/Makefile +++ b/devel/magit-devel/Makefile @@ -2,6 +2,7 @@ PORTNAME= magit DISTVERSIONPREFIX= v DISTVERSION= 3.3.0-133 DISTVERSIONSUFFIX= -g846d153a +PORTREVISION= 1 CATEGORIES= devel elisp PKGNAMESUFFIX= -devel${EMACS_PKGNAMESUFFIX} @@ -24,34 +25,49 @@ USE_GITHUB= yes MAKE_ENV+= docdir=${DOCSDIR} \ infodir=${PREFIX}/${INFO_PATH} \ INSTALL_INFO=install-info \ - lispdir=${PREFIX}/${_ELISPDIR} \ + lispdir=${PREFIX}/${ELISPDIR} \ LOAD_PATH="-L ${WRKSRC}/lisp -L ${PREFIX}/${EMACS_SITE_LISPDIR} -L ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} -L ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/ghub" \ VERSION=${PORTVERSION} # Parallel build fails if Emacs is built with native compilation enabled MAKE_JOBS_UNSAFE= yes +ALL_TARGET= lisp info +INSTALL_TARGET= install-lisp install-info CONFLICTS_INSTALL= magit-emacs* NO_ARCH= yes INFO= magit magit-section -PLIST_SUB+= ELISPDIR=${_ELISPDIR} -PORTDOCS= AUTHORS.md ReleaseNote +PLIST_SUB+= ELISPDIR=${ELISPDIR} +PORTDOCS= *.html *.md RelNotes/* -OPTIONS_DEFINE= DOCS LIBEGIT2 -OPTIONS_SUB= yes -LIBEGIT2_DESC= Use libegit2 as backend (EXPERIMENTAL) +OPTIONS_DEFINE= DOCS LIBEGIT2 PDF +OPTIONS_SUB= yes + +LIBEGIT2_DESC= Use libegit2 as backend (EXPERIMENTAL) +PDF_DESC= Build and install PDF document + +DOCS_BUILD_DEPENDS= gsed:textproc/gsed +DOCS_ALL_TARGET= html +DOCS_BINARY_ALIAS= sed=gsed LIBEGIT2_BUILD_DEPENDS= libegit2${EMACS_PKGNAMESUFFIX}>=g20200515:devel/libegit2@${EMACS_FLAVOR} LIBEGIT2_BUILD_DEPENDS_OFF= git:devel/git LIBEGIT2_RUN_DEPENDS= libegit2${EMACS_PKGNAMESUFFIX}>=g20200515:devel/libegit2@${EMACS_FLAVOR} LIBEGIT2_RUN_DEPENDS_OFF= git:devel/git LIBEGIT2_VARS= MAKE_ENV+=BUILD_MAGIT_LIBGIT=true +PDF_BUILD_DEPENDS= texi2pdf:print/texinfo +PDF_USE= TEX=dvipdfmx:build +PDF_ALL_TARGET= pdf -_ELISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME} +ELISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME} do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR}/RelNotes + ${INSTALL_DATA} ${WRKSRC}/docs/*.md ${STAGEDIR}${DOCSDIR} + ${COPYTREE_SHARE} ${WRKSRC}/docs/RelNotes ${STAGEDIR}${DOCSDIR}/RelNotes + +do-install-PDF-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/docs/RelNotes/3.4.0.org \ - ${STAGEDIR}${DOCSDIR}/ReleaseNote + ${INSTALL_DATA} ${WRKSRC}/docs/*.pdf ${STAGEDIR}${DOCSDIR} .include diff --git a/devel/magit-devel/pkg-plist b/devel/magit-devel/pkg-plist index 21b48d087d9a..3a476c77e6bb 100644 --- a/devel/magit-devel/pkg-plist +++ b/devel/magit-devel/pkg-plist @@ -98,3 +98,5 @@ %%ELISPDIR%%/magit-worktree.elc %%ELISPDIR%%/magit.el %%ELISPDIR%%/magit.elc +%%PDF%%%%DOCSDIR%%/magit-section.pdf +%%PDF%%%%DOCSDIR%%/magit.pdf