1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- New port: lang/nx

NX is a highly flexible, Tcl-based, object-oriented scripting language. It is a
descendant of XOTcl and was designed based on 10 years of experience with XOTcl
in projects containing several hundred thousand lines of code. While XOTcl was
the first language designed to provide language support for design patterns and
to provide a highly dynamic programming environment, the Next Scripting
Framework (NSF) and NX add to these features support for language-oriented
programming.

WWW: https://next-scripting.org
This commit is contained in:
Pietro Cerutti 2013-11-11 14:40:44 +00:00
parent af40bb348e
commit 28ab867281
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333508
7 changed files with 1324 additions and 0 deletions

View File

@ -187,6 +187,7 @@
SUBDIR += nml
SUBDIR += nqc
SUBDIR += nwcc
SUBDIR += nx
SUBDIR += objc
SUBDIR += ocaml
SUBDIR += ocaml-autoconf

42
lang/nx/Makefile Normal file
View File

@ -0,0 +1,42 @@
# Created by: gahr@FreeBSD.org
# $FreeBSD$
PORTNAME= nx
DISTVERSION= 2.0b5
CATEGORIES= lang
MASTER_SITES= SF/next-scripting/${DISTVERSION}/
DISTNAME= nsf${DISTVERSION}
MAINTAINER= tcltk@FreeBSD.org
COMMENT= Highly flexible, Tcl-based, object-oriented scripting language
OPTIONS_DEFINE= DOCS
LICENSE= MIT
CONFLICTS= xotcl-1.*
USES+= tcl:85+
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--exec-prefix=${PREFIX} \
--with-tcl=${TCL_LIBDIR} \
--with-tclinclude=${TCL_INCLUDEDIR}
PLIST_SUB+= PKGNAME=${DISTNAME}
PORTDOCS= *
.include <bsd.port.options.mk>
post-patch:
${CP} ${FILESDIR}/genStubs.tcl ${WRKSRC}
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
.endif
regression-test: build
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} test
.include <bsd.port.mk>

2
lang/nx/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (nsf2.0b5.tar.gz) = 089dae6a7f0fb7514292bedaf691e4ecce7d344241d0c8a45a9f0408ac1e45fd
SIZE (nsf2.0b5.tar.gz) = 2365035

1178
lang/nx/files/genStubs.tcl Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,20 @@
--- Makefile.in.orig 2013-06-07 12:07:24.000000000 +0200
+++ Makefile.in 2013-11-11 12:17:28.000000000 +0100
@@ -665,7 +665,7 @@
#
genstubs:
- $(TCLSH) $(TCL_SRC_DIR)/tools/genStubs.tcl $(src_generic_dir) \
+ $(TCLSH) genStubs.tcl $(src_generic_dir) \
$(src_generic_dir)/nsf.decls $(src_generic_dir)/nsfInt.decls
#
@@ -752,7 +752,7 @@
else \
echo " $(RANLIB) $(DESTDIR)$(pkglibdir)/$$p"; \
$(RANLIB) $(DESTDIR)$(pkglibdir)/$$p; \
- ln -s $(DESTDIR)$(pkglibdir)/$$p $(DESTDIR)$(libdir)/$$p; \
+ ln -s $(pkglibdir)/$$p $(DESTDIR)$(libdir)/$$p; \
fi; \
ext=`echo $$p|sed -e "s/.*\.//"`; \
if test "x$$ext" = "xdll"; then \

9
lang/nx/pkg-descr Normal file
View File

@ -0,0 +1,9 @@
NX is a highly flexible, Tcl-based, object-oriented scripting language. It is a
descendant of XOTcl and was designed based on 10 years of experience with XOTcl
in projects containing several hundred thousand lines of code. While XOTcl was
the first language designed to provide language support for design patterns and
to provide a highly dynamic programming environment, the Next Scripting
Framework (NSF) and NX add to these features support for language-oriented
programming.
WWW: https://next-scripting.org

72
lang/nx/pkg-plist Normal file
View File

