aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2004-12-01 05:49:48 +0800
committerahze <ahze@FreeBSD.org>2004-12-01 05:49:48 +0800
commit99b15d4247ea4e1c5b03cdbc39d7ae0722c7b137 (patch)
tree5a6e791364d4a4d1b4d52c078d9e14a2ee874d22 /lang
parentf0de99eda60a59eb0770609bf03ca4544539a6e0 (diff)
downloadfreebsd-ports-gnome-99b15d4247ea4e1c5b03cdbc39d7ae0722c7b137.tar.gz
freebsd-ports-gnome-99b15d4247ea4e1c5b03cdbc39d7ae0722c7b137.tar.zst
freebsd-ports-gnome-99b15d4247ea4e1c5b03cdbc39d7ae0722c7b137.zip
Add osb-jscore
JavaScriptCore is part of Gtk-Wecore. JavaScriptCore is javascript interpreter that OSB uses. It is based on Apple's WebCore JavaScriptCore code, which is in turn based on KDE kjs code.
Diffstat (limited to 'lang')
-rw-r--r--lang/Makefile1
-rw-r--r--lang/osb-jscore/Makefile35
-rw-r--r--lang/osb-jscore/distinfo2
-rw-r--r--lang/osb-jscore/files/patch-lookup.h10
-rw-r--r--lang/osb-jscore/pkg-descr7
-rw-r--r--lang/osb-jscore/pkg-plist46
6 files changed, 101 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index da89275b0479..30ecc9c6439d 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -156,6 +156,7 @@
SUBDIR += onyx
SUBDIR += oo2c
SUBDIR += open-cobol
+ SUBDIR += osb-jscore
SUBDIR += otcl
SUBDIR += p2c
SUBDIR += p5-Data-JavaScript
diff --git a/lang/osb-jscore/Makefile b/lang/osb-jscore/Makefile
new file mode 100644
index 000000000000..d2136f317849
--- /dev/null
+++ b/lang/osb-jscore/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: osb-jscore
+# Date created: 2004-11-29
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= osb-jscore
+PORTVERSION= 0.5.0
+CATEGORIES= lang www java
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= gtk-webcore
+
+MAINTAINER= ahze@FreeBSD.org
+COMMENT= Javascript interpreter port from Apple's KHTML and part of Gtk-Webcore
+
+USE_LIBTOOL_VER=15
+USE_REINPLACE= yes
+USE_GNOME= gtk20 gnomehack
+INSTALLS_SHLIB= yes
+CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \
+ LDFLAGS="${PTHREAD_LIBS}"
+CONFIGURE_ARGS= --with-pic
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+.if ${OSVERSION} < 500000
+ @${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' \
+ ${WRKSRC}/kjs/ustring.h
+.endif
+ @${REINPLACE_CMD} -e 's|-lpthread||; s|-nostdinc++||; \
+ s|-nodefaultlibs||' ${WRKSRC}/configure
+
+.include <bsd.port.post.mk>
diff --git a/lang/osb-jscore/distinfo b/lang/osb-jscore/distinfo
new file mode 100644
index 000000000000..0cce4fa5d793
--- /dev/null
+++ b/lang/osb-jscore/distinfo
@@ -0,0 +1,2 @@
+MD5 (osb-jscore-0.5.0.tar.gz) = 969cda923c419e35a319911b30b1d4b8
+SIZE (osb-jscore-0.5.0.tar.gz) = 436134
diff --git a/lang/osb-jscore/files/patch-lookup.h b/lang/osb-jscore/files/patch-lookup.h
new file mode 100644
index 000000000000..0bf3177a9069
--- /dev/null
+++ b/lang/osb-jscore/files/patch-lookup.h
@@ -0,0 +1,10 @@
+--- kjs/lookup.h.orig 2004/09/23 08:27:54
++++ kjs/lookup.h 2004/11/29 06:28:35
+@@ -25,6 +25,7 @@
+
+ #include "identifier.h"
+ #include "value.h"
++#include "object.h"
+ #include <stdio.h>
+
+ namespace KJS {
diff --git a/lang/osb-jscore/pkg-descr b/lang/osb-jscore/pkg-descr
new file mode 100644
index 000000000000..2c19a7b62e6b
--- /dev/null
+++ b/lang/osb-jscore/pkg-descr
@@ -0,0 +1,7 @@
+JavaScriptCore is part of Gtk-Wecore.
+
+JavaScriptCore is javascript interpreter that OSB uses. It is based on
+Apple's WebCore JavaScriptCore code, which is in turn based on KDE kjs
+code.
+
+WWW: http://gtk-webcore.sf.net/
diff --git a/lang/osb-jscore/pkg-plist b/lang/osb-jscore/pkg-plist
new file mode 100644
index 000000000000..7510efffb98a
--- /dev/null
+++ b/lang/osb-jscore/pkg-plist
@@ -0,0 +1,46 @@
+include/osb/JavaScriptCore/array_instance.h
+include/osb/JavaScriptCore/array_object.h
+include/osb/JavaScriptCore/bool_object.h
+include/osb/JavaScriptCore/collector.h
+include/osb/JavaScriptCore/completion.h
+include/osb/JavaScriptCore/context.h
+include/osb/JavaScriptCore/date_object.h
+include/osb/JavaScriptCore/debugger.h
+include/osb/JavaScriptCore/dtoa.h
+include/osb/JavaScriptCore/error_object.h
+include/osb/JavaScriptCore/function.h
+include/osb/JavaScriptCore/function_object.h
+include/osb/JavaScriptCore/identifier.h
+include/osb/JavaScriptCore/internal.h
+include/osb/JavaScriptCore/interpreter.h
+include/osb/JavaScriptCore/interpreter_map.h
+include/osb/JavaScriptCore/lexer.h
+include/osb/JavaScriptCore/list.h
+include/osb/JavaScriptCore/lookup.h
+include/osb/JavaScriptCore/math_object.h
+include/osb/JavaScriptCore/new
+include/osb/JavaScriptCore/nodes.h
+include/osb/JavaScriptCore/number_object.h
+include/osb/JavaScriptCore/object.h
+include/osb/JavaScriptCore/object_object.h
+include/osb/JavaScriptCore/operations.h
+include/osb/JavaScriptCore/pcre.h
+include/osb/JavaScriptCore/property_map.h
+include/osb/JavaScriptCore/protect.h
+include/osb/JavaScriptCore/protected_values.h
+include/osb/JavaScriptCore/reference.h
+include/osb/JavaScriptCore/reference_list.h
+include/osb/JavaScriptCore/regexp.h
+include/osb/JavaScriptCore/regexp_object.h
+include/osb/JavaScriptCore/scope_chain.h
+include/osb/JavaScriptCore/simple_number.h
+include/osb/JavaScriptCore/string_object.h
+include/osb/JavaScriptCore/types.h
+include/osb/JavaScriptCore/ustring.h
+include/osb/JavaScriptCore/value.h
+lib/libjscore.a
+lib/libjscore.so
+lib/libjscore.so.0
+libdata/pkgconfig/osb-jscore.pc
+@dirrm include/osb/JavaScriptCore
+@dirrm include/osb