1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Update to 3.1

Support stage
Convert to USES=libtool
Remove the -devel version which is outdated an no more needed

PR:		187954
Submitted by:	numisemis@yahoo.com (maintainer)
This commit is contained in:
Baptiste Daroussin 2014-07-07 09:41:23 +00:00
parent bd9297188f
commit e55014ab42
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361044
16 changed files with 25 additions and 301 deletions

1
MOVED
View File

@ -6240,3 +6240,4 @@ sysutil/psgconf||2014-07-06|Removed: abandonware
print/texinfo-lite|print/indexinfo|2014-07-06|Replaced by indexinfo to handle info page index
audio/linnya||2014-07-07|Deprecated upstream
databases/slony1|databases/slony1v2|2014-07-07|Unsupported: consider using slony1 v2 instead
lang/see-devel|lang/see|2014-07-07|lang/see is up to date no need for see-devel

View File

@ -296,7 +296,6 @@
SUBDIR += sdcc
SUBDIR += sdcc-devel
SUBDIR += see
SUBDIR += see-devel
SUBDIR += seed7
SUBDIR += siod
SUBDIR += sisc

View File

@ -1,67 +0,0 @@
# Created by: Simun Mikecin <numisemis@yahoo.com>
# $FreeBSD$
PORTNAME= see
PORTVERSION= 3.0.1376
PORTREVISION= 2
CATEGORIES= lang devel
MASTER_SITES= http://www.evolane.com/download/mirror/etcl/ \
http://www.evolane.fr/download/mirror/etcl/
PKGNAMESUFFIX= -devel
MAINTAINER= numisemis@yahoo.com
COMMENT= Simple ECMAScript Engine (SEE)
OPTIONS_DEFINE= GC OPTIMIZED_CFLAGS SEE_DEBUG THREADS DOCS
OPTIONS_DEFAULT= GC THREADS
GC_DESC= Use Boehm-Weiser garbage collection package
SEE_DEBUG_DESC= Internal SEE library debugging
CONFLICTS= see-[0-9]*
USES= pathfix perl5
USE_LDCONFIG= yes
USE_PERL5= build
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMULTIPLE_THREADS}
CFLAGS+= -DMULTIPLE_THREADS
.endif
.if ! ${PORT_OPTIONS:MSEE_DEBUG}
CFLAGS+= -DNDEBUG
.endif
.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
CFLAGS+= -O3 -fomit-frame-pointer
.endif
.if ${PORT_OPTIONS:MGC}
LIB_DEPENDS+= gc:${PORTSDIR}/devel/boehm-gc
.else
CONFIGURE_ARGS+= --without-boehm-gc
.if ! ${PORT_OPTIONS:MTHREADS}
PTHREAD_CFLAGS=
PTHREAD_LIBS=
.endif
.endif
post-patch:
@${REINPLACE_CMD} -e "s|PACKAGE_BUGREPORT='leonard@users|PACKAGE_BUGREPORT='leonard\\\@users|" \
${WRKSRC}/configure
.if ${PORT_OPTIONS:MDOCS}
post-install:
${MKDIR} ${DOCSDIR}
.for f in doc/USAGE.html AUTHORS NEWS README TODO COPYING
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (see-3.0.1376.tar.gz) = e06dc6182adc2d4abb7b23b92472c02b8a1016d58038533770de4c26988d51f7
SIZE (see-3.0.1376.tar.gz) = 1066852

View File

@ -1,24 +0,0 @@
--- libsee/dtoa.c.orig 2005-12-24 04:35:38.000000000 +0100
+++ libsee/dtoa.c 2008-04-07 11:30:11.529829910 +0200
@@ -168,6 +168,11 @@
* the result overflows to +-Infinity or underflows to 0.
*/
+#ifdef MULTIPLE_THREADS
+#include <pthread.h>
+static pthread_mutex_t mylock[2] = { PTHREAD_MUTEX_INITIALIZER, PTHREAD_MUTEX_INITIALIZER };
+#endif
+
#ifndef Long
#define Long long
#endif
@@ -470,6 +475,9 @@
#ifndef MULTIPLE_THREADS
#define ACQUIRE_DTOA_LOCK(n) /*nothing*/
#define FREE_DTOA_LOCK(n) /*nothing*/
+#else
+#define ACQUIRE_DTOA_LOCK(n) pthread_mutex_lock(&mylock[n]);
+#define FREE_DTOA_LOCK(n) pthread_mutex_unlock(&mylock[n]);
#endif
#define Kmax 15

View File