@ -0,0 +1,72 @@
bin/nxsh
bin/nxwish
bin/xotclsh
bin/xowish
include/nsf.h
include/nsfDecls.h
include/nsfInt.h
include/nsfIntDecls.h
lib/libnsf.so.1
lib/%%PKGNAME%%/COPYRIGHT
lib/%%PKGNAME%%/lib/make.tcl
lib/%%PKGNAME%%/lib/nx-callback.tcl
lib/%%PKGNAME%%/lib/nx-pp.tcl
lib/%%PKGNAME%%/lib/nx-test.tcl
lib/%%PKGNAME%%/lib/nx-traits.tcl
lib/%%PKGNAME%%/lib/nx-zip.tcl
lib/%%PKGNAME%%/lib/nxdoc-core.tcl
lib/%%PKGNAME%%/lib/nxdoc-dc.tcl
lib/%%PKGNAME%%/lib/nxdoc-html.tcl
lib/%%PKGNAME%%/lib/nxdoc-xodoc.tcl
lib/%%PKGNAME%%/lib/nxdoc-xowiki.tcl
lib/%%PKGNAME%%/lib/pkgIndex.tcl
lib/%%PKGNAME%%/libnsf.so.1
lib/%%PKGNAME%%/libnsfstub.a
lib/%%PKGNAME%%/nx/class-method.tcl
lib/%%PKGNAME%%/nx/nx.tcl
lib/%%PKGNAME%%/nx/nxdocIndex.tcl
lib/%%PKGNAME%%/nx/pkgIndex.tcl
lib/%%PKGNAME%%/nx/plain-object-method.tcl
lib/%%PKGNAME%%/pkgIndex.tcl
lib/%%PKGNAME%%/serialize/pkgIndex.tcl
lib/%%PKGNAME%%/serialize/serializer.tcl
lib/%%PKGNAME%%/xotcl/COPYRIGHT
lib/%%PKGNAME%%/xotcl/comm/Access.xotcl
lib/%%PKGNAME%%/xotcl/comm/Connection.xotcl
lib/%%PKGNAME%%/xotcl/comm/Dav.xotcl
lib/%%PKGNAME%%/xotcl/comm/Ftp.xotcl
lib/%%PKGNAME%%/xotcl/comm/Httpd.xotcl
lib/%%PKGNAME%%/xotcl/comm/Imap.xotcl
lib/%%PKGNAME%%/xotcl/comm/Ldap.xotcl
lib/%%PKGNAME%%/xotcl/comm/Mime.xotcl
lib/%%PKGNAME%%/xotcl/comm/PCache.xotcl
lib/%%PKGNAME%%/xotcl/comm/pkgIndex.tcl
lib/%%PKGNAME%%/xotcl/lib/Script.xotcl
lib/%%PKGNAME%%/xotcl/lib/htmllib.xotcl
lib/%%PKGNAME%%/xotcl/lib/makeDoc.xotcl
lib/%%PKGNAME%%/xotcl/lib/metadataAnalyzer.xotcl
lib/%%PKGNAME%%/xotcl/lib/mixinStrategy.xotcl
lib/%%PKGNAME%%/xotcl/lib/package.xotcl
lib/%%PKGNAME%%/xotcl/lib/pkgIndex.tcl
lib/%%PKGNAME%%/xotcl/lib/staticMetadata.xotcl
lib/%%PKGNAME%%/xotcl/lib/trace.xotcl
lib/%%PKGNAME%%/xotcl/lib/upvarcompat.xotcl
lib/%%PKGNAME%%/xotcl/lib/wafecompat.tcl
lib/%%PKGNAME%%/xotcl/lib/xodoc.xotcl
lib/%%PKGNAME%%/xotcl/pkgIndex.tcl
lib/%%PKGNAME%%/xotcl/serialize/RecoveryPoint.xotcl
lib/%%PKGNAME%%/xotcl/serialize/ScriptCreator.xotcl
lib/%%PKGNAME%%/xotcl/serialize/Serializer.xotcl
lib/%%PKGNAME%%/xotcl/serialize/pkgIndex.tcl
lib/%%PKGNAME%%/xotcl/xotcl2.tcl
lib/nsfConfig.sh
man/man1/xotclsh.1.gz
man/man1/xowish.1.gz
@dirrm lib/%%PKGNAME%%/xotcl/serialize
@dirrm lib/%%PKGNAME%%/xotcl/lib
@dirrm lib/%%PKGNAME%%/xotcl/comm
@dirrm lib/%%PKGNAME%%/xotcl
@dirrm lib/%%PKGNAME%%/serialize
@dirrm lib/%%PKGNAME%%/nx
@dirrm lib/%%PKGNAME%%/lib
@dirrm lib/%%PKGNAME%%