aboutsummaryrefslogtreecommitdiff
path: root/lang/see
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-02-01 11:46:17 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-02-01 11:46:17 +0000
commitb8bd6b9c1258457c7fe8541ad2d5bb8318b714cb (patch)
tree85bb62af4cc704fed7c6add00f6bf0f322865158 /lang/see
parentc0ccd6c6faa23c334bd30cd6150064139a599a61 (diff)
downloadports-b8bd6b9c1258457c7fe8541ad2d5bb8318b714cb.tar.gz
ports-b8bd6b9c1258457c7fe8541ad2d5bb8318b714cb.zip
Notes
Diffstat (limited to 'lang/see')
-rw-r--r--lang/see/Makefile22
-rw-r--r--lang/see/distinfo6
-rw-r--r--lang/see/files/patch-include_see_mem.h14
-rw-r--r--lang/see/files/patch-libsee_dtoa__config.h6
-rw-r--r--lang/see/files/patch-libsee_obj__Date.c26
-rw-r--r--lang/see/pkg-descr2
-rw-r--r--lang/see/pkg-plist3
7 files changed, 18 insertions, 61 deletions
diff --git a/lang/see/Makefile b/lang/see/Makefile
index fd6a87568950..ada5b1c37519 100644
--- a/lang/see/Makefile
+++ b/lang/see/Makefile
@@ -1,21 +1,16 @@
# New ports collection makefile for: see
# Date created: 22 September 2004
-# Whom: sime@logos.hr
+# Whom: numisemis@yahoo.com
#
# $FreeBSD$
#
PORTNAME= see
-PORTVERSION= 1.2
-PORTREVISION= 2
-CATEGORIES= lang
-MASTER_SITES= http://www.netsw.org/softeng/lang/js/ \
- ftp://ftp.osuosl.org/pub/FreeBSD/distfiles/ \
- http://mirror.arcticnetwork.ca/pub/FreeBSD/distfiles/ \
- http://ftp3.ie.freebsd.org/pub/FreeBSD/distfiles/ \
- http://www.adaptive-enterprises.com.au/~d/software/see/
-
-MAINTAINER= sime@logos.hr
+PORTVERSION= 1.3.1
+CATEGORIES= lang devel
+MASTER_SITES= http://www.adaptive-enterprises.com.au/~d/software/see/
+
+MAINTAINER= numisemis@yahoo.com
COMMENT= Simple ECMAScript Engine (SEE)
CONFLICTS= see-devel-[0-9]*
@@ -27,7 +22,6 @@ 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}"
@@ -35,7 +29,7 @@ CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
.include <bsd.port.pre.mk>
.if defined(WITH_OPTIMIZED_CFLAGS)
-CFLAGS+= -O2 -fomit-frame-pointer
+CFLAGS+= -O3 -fomit-frame-pointer
.endif
.if defined(WITH_GC)
@@ -47,7 +41,7 @@ PTHREAD_LIBS=
.endif
post-patch:
- @${REINPLACE_CMD} -e "s|PACKAGE_BUGREPORT='dleonard@users|PACKAGE_BUGREPORT='dleonard\\\@users|" \
+ @${REINPLACE_CMD} -e "s|PACKAGE_BUGREPORT='leonard@users|PACKAGE_BUGREPORT='leonard\\\@users|" \
${WRKSRC}/configure
.if !defined(NOPORTDOCS)
diff --git a/lang/see/distinfo b/lang/see/distinfo
index a1d726ce39f2..d4a01d4b3e4b 100644
--- a/lang/see/distinfo
+++ b/lang/see/distinfo
@@ -1,3 +1,3 @@
-MD5 (see-1.2.tar.gz) = 36795db813e5fcb2800142a48286624e
-SHA256 (see-1.2.tar.gz) = 3a356bd113431225f6f7bca4543fbdbce151c08fdc5bc03b2ea79c1386b1776f
-SIZE (see-1.2.tar.gz) = 537824
+MD5 (see-1.3.1.tar.gz) = 472e88b13bb090b29d1bb553adbff454
+SHA256 (see-1.3.1.tar.gz) = 50ed56794bea742e9106914a0c0d1d79eaea15090f02542006c34f3c23d8b066
+SIZE (see-1.3.1.tar.gz) = 523226
diff --git a/lang/see/files/patch-include_see_mem.h b/lang/see/files/patch-include_see_mem.h
deleted file mode 100644
index d4c397cf8b7a..000000000000
--- a/lang/see/files/patch-include_see_mem.h
+++ /dev/null
@@ -1,14 +0,0 @@
---- include/see/mem.h.orig Mon Apr 18 13:01:27 2005
-+++ include/see/mem.h Mon Apr 18 13:01:45 2005
-@@ -15,8 +15,8 @@
- #define SEE_NEW(i, t) (t *)SEE_malloc(i, sizeof (t))
- #define SEE_NEW_ARRAY(i, t, n) (t *)SEE_malloc(i, (n) * sizeof (t))
-
--void *(*SEE_mem_malloc_hook)(struct SEE_interpreter *i, unsigned int sz);
--void (*SEE_mem_free_hook)(struct SEE_interpreter *i, void *ptr);
--void (*SEE_mem_exhausted_hook)(struct SEE_interpreter *i) SEE_dead;
-+extern void *(*SEE_mem_malloc_hook)(struct SEE_interpreter *i, unsigned int sz);
-+extern void (*SEE_mem_free_hook)(struct SEE_interpreter *i, void *ptr);
-+extern void (*SEE_mem_exhausted_hook)(struct SEE_interpreter *i) SEE_dead;
-
- #endif /* _SEE_h_mem_ */
diff --git a/lang/see/files/patch-libsee_dtoa__config.h b/lang/see/files/patch-libsee_dtoa__config.h
index c6dd35c905bc..517f9c611103 100644
--- a/lang/see/files/patch-libsee_dtoa__config.h
+++ b/lang/see/files/patch-libsee_dtoa__config.h
@@ -1,10 +1,10 @@
---- libsee/dtoa_config.h.orig Mon Apr 25 18:19:54 2005
-+++ libsee/dtoa_config.h Mon Apr 25 18:23:28 2005
+--- libsee/dtoa_config.h.orig Wed Jan 18 13:51:50 2006
++++ libsee/dtoa_config.h Tue Jan 31 16:52:54 2006
@@ -12,7 +12,7 @@
#include <see/type.h>
--#if defined(__i386__)
+-#if defined(__i386__) || defined(__amd64__)
+#if defined(__i386__) || defined(__amd64__) || defined(__ia64__) || defined(__alpha__)
# define IEEE_8087
#endif
diff --git a/lang/see/files/patch-libsee_obj__Date.c b/lang/see/files/patch-libsee_obj__Date.c
deleted file mode 100644
index 6fab5842d2ea..000000000000
--- a/lang/see/files/patch-libsee_obj__Date.c
+++ /dev/null
@@ -1,26 +0,0 @@
---- libsee/obj_Date.c.orig 2004-10-17 15:50:50.000000000 +0200
-+++ libsee/obj_Date.c 2005-04-21 14:51:24.086576359 +0200
-@@ -113,13 +113,16 @@
- static SEE_number_t DateFromTime(SEE_number_t); /* 15.9.1.5 */
- #define WeekDay(t) modulo(Day(t)+4,7) /* 15.9.1.6 */
-
--/*
-- * XXX TODO: timezone conversion functions. Currently we assume local == UTC
-- */
--#define LocalTZA 0 /* 15.9.1.7 */
--#define DaylightSavingTA(t) 0 /* 15.9.1.8 */
--#define LocalTime(t) ((t) + LocalTZA + DaylightSavingTA(t)) /* 15.9.1.9 */
--#define UTC(t) ((t) - LocalTZA - DaylightSavingTA(t - LocalTZA))
-+#define UTC(t) (t)
-+SEE_number_t LocalTime(SEE_number_t t) {
-+ SEE_number_t ret;
-+ const time_t tt=time(NULL);
-+ ret=timegm(localtime(&tt));
-+ ret-=tt;
-+ ret*=1000;
-+ ret+=t;
-+ return ret;
-+}
-
- /* 15.9.1.10 */
- #define HourFromTime(t) modulo(floor((t) / msPerHour), HoursPerDay)
diff --git a/lang/see/pkg-descr b/lang/see/pkg-descr
index a83ad663fc25..5d0e5e37e335 100644
--- a/lang/see/pkg-descr
+++ b/lang/see/pkg-descr
@@ -3,4 +3,4 @@ Library that provides an ECMAScript (JavaScript) run-time environment.
WWW: http://www.adaptive-enterprises.com.au/~d/software/see/
- Simun Mikecin
-sime@logos.hr
+numisemis@yahoo.com
diff --git a/lang/see/pkg-plist b/lang/see/pkg-plist
index 765a3ee6183d..3207d7a9688d 100644
--- a/lang/see/pkg-plist
+++ b/lang/see/pkg-plist
@@ -1,6 +1,7 @@
bin/libsee-config
bin/see-shell
include/see/cfunction.h
+include/see/context.h
include/see/debug.h
include/see/error.h
include/see/eval.h
@@ -13,9 +14,11 @@ include/see/no.h
include/see/object.h
include/see/see.h
include/see/string.h
+include/see/system.h
include/see/try.h
include/see/type.h
include/see/value.h
+include/see/version.h
lib/libsee.a
lib/libsee.la
lib/libsee.so