@ -1,18 +0,0 @@
--- libsee/parse.c.orig Sun Feb 10 05:59:48 2008
+++ libsee/parse.c Thu Aug 21 13:07:30 2008
@@ -27,7 +27,7 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
-/* $Id: parse.c 1371 2008-02-10 04:59:09Z d $ */
+/* $Id: parse.c 1381 2008-03-05 07:29:31Z d $ */
/*
* Combined parser and evaluator.
@@ -12317,6 +12317,7 @@
&SourceElements_nodeclass);
ss->statements = s;
ss->functions = NULL;
+ ss->vars = NULL;
return (struct node *)ss;
}

View File

@ -1,40 +0,0 @@
--- libsee/value.c.orig Sat Feb 9 13:54:59 2008
+++ libsee/value.c Thu Aug 21 13:07:30 2008
@@ -27,7 +27,7 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
-/* $Id: value.c 1370 2008-02-09 12:54:24Z d $ */
+/* $Id: value.c 1383 2008-07-03 13:56:11Z d $ */
#if HAVE_CONFIG_H
# include <config.h>
@@ -289,14 +289,17 @@
} else if (SEE_NUMBER_ISPINF(val)) {
SEE_SET_STRING(res, STR(Infinity));
} else {
- char *a, *endstr;
+ char *a0, *a, *endstr;
struct SEE_string *s;
int sign, k, n, i, exponent;
int len;
- a = SEE_dtoa(val->u.number, DTOA_MODE_SHORT_SW, 31,
+ a0 = SEE_dtoa(val->u.number, DTOA_MODE_SHORT_SW, 31,
&n, &sign, &endstr);
- k = (int)(endstr - a);
+ k = (int)(endstr - a0);
+ a = SEE_STRING_ALLOCA(interp, char, k);
+ memcpy(a, a0, k);
+ SEE_freedtoa(a0);
/* Numbers converted to strings are generally
* small and short-lived. */
@@ -359,7 +362,6 @@
}
SEE_ASSERT(interp, len == s->length);
SEE_SET_STRING(res, s);
- SEE_freedtoa(a);
}
break;
case SEE_STRING:

View File

@ -1,3 +0,0 @@
Library that provides an ECMAScript (JavaScript) run-time environment.
WWW: http://www.adaptive-enterprises.com.au/~d/software/see/

View File

@ -1,40 +0,0 @@
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
include/see/input.h
include/see/intern.h
include/see/interpreter.h
include/see/mem.h
include/see/module.h
include/see/native.h
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
lib/libsee.so.2
lib/see/libFile.a
lib/see/libFile.la
lib/see/libFile.so
lib/see/libFile.so.0
libdata/pkgconfig/see.pc
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/USAGE.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm include/see
@dirrm lib/see

View File

