Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Sep 2004 10:39:49 +0200 (CEST)
From:      sime@logos.hr
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/72055: New port: lang/see Simple ECMAScript Engine
Message-ID:  <20040924083949.41AA626D053@mail.logos.hr>
Resent-Message-ID: <200409240840.i8O8eL1I083777@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         72055
>Category:       ports
>Synopsis:       New port: lang/see Simple ECMAScript Engine
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 24 08:40:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Simun Mikecin
>Release:        FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
>Environment:
System: FreeBSD proxy.zg.logos.hr 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #2: Wed Jul 28 17:53:38 CEST 2004 root@proxy.zg.logos.hr:/usr/obj/usr/src/sys/PROXY i386


	
>Description:
Library that provides an ECMAScript (JavaScript) run-time environment.
Author didn't package the distfile right, so it's missing init.h. I have put
the missing file in files/ directory.
	
>How-To-Repeat:
	
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	see
#	see/files
#	see/files/init.h
#	see/distinfo
#	see/pkg-descr
#	see/Makefile
#	see/pkg-plist
#
echo c - see
mkdir -p see > /dev/null 2>&1
echo c - see/files
mkdir -p see/files > /dev/null 2>&1
echo x - see/files/init.h
sed 's/^X//' >see/files/init.h << 'END-of-see/files/init.h'
X/* Copyright (c) 2004, David Leonard. All rights reserved. */
X/* $Id: init.h,v 1.1 2004/03/30 08:59:44 d Exp $ */
X
X#ifndef _SEE_h_init
X#define _SEE_h_init
X
X/*
X * Initialisers and allocators used by the interpreter initialisation
X * code (SEE_interpreter_init) are declared here in one place.
X */
X
X/* obj_Array.c */
Xvoid SEE_Array_alloc(struct SEE_interpreter *);
Xvoid SEE_Array_init(struct SEE_interpreter *);
X
X/* obj_Boolean.c */
Xvoid SEE_Boolean_alloc(struct SEE_interpreter *);
Xvoid SEE_Boolean_init(struct SEE_interpreter *);
X
X/* obj_Date.c */
Xvoid SEE_Date_alloc(struct SEE_interpreter *);
Xvoid SEE_Date_init(struct SEE_interpreter *);
X
X/* obj_Error.c */
Xvoid SEE_Error_alloc(struct SEE_interpreter *);
Xvoid SEE_Error_init(struct SEE_interpreter *);  
X
X/* obj_Function.c */  
Xvoid SEE_Function_alloc(struct SEE_interpreter *);
Xvoid SEE_Function_init(struct SEE_interpreter *);
X
X/* obj_Global.c */
Xvoid SEE_Global_alloc(struct SEE_interpreter *);
Xvoid SEE_Global_init(struct SEE_interpreter *);
X
X/* obj_Math.c */
Xvoid SEE_Math_alloc(struct SEE_interpreter *);
Xvoid SEE_Math_init(struct SEE_interpreter *);
X
X/* obj_Number.c */
Xvoid SEE_Number_alloc(struct SEE_interpreter *);
Xvoid SEE_Number_init(struct SEE_interpreter *);
X
X/* obj_Object.c */
Xvoid SEE_Object_alloc(struct SEE_interpreter *);
Xvoid SEE_Object_init(struct SEE_interpreter *);
X
X/* obj_RegExp.c */
Xvoid SEE_RegExp_alloc(struct SEE_interpreter *);
Xvoid SEE_RegExp_init(struct SEE_interpreter *);
X
X/* obj_String.c */
Xvoid SEE_String_alloc(struct SEE_interpreter *);
Xvoid SEE_String_init(struct SEE_interpreter *);
X
X#endif /* _SEE_h_init */
END-of-see/files/init.h
echo x - see/distinfo
sed 's/^X//' >see/distinfo << 'END-of-see/distinfo'
XMD5 (see-1.1.tar.gz) = c191d48e8f1899164b3f99fac0263cc9
XSIZE (see-1.1.tar.gz) = 330857
END-of-see/distinfo
echo x - see/pkg-descr
sed 's/^X//' >see/pkg-descr << 'END-of-see/pkg-descr'
XLibrary that provides an ECMAScript (JavaScript) run-time environment
X
XWWW: http://www.adaptive-enterprises.com.au/~d/software/see/
X
X- Simun Mikecin
Xsime@logos.hr
END-of-see/pkg-descr
echo x - see/Makefile
sed 's/^X//' >see/Makefile << 'END-of-see/Makefile'
X# New ports collection makefile for:   see
X# Date created:        22 September 2004
X# Whom:                sime@logos.hr
X#
X# $FreeBSD$
X#
X
XPORTNAME=	see
XPORTVERSION=	1.1
XCATEGORIES=	lang
XMASTER_SITES=	http://www.netsw.org/softeng/lang/js/ \
X		http://www.adaptive-enterprises.com.au/~d/software/see/
XDISTNAME=       ${PORTNAME}-${PORTVERSION}
X
XMAINTAINER=	sime@logos.hr
XCOMMENT=	Simple ECMAScript Engine (SEE)
X
XLIB_DEPENDS=	gc:${PORTSDIR}/devel/boehm-gc
X
XHAS_CONFIGURE=	yes
XCONFIGURE_ENV+=	LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}" \
X		CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
XCONFIGURE_ARGS+=	--with-gnu-ld
XUSE_GMAKE=	yes
XUSE_PERL5_BUILD=	yes
X
Xpost-configure:
X	${CP} ${FILESDIR}/init.h ${WRKSRC}/libsee/
X	cd ${WRKSRC}/libsee && ${GMAKE} stringdefs.h
X	cd ${WRKSRC}/libsee && ${GMAKE} stringdefs.inc
X
Xpre-install:
X	${INSTALL} -d ${PREFIX}/share/doc/see
X	${INSTALL} -m 644 ${WRKSRC}/doc/USAGE.html ${PREFIX}/share/doc/see/
X	${INSTALL} -m 644 ${WRKSRC}/CHANGES ${PREFIX}/share/doc/see/
X	${INSTALL} -m 644 ${WRKSRC}/LICENCE ${PREFIX}/share/doc/see/
X	${INSTALL} -m 644 ${WRKSRC}/TODO ${PREFIX}/share/doc/see/
X
X.include <bsd.port.mk>
END-of-see/Makefile
echo x - see/pkg-plist
sed 's/^X//' >see/pkg-plist << 'END-of-see/pkg-plist'
Xinclude/see/cfunction.h
Xinclude/see/debug.h
Xinclude/see/error.h
Xinclude/see/eval.h
Xinclude/see/input.h
Xinclude/see/intern.h
Xinclude/see/interpreter.h
Xinclude/see/mem.h
Xinclude/see/native.h
Xinclude/see/no.h
Xinclude/see/object.h
Xinclude/see/see.h
Xinclude/see/string.h
Xinclude/see/try.h
Xinclude/see/type.h
Xinclude/see/value.h
Xinclude/see/config.h
Xlib/libsee.so.0
Xlib/libsee.so
Xlib/libsee.la
Xlib/libsee.a
Xbin/see-shell
X@exec	mkdir -p %D/share/doc/see
Xshare/doc/see/USAGE.html
Xshare/doc/see/CHANGES
Xshare/doc/see/LICENCE
Xshare/doc/see/TODO
X@dirrm share/doc/see
X@dirrm include/see
END-of-see/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040924083949.41AA626D053>