summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2020-01-17 17:09:07 +0000
committerpho <pho@pkgsrc.org>2020-01-17 17:09:07 +0000
commitd4e2d88e9eea7ca32554c10e28b767e0c450a004 (patch)
treeb210cddfff02ed6f14b2d42eb9cc940ef8f40283 /textproc
parent68284e881cb648e450f8d5f898eccfed4dba365e (diff)
downloadpkgsrc-d4e2d88e9eea7ca32554c10e28b767e0c450a004.tar.gz
Import skylighting-core-0.8.3
Skylighting is a syntax highlighting library. It derives its tokenizers from XML syntax definitions used by KDE's KSyntaxHighlighting framework, so any syntax supported by that framework can be added. An optional command-line program is provided. Skylighting is intended to be the successor to highlighting-kate. This package provides the core highlighting functionality under a permissive license.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/hs-skylighting-core/DESCR7
-rw-r--r--textproc/hs-skylighting-core/Makefile24
-rw-r--r--textproc/hs-skylighting-core/buildlink3.mk25
-rw-r--r--textproc/hs-skylighting-core/distinfo6
4 files changed, 62 insertions, 0 deletions
diff --git a/textproc/hs-skylighting-core/DESCR b/textproc/hs-skylighting-core/DESCR
new file mode 100644
index 00000000000..7c849e0427f
--- /dev/null
+++ b/textproc/hs-skylighting-core/DESCR
@@ -0,0 +1,7 @@
+Skylighting is a syntax highlighting library. It derives its
+tokenizers from XML syntax definitions used by KDE's
+KSyntaxHighlighting framework, so any syntax supported by that
+framework can be added. An optional command-line program is
+provided. Skylighting is intended to be the successor to
+highlighting-kate. This package provides the core highlighting
+functionality under a permissive license.
diff --git a/textproc/hs-skylighting-core/Makefile b/textproc/hs-skylighting-core/Makefile
new file mode 100644
index 00000000000..e5f4b94ed57
--- /dev/null
+++ b/textproc/hs-skylighting-core/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2020/01/17 17:09:07 pho Exp $
+
+DISTNAME= skylighting-core-0.8.3
+CATEGORIES= textproc
+
+MAINTAINER= pho@cielonegro.org
+COMMENT= Syntax highlighting library core
+LICENSE= modified-bsd
+
+CONFIGURE_ARGS+= -fsystem-pcre
+
+.include "../../converters/hs-aeson/buildlink3.mk"
+.include "../../devel/hs-ansi-terminal/buildlink3.mk"
+.include "../../textproc/hs-attoparsec/buildlink3.mk"
+.include "../../converters/hs-base64-bytestring/buildlink3.mk"
+.include "../../textproc/hs-blaze-html/buildlink3.mk"
+.include "../../textproc/hs-case-insensitive/buildlink3.mk"
+.include "../../devel/hs-colour/buildlink3.mk"
+.include "../../textproc/hs-hxt//buildlink3.mk"
+.include "../../devel/hs-safe//buildlink3.mk"
+.include "../../devel/hs-utf8-string//buildlink3.mk"
+.include "../../textproc/hs-regex-pcre//buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/hs-skylighting-core/buildlink3.mk b/textproc/hs-skylighting-core/buildlink3.mk
new file mode 100644
index 00000000000..133530c6fc7
--- /dev/null
+++ b/textproc/hs-skylighting-core/buildlink3.mk
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/17 17:09:07 pho Exp $
+
+BUILDLINK_TREE+= hs-skylighting-core
+
+.if !defined(HS_SKYLIGHTING_CORE_BUILDLINK3_MK)
+HS_SKYLIGHTING_CORE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-skylighting-core+= hs-skylighting-core>=0.8.3
+BUILDLINK_ABI_DEPENDS.hs-skylighting-core+= hs-skylighting-core>=0.8.3
+BUILDLINK_PKGSRCDIR.hs-skylighting-core?= ../../textproc/hs-skylighting-core
+
+.include "../../converters/hs-aeson/buildlink3.mk"
+.include "../../devel/hs-ansi-terminal/buildlink3.mk"
+.include "../../textproc/hs-attoparsec/buildlink3.mk"
+.include "../../converters/hs-base64-bytestring/buildlink3.mk"
+.include "../../textproc/hs-blaze-html/buildlink3.mk"
+.include "../../textproc/hs-case-insensitive/buildlink3.mk"
+.include "../../devel/hs-colour/buildlink3.mk"
+.include "../../textproc/hs-hxt//buildlink3.mk"
+.include "../../devel/hs-safe//buildlink3.mk"
+.include "../../devel/hs-utf8-string//buildlink3.mk"
+.include "../../textproc/hs-regex-pcre//buildlink3.mk"
+.endif # HS_SKYLIGHTING_CORE_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-skylighting-core
diff --git a/textproc/hs-skylighting-core/distinfo b/textproc/hs-skylighting-core/distinfo
new file mode 100644
index 00000000000..5d5268ff113
--- /dev/null
+++ b/textproc/hs-skylighting-core/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/17 17:09:07 pho Exp $
+
+SHA1 (skylighting-core-0.8.3.tar.gz) = e513b33a3152397abb390bb1d6fc7e6010b1fe0b
+RMD160 (skylighting-core-0.8.3.tar.gz) = 7a92761473b57cbdba92c534e895e35a7dd7c1fb
+SHA512 (skylighting-core-0.8.3.tar.gz) = cc8bb51504deadcb9bac8ff1bb5b28a29c291ea24aa2182d6d86fa81f94f69550159fb2ff1a125f7361bedc30eb4ff6bccbec116c8e49ce12dad234b32a1d1c8
+Size (skylighting-core-0.8.3.tar.gz) = 657953 bytes