git: caeb9552ed2b - main - devel/forge: New port: Work with Git forges from Magit
Guangyuan Yang
ygy at FreeBSD.org
Thu Jun 3 10:38:04 UTC 2021
The branch main has been updated by ygy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=caeb9552ed2bbf7e2ab1ada23d273c791fc86dc1
commit caeb9552ed2bbf7e2ab1ada23d273c791fc86dc1
Author: Yasuhiro Kimura <yasu at utahime.org>
AuthorDate: 2021-06-03 10:35:10 +0000
Commit: Guangyuan Yang <ygy at FreeBSD.org>
CommitDate: 2021-06-03 10:35:10 +0000
devel/forge: New port: Work with Git forges from Magit
PR: 255963
Approved by: lwhsu (mentor)
---
devel/Makefile | 1 +
devel/forge/Makefile | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++
devel/forge/distinfo | 3 +++
devel/forge/pkg-descr | 10 ++++++++++
devel/forge/pkg-plist | 37 ++++++++++++++++++++++++++++++++++++
5 files changed, 103 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index cc1980605d7c..4572ee2900fd 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -670,6 +670,7 @@
SUBDIR += fmake
SUBDIR += fnccheck
SUBDIR += folly
+ SUBDIR += forge
SUBDIR += fortran-utils
SUBDIR += fortytwo-encore
SUBDIR += fossil
diff --git a/devel/forge/Makefile b/devel/forge/Makefile
new file mode 100644
index 000000000000..e75bf5b4c507
--- /dev/null
+++ b/devel/forge/Makefile
@@ -0,0 +1,52 @@
+PORTNAME= forge
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.2.0
+CATEGORIES= devel elisp
+PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
+
+MAINTAINER= yasu at utahime.org
+COMMENT= Work with Git forges from the comfort of Magit
+
+LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= closql${EMACS_PKGNAMESUFFIX}>=1.0.0:databases/closql@${EMACS_FLAVOR} \
+ magit${EMACS_PKGNAMESUFFIX}>=2.90.1:devel/magit@${EMACS_FLAVOR} \
+ markdown-mode.el${EMACS_PKGNAMESUFFIX}>=2.3:textproc/markdown-mode.el@${EMACS_FLAVOR}
+RUN_DEPENDS= closql${EMACS_PKGNAMESUFFIX}>=1.0.0:databases/closql@${EMACS_FLAVOR} \
+ magit${EMACS_PKGNAMESUFFIX}>=2.90.1:devel/magit@${EMACS_FLAVOR} \
+ markdown-mode.el${EMACS_PKGNAMESUFFIX}>=2.3:textproc/markdown-mode.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-devel*
+
+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/distinfo b/devel/forge/distinfo
new file mode 100644
index 000000000000..5da7ea22187f
--- /dev/null
+++ b/devel/forge/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1621962432
+SHA256 (magit-forge-v0.2.0_GH0.tar.gz) = a8a36c19ee4cb038ab0cc788ca6922f6fd640bae204bb0298d02b0e8412e4f47
+SIZE (magit-forge-v0.2.0_GH0.tar.gz) = 88431
diff --git a/devel/forge/pkg-descr b/devel/forge/pkg-descr
new file mode 100644
index 000000000000..be4b06432841
--- /dev/null
+++ b/devel/forge/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/pkg-plist b/devel/forge/pkg-plist
new file mode 100644
index 000000000000..1158b77cdf44
--- /dev/null
+++ b/devel/forge/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
More information about the dev-commits-ports-all
mailing list