diff options
author | Yasuhiro Kimura <yasu@utahime.org> | 2021-06-03 10:35:10 +0000 |
---|---|---|
committer | Guangyuan Yang <ygy@FreeBSD.org> | 2021-06-03 10:35:10 +0000 |
commit | caeb9552ed2bbf7e2ab1ada23d273c791fc86dc1 (patch) | |
tree | c73cfb5d24f6693f3afb5c1eafc37972582cf61d | |
parent | 66c6b4bf5025d6ebb63a729446f5724b97a1ed92 (diff) | |
download | ports-caeb9552ed2bbf7e2ab1ada23d273c791fc86dc1.tar.gz ports-caeb9552ed2bbf7e2ab1ada23d273c791fc86dc1.zip |
devel/forge: New port: Work with Git forges from Magit
PR: 255963
Approved by: lwhsu (mentor)
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/forge/Makefile | 52 | ||||
-rw-r--r-- | devel/forge/distinfo | 3 | ||||
-rw-r--r-- | devel/forge/pkg-descr | 10 | ||||
-rw-r--r-- | devel/forge/pkg-plist | 37 |
5 files changed, 103 insertions, 0 deletions
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@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 |