git: 567b394bb6c9 - main - lang/typescript-go: Add port: JavaScript with syntax for types
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 16 Nov 2025 12:13:53 UTC
The branch main has been updated by tagattie:
URL: https://cgit.FreeBSD.org/ports/commit/?id=567b394bb6c9dec01f5e3f1ed68612c2f5ba7cc9
commit 567b394bb6c9dec01f5e3f1ed68612c2f5ba7cc9
Author: Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2025-11-16 12:11:14 +0000
Commit: Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2025-11-16 12:13:24 +0000
lang/typescript-go: Add port: JavaScript with syntax for types
TypeScript is JavaScript with syntax for types.
TypeScript is a strongly typed programming language that builds on
JavaScript, giving you better tooling at any scale.
WWW: https://www.typescriptlang.org/
WWW: https://devblogs.microsoft.com/typescript/typescript-native-port/
---
lang/Makefile | 1 +
lang/typescript-go/Makefile | 34 ++++++++++++++++++++++++++++++++++
lang/typescript-go/distinfo | 7 +++++++
lang/typescript-go/pkg-descr | 4 ++++
4 files changed, 46 insertions(+)
diff --git a/lang/Makefile b/lang/Makefile
index 3226cac5a73f..b699f2df4daa 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -388,6 +388,7 @@
SUBDIR += trealla-prolog
SUBDIR += tuareg-mode.el
SUBDIR += typescript
+ SUBDIR += typescript-go
SUBDIR += typstfmt
SUBDIR += typstyle
SUBDIR += ucc
diff --git a/lang/typescript-go/Makefile b/lang/typescript-go/Makefile
new file mode 100644
index 000000000000..49396242c168
--- /dev/null
+++ b/lang/typescript-go/Makefile
@@ -0,0 +1,34 @@
+PORTNAME= typescript-go
+PORTVERSION= 7.0.0.g20251115
+CATEGORIES= lang
+
+MAINTAINER= tagattie@FreeBSD.org
+COMMENT= JavaScript with syntax for types
+WWW= https://www.typescriptlang.org/ \
+ https://devblogs.microsoft.com/typescript/typescript-native-port/
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go:1.25,modules
+
+USE_GITHUB= yes
+GH_ACCOUNT= microsoft
+GH_PROJECT= typescript-go
+GH_TAGNAME= 05f4d69f81d416946ce46a374d91b78c0fbd37c8
+GH_TUPLE= microsoft:TypeScript:9e8eaa1746b0d09c3cd29048126ef9cf24f29c03:typescript/_submodules/TypeScript
+
+GO_MOD_DIST= https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${GH_TAGNAME}/
+GO_MODULE= github.com/${GH_ACCOUNT}/${GH_PROJECT}
+GO_TARGET= ./cmd/tsgo
+
+PLIST_FILES= bin/tsgo
+PORTDOCS= CHANGES.md CONTRIBUTING.md README.md SECURITY.md SUPPORT.md
+
+OPTIONS_DEFINE= DOCS
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/lang/typescript-go/distinfo b/lang/typescript-go/distinfo
new file mode 100644
index 000000000000..ac5d0e2f0697
--- /dev/null
+++ b/lang/typescript-go/distinfo
@@ -0,0 +1,7 @@
+TIMESTAMP = 1763293427
+SHA256 (go/lang_typescript-go/microsoft-typescript-go-7.0.0.g20251115-05f4d69f81d416946ce46a374d91b78c0fbd37c8_GH0/go.mod) = 153fcc3a06b183c6da1713efe749ed2e6acc60af0b1c5c620403c79ad1d79773
+SIZE (go/lang_typescript-go/microsoft-typescript-go-7.0.0.g20251115-05f4d69f81d416946ce46a374d91b78c0fbd37c8_GH0/go.mod) = 800
+SHA256 (go/lang_typescript-go/microsoft-typescript-go-7.0.0.g20251115-05f4d69f81d416946ce46a374d91b78c0fbd37c8_GH0/microsoft-typescript-go-7.0.0.g20251115-05f4d69f81d416946ce46a374d91b78c0fbd37c8_GH0.tar.gz) = dbdce8306dc41b3a551b3ac7e37ae974ddb1b3bd9a2d044383f185406265ab18
+SIZE (go/lang_typescript-go/microsoft-typescript-go-7.0.0.g20251115-05f4d69f81d416946ce46a374d91b78c0fbd37c8_GH0/microsoft-typescript-go-7.0.0.g20251115-05f4d69f81d416946ce46a374d91b78c0fbd37c8_GH0.tar.gz) = 17899757
+SHA256 (go/lang_typescript-go/microsoft-typescript-go-7.0.0.g20251115-05f4d69f81d416946ce46a374d91b78c0fbd37c8_GH0/microsoft-TypeScript-9e8eaa1746b0d09c3cd29048126ef9cf24f29c03_GH0.tar.gz) = 30a0aaf6ce6cd2da8e3bcf84b6eea0bf24888f4cd84150a78c06bb2ab3b123ec
+SIZE (go/lang_typescript-go/microsoft-typescript-go-7.0.0.g20251115-05f4d69f81d416946ce46a374d91b78c0fbd37c8_GH0/microsoft-TypeScript-9e8eaa1746b0d09c3cd29048126ef9cf24f29c03_GH0.tar.gz) = 32457001
diff --git a/lang/typescript-go/pkg-descr b/lang/typescript-go/pkg-descr
new file mode 100644
index 000000000000..dffed341953e
--- /dev/null
+++ b/lang/typescript-go/pkg-descr
@@ -0,0 +1,4 @@
+TypeScript is JavaScript with syntax for types.
+
+TypeScript is a strongly typed programming language that builds on
+JavaScript, giving you better tooling at any scale.