aboutsummaryrefslogtreecommitdiff
path: root/lang/see
diff options
context:
space:
mode:
Diffstat (limited to 'lang/see')
-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
4 files changed, 92 insertions, 0 deletions
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