aboutsummaryrefslogtreecommitdiff
path: root/lang/osb-jscore
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2004-11-30 21:49:48 +0000
committerMichael Johnson <ahze@FreeBSD.org>2004-11-30 21:49:48 +0000
commitf8eed8659107bb01660d6f6c98221a50a8a4c333 (patch)
treea8e2be1dc1ff92ea4d1aacc5f2902631117f8fee /lang/osb-jscore
parent3c8f8292323e25b2801f310c51923d0ba22fda38 (diff)
downloadports-f8eed8659107bb01660d6f6c98221a50a8a4c333.tar.gz
ports-f8eed8659107bb01660d6f6c98221a50a8a4c333.zip
Notes
Diffstat (limited to 'lang/osb-jscore')
-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
5 files changed, 100 insertions, 0 deletions
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