@ -2,68 +2,51 @@
# $FreeBSD$
PORTNAME= see
PORTVERSION= 2.0.1131
PORTREVISION= 1
PORTVERSION= 3.1.1424
CATEGORIES= lang devel
MASTER_SITES= http://www.powerband.net.au/~david.leonard/ \
http://freshmeat.net/redir/see/45974/url_tgz/
MASTER_SITES= http://download.openpkg.org/components/cache/see/ \
http://lil.fr.distfiles.macports.org/see/ \
ftp://ftp7.freebsd.org/sites/distfiles.macports.org/see/ \
ftp://ftp.mirrorservice.org/sites/distfiles.macports.org/see/ \
ftp://kuiper.mirrorservice.org/sites/distfiles.macports.org/see/ \
ftp://copernicus.mirrorservice.org/sites/distfiles.macports.org/see/ \
ftp://ftp2.uk.i-scream.org/sites/distfiles.macports.org/see/ \
ftp://mirror.csclub.uwaterloo.ca/MacPorts/mpdistfiles/see/
MAINTAINER= numisemis@yahoo.com
COMMENT= Simple ECMAScript Engine (SEE)
OPTIONS_DEFINE= GC OPTIMIZED_CFLAGS SEE_DEBUG THREADS DOCS
OPTIONS_DEFAULT= GC THREADS
OPTIONS_DEFINE= GC SEE_DEBUG DOCS
OPTIONS_DEFAULT= GC
GC_DESC= Use Boehm-Weiser garbage collection package
SEE_DEBUG_DESC= Internal SEE library debugging
CONFLICTS= see-devel-[0-9]*
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
USE_LDCONFIG= yes
USES= perl5
USES= libtool pathfix perl5
USE_PERL5= build
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
CFLAGS+= -O3 -fomit-frame-pointer
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMULTIPLE_THREADS}
CFLAGS+= -DMULTIPLE_THREADS
.endif
.if ! ${PORT_OPTIONS:MSEE_DEBUG}
CFLAGS+= -DNDEBUG
.endif
.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
CFLAGS+= -O3 -fomit-frame-pointer
.endif
.if ${PORT_OPTIONS:MGC}
LIB_DEPENDS+= gc:${PORTSDIR}/devel/boehm-gc
.else
CONFIGURE_ARGS+= --without-boehm-gc
.if ! ${PORT_OPTIONS:MTHREADS}
PTHREAD_CFLAGS=
PTHREAD_LIBS=
.endif
.endif
SEE_DEBUG_CFLAGS_OFF= -DNDEBUG
GC_LIB_DEPENDS= libgc.so:${PORTSDIR}/devel/boehm-gc
GC_CONFIGURE_WITH= boehm-gc
post-patch:
@${REINPLACE_CMD} -e "s|PACKAGE_BUGREPORT='leonard@users|PACKAGE_BUGREPORT='leonard\\\@users|" \
${WRKSRC}/configure
.if ${PORT_OPTIONS:MDOCS}
post-install:
${MKDIR} ${DOCSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in doc/USAGE.html AUTHORS NEWS README TODO COPYING
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (see-2.0.1131.tar.gz) = 0d398fd5f7a2e86ddbe361a80d9658bf0f0f6c11dad186953c3c064c56d12d93
SIZE (see-2.0.1131.tar.gz) = 948647
SHA256 (see-3.1.1424.tar.gz) = 04c58de4f56894f05ebb3b7c61b35e4090cd15710d42b3918f867eea50ab8f5c
SIZE (see-3.1.1424.tar.gz) = 1015347

View File

@ -1,24 +0,0 @@
--- libsee/dtoa.c.orig 2005-12-24 04:35:38.000000000 +0100
+++ libsee/dtoa.c 2008-04-07 11:30:11.529829910 +0200
@@ -168,6 +168,11 @@
* the result overflows to +-Infinity or underflows to 0.
*/
+#ifdef MULTIPLE_THREADS
+#include <pthread.h>
+static pthread_mutex_t mylock[2] = { PTHREAD_MUTEX_INITIALIZER, PTHREAD_MUTEX_INITIALIZER };
+#endif
+
#ifndef Long
#define Long long
#endif
@@ -470,6 +475,9 @@
#ifndef MULTIPLE_THREADS
#define ACQUIRE_DTOA_LOCK(n) /*nothing*/
#define FREE_DTOA_LOCK(n) /*nothing*/
+#else
+#define ACQUIRE_DTOA_LOCK(n) pthread_mutex_lock(&mylock[n]);
+#define FREE_DTOA_LOCK(n) pthread_mutex_unlock(&mylock[n]);
#endif
#define Kmax 15

View File

@ -1,20 +0,0 @@
--- libsee/input_utf8.c.orig Wed Jan 18 12:40:19 2006
+++ libsee/input_utf8.c Tue Dec 12 08:48:44 2006
@@ -63,7 +63,7 @@
struct input_utf8 {
struct SEE_input inp;
- const char * s;
+ const unsigned char * s;
};
static SEE_unicode_t
@@ -141,7 +141,7 @@
inpu->inp.inputclass = &input_utf8_class;
inpu->inp.filename = NULL;
inpu->inp.first_lineno = 1;
- inpu->s = s;
+ inpu->s = (const unsigned char *)s;
SEE_INPUT_NEXT((struct SEE_input *)inpu); /* prime */
return (struct SEE_input *)inpu;
}

View File

@ -1,11 +0,0 @@
--- libsee/obj_Date.c.orig Sun May 7 06:43:55 2006
+++ libsee/obj_Date.c Tue Sep 5 09:11:09 2006
@@ -335,7 +335,7 @@
struct SEE_interpreter *interp;
SEE_number_t t;
{
- return t + LocalTZA(interp) + DaylightSavingTA(interp, t);
+ return t + LocalTZA(interp) - DaylightSavingTA(interp, t);
}
/*

View File

@ -1,11 +0,0 @@
--- libsee/system.c.orig 2009-12-17 14:05:43.000000000 -0800
+++ libsee/system.c 2009-12-17 14:07:20.000000000 -0800
@@ -70,6 +70,8 @@
#include "dprint.h"
#include "platform.h"
+typedef void * GC_PTR;
+
/* Prototypes */
static unsigned int simple_random_seed(void);
#if HAVE_GC_MALLOC

View File

@ -21,13 +21,14 @@ include/see/type.h
include/see/value.h
include/see/version.h
lib/libsee.a
lib/libsee.la
lib/libsee.so
lib/libsee.so.1
lib/libsee.so.1.1.1
lib/see/libFile.a
lib/see/libFile.la
lib/see/libFile.so
lib/see/libFile.so.0
lib/see/libFile.so.0.0.0
libdata/pkgconfig/see.pc
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/NEWS