Date: Sun, 9 Jun 2024 13:23:06 GMT From: Koichiro Iwao <meta@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: aca963f179ba - main - devel/go-mode.el: new port Message-ID: <202406091323.459DN6fh001646@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by meta: URL: https://cgit.FreeBSD.org/ports/commit/?id=aca963f179baa977a9ee2fcdafa564b30959817b commit aca963f179baa977a9ee2fcdafa564b30959817b Author: Pat Maddox <pat@patmaddox.com> AuthorDate: 2024-01-14 15:43:53 +0000 Commit: Koichiro Iwao <meta@FreeBSD.org> CommitDate: 2024-06-09 12:57:40 +0000 devel/go-mode.el: new port This is go-mode, the Emacs mode for editing Go code. It is a complete rewrite of the go-mode that shipped with Go 1.0.3 and before, and was part of Go 1.1 until Go 1.3. Beginning with Go 1.4, editor integration will not be part of the Go distribution anymore, making this repository the canonical place for go-mode. PR: 276329 --- devel/Makefile | 1 + devel/go-mode.el/Makefile | 32 ++++++++++++++++++++++++++++++++ devel/go-mode.el/distinfo | 3 +++ devel/go-mode.el/pkg-descr | 6 ++++++ devel/go-mode.el/pkg-plist | 4 ++++ 5 files changed, 46 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 4db18f9b2393..8037ae7e3440 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -874,6 +874,7 @@ SUBDIR += go-bindata SUBDIR += go-bindata-assetfs SUBDIR += go-git + SUBDIR += go-mode.el SUBDIR += go-perf SUBDIR += go-protobuf SUBDIR += go-tools diff --git a/devel/go-mode.el/Makefile b/devel/go-mode.el/Makefile new file mode 100644 index 000000000000..2df4b5d4a864 --- /dev/null +++ b/devel/go-mode.el/Makefile @@ -0,0 +1,32 @@ +PORTNAME= go-mode.el +DISTVERSIONPREFIX= v +DISTVERSION= 1.6.0 +CATEGORIES= devel + +MAINTAINER= pat@patmaddox.com +COMMENT= Emacs mode for the Go programming language +WWW= https://github.com/dominikh/go-mode.el + +LICENSE= BSD3CLAUSE + +USES= emacs +EMACS_NO_DEPENDS= yes + +USE_GITHUB= yes +GH_ACCOUNT= dominikh +GH_PROJECT= go-mode.el + +NO_ARCH= yes +NO_BUILD= yes + +OPTIONS_DEFINE= DOCS + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR} + ${INSTALL_DATA} ${WRKSRC}/*.el ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR} + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> diff --git a/devel/go-mode.el/distinfo b/devel/go-mode.el/distinfo new file mode 100644 index 000000000000..2e3246055d23 --- /dev/null +++ b/devel/go-mode.el/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1705246850 +SHA256 (dominikh-go-mode.el-v1.6.0_GH0.tar.gz) = d480f332bb0e286e41d1592bbce29a70637487788d1ae4ad36f6e7c75eb667d4 +SIZE (dominikh-go-mode.el-v1.6.0_GH0.tar.gz) = 51329 diff --git a/devel/go-mode.el/pkg-descr b/devel/go-mode.el/pkg-descr new file mode 100644 index 000000000000..d1c9c86e8be3 --- /dev/null +++ b/devel/go-mode.el/pkg-descr @@ -0,0 +1,6 @@ +This is go-mode, the Emacs mode for editing Go code. + +It is a complete rewrite of the go-mode that shipped with Go 1.0.3 and +before, and was part of Go 1.1 until Go 1.3. Beginning with Go 1.4, +editor integration will not be part of the Go distribution anymore, +making this repository the canonical place for go-mode. diff --git a/devel/go-mode.el/pkg-plist b/devel/go-mode.el/pkg-plist new file mode 100644 index 000000000000..0516aebefb8b --- /dev/null +++ b/devel/go-mode.el/pkg-plist @@ -0,0 +1,4 @@ +%%PORTDOCS%%%%DOCSDIR%%/README.md +%%EMACS_SITE_LISPDIR%%/go-guru.el +%%EMACS_SITE_LISPDIR%%/go-mode.el +%%EMACS_SITE_LISPDIR%%/go-rename.el
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406091323.459DN6fh001646>