pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/hs-language-javascript lang/hs-language-javascrip...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d3ad71e37408
branches:  trunk
changeset: 374500:d3ad71e37408
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed Feb 23 16:12:12 2022 +0000

description:
lang/hs-language-javascript: import hs-language-javascript-0.7.1.0

Parses Javascript into an Abstract Syntax Tree (AST).

diffstat:

 lang/hs-language-javascript/DESCR         |   1 +
 lang/hs-language-javascript/Makefile      |  25 +++++++++
 lang/hs-language-javascript/PLIST         |  83 +++++++++++++++++++++++++++++++
 lang/hs-language-javascript/buildlink3.mk |  16 +++++
 lang/hs-language-javascript/distinfo      |   5 +
 5 files changed, 130 insertions(+), 0 deletions(-)

diffs (150 lines):

diff -r 84be354181bd -r d3ad71e37408 lang/hs-language-javascript/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/hs-language-javascript/DESCR Wed Feb 23 16:12:12 2022 +0000
@@ -0,0 +1,1 @@
+Parses Javascript into an Abstract Syntax Tree (AST).
diff -r 84be354181bd -r d3ad71e37408 lang/hs-language-javascript/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/hs-language-javascript/Makefile      Wed Feb 23 16:12:12 2022 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2022/02/23 16:12:12 pho Exp $
+
+DISTNAME=      language-javascript-0.7.1.0
+CATEGORIES=    lang
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Parser for JavaScript
+LICENSE=       modified-bsd
+
+USE_TOOLS+=    alex happy
+
+.include "../../devel/hs-blaze-builder/buildlink3.mk"
+.include "../../devel/hs-utf8-string/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
+
+# XXX Kludge: happy has a problem reading
+# ${WRKSRC}/src/Language/JavaScript/Parser/Grammer7.y in a locale other
+# than this. We need to make this override the C locale that pkgsrc tries
+# hard to ensure everything gets built in for the sake of reproducibility,
+# so it has to come _after_ bsd.pkg.mk. The right locale would be C.UTF-8,
+# but it was only recently introduced into NetBSD, so let's pick a locale
+# that is pretty universally supported even if not exactly appropriate for
+# this.
+MAKE_ENV+=     LC_ALL=en_US.UTF-8
diff -r 84be354181bd -r d3ad71e37408 lang/hs-language-javascript/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/hs-language-javascript/PLIST Wed Feb 23 16:12:12 2022 +0000
@@ -0,0 +1,83 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/23 16:12:12 pho Exp $
+lib/language-javascript-${PKGVERSION}/${HS_VERSION}/package-description
+lib/language-javascript-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/AST.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/AST.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/AST.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/Grammar7.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/Grammar7.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/Grammar7.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/Lexer.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/Lexer.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/Lexer.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/LexerUtils.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/LexerUtils.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/LexerUtils.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/ParseError.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/ParseError.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/ParseError.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/Parser.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/Parser.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/Parser.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/ParserMonad.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/ParserMonad.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/ParserMonad.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/SrcLocation.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/SrcLocation.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/SrcLocation.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/Token.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/Token.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Parser/Token.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Pretty/Printer.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Pretty/Printer.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Pretty/Printer.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Process/Minify.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Process/Minify.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Language/JavaScript/Process/Minify.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/Language-JavaScript-Parser-AST.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/Language-JavaScript-Parser-Grammar7.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/Language-JavaScript-Parser-Lexer.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/Language-JavaScript-Parser-Parser.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/Language-JavaScript-Parser-SrcLocation.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/Language-JavaScript-Parser.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/Language-JavaScript-Pretty-Printer.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/Language-JavaScript-Process-Minify.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/doc-index-A.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/doc-index-All.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/doc-index-B.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/doc-index-C.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/doc-index-D.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/doc-index-E.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/doc-index-F.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/doc-index-G.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/doc-index-H.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/doc-index-I.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/doc-index-J.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/doc-index-L.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/doc-index-M.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/doc-index-N.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/doc-index-O.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/doc-index-P.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/doc-index-R.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/doc-index-S.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/doc-index-T.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/doc-index-U.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/doc-index-V.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/doc-index-W.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/doc-index-X.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/doc-index-Y.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/language-javascript.haddock
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/language-javascript-${PKGVERSION}/html/synopsis.png
diff -r 84be354181bd -r d3ad71e37408 lang/hs-language-javascript/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/hs-language-javascript/buildlink3.mk Wed Feb 23 16:12:12 2022 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/23 16:12:12 pho Exp $
+
+BUILDLINK_TREE+=       hs-language-javascript
+
+.if !defined(HS_LANGUAGE_JAVASCRIPT_BUILDLINK3_MK)
+HS_LANGUAGE_JAVASCRIPT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-language-javascript+= hs-language-javascript>=0.7.1
+BUILDLINK_ABI_DEPENDS.hs-language-javascript+= hs-language-javascript>=0.7.1.0
+BUILDLINK_PKGSRCDIR.hs-language-javascript?=   ../../lang/hs-language-javascript
+
+.include "../../devel/hs-blaze-builder/buildlink3.mk"
+.include "../../devel/hs-utf8-string/buildlink3.mk"
+.endif # HS_LANGUAGE_JAVASCRIPT_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-language-javascript
diff -r 84be354181bd -r d3ad71e37408 lang/hs-language-javascript/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/hs-language-javascript/distinfo      Wed Feb 23 16:12:12 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/02/23 16:12:12 pho Exp $
+
+BLAKE2s (language-javascript-0.7.1.0.tar.gz) = c22b561d5c4b449b4a837179cc82476bd40076d3cc2dff8d0618cf276b65792e
+SHA512 (language-javascript-0.7.1.0.tar.gz) = 35f935f121cb8aad1a28be50ba8d571ee60bd2c6721eaf9bc7f897cbc4a33b17213e89d84bf9525ddbf555030efd5fbe6b11157c113900354430a7193223516f
+Size (language-javascript-0.7.1.0.tar.gz) = 76438 bytes



Home | Main Index | Thread Index | Old Index