Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lang/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
SUBDIR += mono5.10
SUBDIR += mono5.20
SUBDIR += mono6.8
SUBDIR += mscript
SUBDIR += nawk
SUBDIR += nwcc
SUBDIR += ocaml
Expand Down
28 changes: 28 additions & 0 deletions lang/mscript/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
PORTNAME= mscript
DISTVERSIONPREFIX= v
DISTVERSION= 0.1
CATEGORIES= lang

MAINTAINER= ports@MidnightBSD.org
COMMENT= VBScript-compatible interpreter
WWW= https://github.com/laffer1/mscript

LICENSE= bsd2
LICENSE_FILE= ${WRKSRC}/LICENSE

USES= compiler:c++23-lang
USE_GITHUB= yes
GH_ACCOUNT= laffer1

ALL_TARGET= mscript
TEST_TARGET= test
MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS} -std=c++23" \
LDLIBS="${LDFLAGS} -lbsdxml"

PLIST_FILES= bin/mscript share/man/man1/mscript.1.gz

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mscript ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/mscript.1 ${PREFIX}/share/man/man1

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions lang/mscript/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TIMESTAMP = 1794925194
SHA256 (laffer1-mscript-v0.1_GH0.tar.gz) = bd57233c4cceb270a80da790b18f6fd7b811b042d0666bb04e170e251593fd27
SIZE (laffer1-mscript-v0.1_GH0.tar.gz) = 67290
2 changes: 2 additions & 0 deletions lang/mscript/pkg-descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
mscript is a VBScript-compatible interpreter with support for common language
features, built-in functions, and selected Windows Script Host objects.
Loading