Commit 28ff1580 authored by yuri's avatar yuri
Browse files

New port: devel/chroma: General purpose syntax highlighter in pure Go

parent 2c5fe073
......@@ -317,6 +317,7 @@
SUBDIR += check
SUBDIR += checkbashisms
SUBDIR += checkheaders
SUBDIR += chroma
SUBDIR += chromium-gn
SUBDIR += chrpath
SUBDIR += chruby
......
# $FreeBSD$
PORTNAME= chroma
DISTVERSIONPREFIX= v
DISTVERSION= 0.7.1
CATEGORIES= devel
PKGNAMESUFFIX= -syntax-highlighter
MAINTAINER= yuri@FreeBSD.org
COMMENT= General purpose syntax highlighter in pure Go
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= alecthomas
GH_TUPLE= \
alecthomas:assert:405dbfeb8e38:alecthomas_assert/vendor/github.com/alecthomas/assert \
alecthomas:colour:60882d9e2721:alecthomas_colour/vendor/github.com/alecthomas/colour \
alecthomas:kong:0548c6b1afae:alecthomas_kong/vendor/github.com/alecthomas/kong \
alecthomas:repr:117648cd9897:alecthomas_repr/vendor/github.com/alecthomas/repr \
danwakefield:fnmatch:cbb64ac3d964:danwakefield_fnmatch/vendor/github.com/danwakefield/fnmatch \
dlclark:regexp2:v1.1.6:dlclark_regexp2/vendor/github.com/dlclark/regexp2 \
golang:sys:4ed8d59d0b35:golang_sys/vendor/golang.org/x/sys \
mattn:go-colorable:v0.0.9:mattn_go_colorable/vendor/github.com/mattn/go-colorable \
mattn:go-isatty:v0.0.4:mattn_go_isatty/vendor/github.com/mattn/go-isatty \
pkg:errors:v0.8.1:pkg_errors/vendor/github.com/pkg/errors \
sergi:go-diff:v1.0.0:sergi_go_diff/vendor/github.com/sergi/go-diff
GO_TARGET= ./cmd/chroma
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.mk>
TIMESTAMP = 1579069617
SHA256 (alecthomas-chroma-v0.7.1_GH0.tar.gz) = 962d3f29a445b07ad86bb596f447d9dd572da5073ac99c10eef4066580aa1d26
SIZE (alecthomas-chroma-v0.7.1_GH0.tar.gz) = 597331
SHA256 (alecthomas-assert-405dbfeb8e38_GH0.tar.gz) = 98220302569c728c0dc546ce946c4600aed4ab0729f6e9fc08b24b753cfcaa13
SIZE (alecthomas-assert-405dbfeb8e38_GH0.tar.gz) = 71073
SHA256 (alecthomas-colour-60882d9e2721_GH0.tar.gz) = 72c3b70db87e00ca3044c4f4dbedf08e1ae15e93bbc00e622313a58813c6b012
SIZE (alecthomas-colour-60882d9e2721_GH0.tar.gz) = 3479
SHA256 (alecthomas-kong-0548c6b1afae_GH0.tar.gz) = 7f6410d1e26d5cfc53079289845d7f78a2ec8f474891ec9cf3eaedda08cb8917
SIZE (alecthomas-kong-0548c6b1afae_GH0.tar.gz) = 273957
SHA256 (alecthomas-repr-117648cd9897_GH0.tar.gz) = 64b8875114cc19d5e7ccd493c87f0305306382039b52312aaf7d3fd7b1772c20
SIZE (alecthomas-repr-117648cd9897_GH0.tar.gz) = 4646
SHA256 (danwakefield-fnmatch-cbb64ac3d964_GH0.tar.gz) = 7ebff38d382142f9220d2cfcb4731d0ae90cdef71238c94a15c35f8aa746007f
SIZE (danwakefield-fnmatch-cbb64ac3d964_GH0.tar.gz) = 4955
SHA256 (dlclark-regexp2-v1.1.6_GH0.tar.gz) = 81ede5b49ff46bd1c686416c52605aa4698b9dce07d011581c49a1d35b8a5239
SIZE (dlclark-regexp2-v1.1.6_GH0.tar.gz) = 203691
SHA256 (golang-sys-4ed8d59d0b35_GH0.tar.gz) = 151fd7ed67a6750ed6d2c45ecfefb184ec4db9f4f0d984fc3829bb3000c30edf
SIZE (golang-sys-4ed8d59d0b35_GH0.tar.gz) = 1117393
SHA256 (mattn-go-colorable-v0.0.9_GH0.tar.gz) = 703db7bd13f84446bb06a7f075cf6b21d65b828cd6831dc9069e28b564bdfb87
SIZE (mattn-go-colorable-v0.0.9_GH0.tar.gz) = 7593
SHA256 (mattn-go-isatty-v0.0.4_GH0.tar.gz) = a6228abe42ccfcad4b17c176117ccf2822d06bde51dc437852854056d8737f12
SIZE (mattn-go-isatty-v0.0.4_GH0.tar.gz) = 3377
SHA256 (pkg-errors-v0.8.1_GH0.tar.gz) = 7a428967c6fc2e80cd84a0d9469ab6bd4dbe6b13493ba6294322a933a5a7e356
SIZE (pkg-errors-v0.8.1_GH0.tar.gz) = 11009
SHA256 (sergi-go-diff-v1.0.0_GH0.tar.gz) = 5a07596dcdee6e089b49309162c8e63bc02400652897a1f529d37f0602868dea
SIZE (sergi-go-diff-v1.0.0_GH0.tar.gz) = 41609
Chroma takes source code and other structured text and converts it into syntax
highlighted HTML, ANSI-coloured text, etc.
Chroma is based heavily on Pygments, and includes translators for Pygments
lexers and styles.
WWW: https://github.com/alecthomas/chroma
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment