summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-04-15 17:08:03 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-04-15 17:08:03 +0000
commitdeb865467b52597ff65909bbb714ef9832210a47 (patch)
treec9217742fe9ae9309ce4ffd066d0adcd7ff37653 /lang
parentAdd parrot 0.1.2, parrot - virtual machine for dynamic languages. (diff)
Library that provides an ECMAScript (JavaScript) run-time environment.
PR: ports/72055 Submitted by: Simun Mikecin <sime@logos.hr> Approved by: adamw (mentor)
Notes
Notes: svn path=/head/; revision=133435
Diffstat (limited to 'lang')
-rw-r--r--lang/Makefile1
-rw-r--r--lang/see/Makefile55
-rw-r--r--lang/see/distinfo2
-rw-r--r--lang/see/pkg-descr6
-rw-r--r--lang/see/pkg-plist29
5 files changed, 93 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index a1b7f1eeed5b..5a6953fdd5bb 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -246,6 +246,7 @@
SUBDIR += scriba
SUBDIR += scsh
SUBDIR += sdcc
+ SUBDIR += see
SUBDIR += siod
SUBDIR += sisc
SUBDIR += slib
diff --git a/lang/see/Makefile b/lang/see/Makefile
new file mode 100644
index 000000000000..49776569702e
--- /dev/null
+++ b/lang/see/Makefile
@@ -0,0 +1,55 @@
+# New ports collection makefile for: see
+# Date created: 22 September 2004
+# Whom: sime@logos.hr
+#
+# $FreeBSD$
+#
+
+PORTNAME= see
+PORTVERSION= 1.2
+CATEGORIES= lang
+MASTER_SITES= http://www.netsw.org/softeng/lang/js/ \
+ http://www.adaptive-enterprises.com.au/~d/software/see/
+
+MAINTAINER= sime@logos.hr
+COMMENT= Simple ECMAScript Engine (SEE)
+
+OPTIONS= GC "Use Boehm-Weiser garbage collection package" on \
+ OPTIMIZED_CFLAGS "Enable some additional optimizations" off
+
+INSTALLS_SHLIB= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_PERL5_BUILD= yes
+USE_REINPLACE= yes
+
+CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
+ CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}"
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_OPTIMIZED_CFLAGS)
+CFLAGS+= -O2 -fomit-frame-pointer
+.endif
+
+.if defined(WITH_GC)
+LIB_DEPENDS+= gc:${PORTSDIR}/devel/boehm-gc
+.else
+CONFIGURE_ARGS+= --without-boehm-gc
+PTHREAD_CFLAGS=
+PTHREAD_LIBS=
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|PACKAGE_BUGREPORT='dleonard@users|PACKAGE_BUGREPORT='dleonard\\\@users|" \
+ ${WRKSRC}/configure
+
+.if !defined(NOPORTDOCS)
+post-install:
+ ${MKDIR} ${DOCSDIR}
+.for f in doc/USAGE.html AUTHORS NEWS README TODO
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/lang/see/distinfo b/lang/see/distinfo
new file mode 100644
index 000000000000..73b799772e6a
--- /dev/null
+++ b/lang/see/distinfo
@@ -0,0 +1,2 @@
+MD5 (see-1.2.tar.gz) = 36795db813e5fcb2800142a48286624e
+SIZE (see-1.2.tar.gz) = 537824
diff --git a/lang/see/pkg-descr b/lang/see/pkg-descr
new file mode 100644
index 000000000000..a83ad663fc25
--- /dev/null
+++ b/lang/see/pkg-descr
@@ -0,0 +1,6 @@
+Library that provides an ECMAScript (JavaScript) run-time environment.
+
+WWW: http://www.adaptive-enterprises.com.au/~d/software/see/
+
+- Simun Mikecin
+sime@logos.hr
diff --git a/lang/see/pkg-plist b/lang/see/pkg-plist
new file mode 100644
index 000000000000..765a3ee6183d
--- /dev/null
+++ b/lang/see/pkg-plist
@@ -0,0 +1,29 @@
+bin/libsee-config
+bin/see-shell
+include/see/cfunction.h
+include/see/debug.h
+include/see/error.h
+include/see/eval.h
+include/see/input.h
+include/see/intern.h
+include/see/interpreter.h
+include/see/mem.h
+include/see/native.h
+include/see/no.h
+include/see/object.h
+include/see/see.h
+include/see/string.h
+include/see/try.h
+include/see/type.h
+include/see/value.h
+lib/libsee.a
+lib/libsee.la
+lib/libsee.so
+lib/libsee.so.0
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/USAGE.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm include/see