Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jul 2021 16:42:37 GMT
From:      Guangyuan Yang <ygy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9c1d97c77ba5 - main - devel/forge-devel: New port
Message-ID:  <202107021642.162Ggbcs083515@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ygy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9c1d97c77ba5f47bcfbe1f0d4740751e08bd2a45

commit 9c1d97c77ba5f47bcfbe1f0d4740751e08bd2a45
Author:     Yasuhiro Kimura <yasu@utahime.org>
AuthorDate: 2021-07-02 16:42:18 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2021-07-02 16:42:18 +0000

    devel/forge-devel: New port
    
    Work with Git forges from the comfort of Magit (Development Version).
    
    PR:             255962
    Approved by:    lwhsu (mentor)
---
 devel/Makefile              |  1 +
 devel/forge-devel/Makefile  | 55 +++++++++++++++++++++++++++++++++++++++++++++
 devel/forge-devel/distinfo  |  3 +++
 devel/forge-devel/pkg-descr | 10 +++++++++
 devel/forge-devel/pkg-plist | 37 ++++++++++++++++++++++++++++++
 5 files changed, 106 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index fe91fd1b9869..c63b150d8e07 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -669,6 +669,7 @@
     SUBDIR += fnccheck
     SUBDIR += folly
     SUBDIR += forge
+    SUBDIR += forge-devel
     SUBDIR += fortran-utils
     SUBDIR += fortytwo-encore
     SUBDIR += fossil
diff --git a/devel/forge-devel/Makefile b/devel/forge-devel/Makefile
new file mode 100644
index 000000000000..20b1496da34e
--- /dev/null
+++ b/devel/forge-devel/Makefile
@@ -0,0 +1,55 @@
+PORTNAME=	forge
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.2.1-7
+DISTVERSIONSUFFIX=	-g84ef3a7
+CATEGORIES=	devel elisp
+PKGNAMESUFFIX=	-devel${EMACS_PKGNAMESUFFIX}
+
+MAINTAINER=	yasu@utahime.org
+COMMENT=	Work with Git forges from the comfort of Magit (Development Version)
+
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	closql${EMACS_PKGNAMESUFFIX}>=1.0.0:databases/closql@${EMACS_FLAVOR} \
+		magit-devel${EMACS_PKGNAMESUFFIX}>=2.90.1:devel/magit-devel@${EMACS_FLAVOR} \
+		markdown-mode.el${EMACS_PKGNAMESUFFIX}>=2.3:textproc/markdown-mode.el@${EMACS_FLAVOR} \
+		yaml.el${EMACS_PKGNAMESUFFIX}>=0.3.3:textproc/yaml.el@${EMACS_FLAVOR}
+RUN_DEPENDS=	closql${EMACS_PKGNAMESUFFIX}>=1.0.0:databases/closql@${EMACS_FLAVOR} \
+		magit-devel${EMACS_PKGNAMESUFFIX}>=2.90.1:devel/magit-devel@${EMACS_FLAVOR} \
+		markdown-mode.el${EMACS_PKGNAMESUFFIX}>=2.3:textproc/markdown-mode.el@${EMACS_FLAVOR} \
+		yaml.el${EMACS_PKGNAMESUFFIX}>=0.3.3:textproc/yaml.el@${EMACS_FLAVOR}
+
+USES=		emacs gmake makeinfo
+USE_GITHUB=	yes
+GH_ACCOUNT=	magit
+
+MAKE_ENV+=	INSTALL_INFO=install-info \
+		LOAD_PATH="${_LOAD_PATH}"
+ALL_TARGET=	lisp info
+
+CONFLICTS=	forge-emacs*
+
+INFO=		forge
+PORTDOCS=	README.md
+
+OPTIONS_DEFINE=	DOCS
+
+_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 \
+		${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/ghub -L \
+		${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/magit
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
+	${INSTALL_DATA} ${WRKSRC}/lisp/*.el* \
+	${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
+	${INSTALL_DATA} ${WRKSRC}/docs/*.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/devel/forge-devel/distinfo b/devel/forge-devel/distinfo
new file mode 100644
index 000000000000..2dcb17cb6935
--- /dev/null
+++ b/devel/forge-devel/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1624917115
+SHA256 (magit-forge-v0.2.1-7-g84ef3a7_GH0.tar.gz) = 215febc6a84dd90638a2cd63bbb0b671119af66c4cececfcb60202f84bbef755
+SIZE (magit-forge-v0.2.1-7-g84ef3a7_GH0.tar.gz) = 89416
diff --git a/devel/forge-devel/pkg-descr b/devel/forge-devel/pkg-descr
new file mode 100644
index 000000000000..be4b06432841
--- /dev/null
+++ b/devel/forge-devel/pkg-descr
@@ -0,0 +1,10 @@
+Forge allows you to work with Git forges, such as Github and Gitlab,
+from the comfort of Magit and the rest of Emacs.
+
+Forge fetches issues, pull-requests and other data using the forge's
+API and stores that in a local database. Additionally it fetches the
+pull-request references using Git. Forge implements various features
+that use this data but the database and pull-request refs can also be
+used by third-party packages.
+
+WWW: https://github.com/magit/forge
diff --git a/devel/forge-devel/pkg-plist b/devel/forge-devel/pkg-plist
new file mode 100644
index 000000000000..1158b77cdf44
--- /dev/null
+++ b/devel/forge-devel/pkg-plist
@@ -0,0 +1,37 @@
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-autoloads.el
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-bitbucket.el
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-bitbucket.elc
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-commands.el
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-commands.elc
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-core.el
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-core.elc
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-db.el
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-db.elc
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-gitea.el
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-gitea.elc
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-github.el
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-github.elc
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-gitlab.el
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-gitlab.elc
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-gogs.el
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-gogs.elc
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-issue.el
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-issue.elc
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-list.el
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-list.elc
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-notify.el
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-notify.elc
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-post.el
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-post.elc
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-pullreq.el
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-pullreq.elc
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-repo.el
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-repo.elc
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-revnote.el
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-revnote.elc
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-semi.el
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-semi.elc
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-topic.el
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge-topic.elc
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge.el
+%%EMACS_VERSION_SITE_LISPDIR%%/forge/forge.elc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107021642.162Ggbcs083515>