Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Apr 2005 10:00:40 GMT
From:      "Simun Mikecin" <sime@logos.hr>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/72055: New port: lang/see Simple ECMAScript Engine
Message-ID:  <200504151000.j3FA0euR060345@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/72055; it has been noted by GNATS.

From: "Simun Mikecin" <sime@logos.hr>
To: bug-followup@freebsd.org, sime@logos.hr, jylefort@freebsd.org
Cc:  
Subject: Re: ports/72055: New port: lang/see Simple ECMAScript Engine
Date: Fri, 15 Apr 2005 11:51:03 +0200

 Here is an update to version 1.2. MASTER_SITES are functional but bandwidth
 limited. Since SEE is BSD licensed it would be a good thing to
 copy see-1.2.tar.gz to ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/ and add
 that location to MASTER_SITES.
 
 # 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/patch-mem.h
 #	see/pkg-descr
 #	see/Makefile
 #	see/pkg-plist
 #	see/distinfo
 #
 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/patch-mem.h
 sed 's/^X//' >see/files/patch-mem.h << 'END-of-see/files/patch-mem.h'
 X--- include/see/mem.h.orig	Tue Mar 30 15:02:46 2004
 X+++ include/see/mem.h	Tue Sep 28 11:13:57 2004
 X@@ -15,8 +15,8 @@
 X #define SEE_NEW(i, t)		(t *)SEE_malloc(i, sizeof (t))
 X #define SEE_NEW_ARRAY(i, t, n)	(t *)SEE_malloc(i, (n) * sizeof (t))
 X
 X-void *(*SEE_mem_malloc_hook)(struct SEE_interpreter *i, unsigned int sz);
 X-void  (*SEE_mem_free_hook)(struct SEE_interpreter *i, void *ptr);
 X-void  (*SEE_mem_exhausted_hook)(struct SEE_interpreter *i) SEE_dead;
 X+extern void *(*SEE_mem_malloc_hook)(struct SEE_interpreter *i, unsigned  
 int sz);
 X+extern void  (*SEE_mem_free_hook)(struct SEE_interpreter *i, void *ptr);
 X+extern void  (*SEE_mem_exhausted_hook)(struct SEE_interpreter *i)  
 SEE_dead;
 X
 X #endif /* _SEE_h_mem_ */
 END-of-see/files/patch-mem.h
 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.2
 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
 XOPTIONS=	GC "Use Boehm-Weiser garbage collection package" on \
 X		OPTIMIZED_CFLAGS "Enable some additional optimizations" off
 X
 XINSTALLS_SHLIB=	yes
 XGNU_CONFIGURE=	yes
 XUSE_GMAKE=	yes
 XUSE_PERL5_BUILD=	yes
 X
 X.include <bsd.port.pre.mk>
 X
 X.if defined(WITH_OPTIMIZED_CFLAGS)
 XCFLAGS+=	-O2 -fomit-frame-pointer
 X.endif
 X
 X.if defined(WITHOUT_GC)
 XPTHREAD_LIBS=
 X.endif
 X
 XCONFIGURE_ENV+=	LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
 X		CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
 X		CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}"
 XCONFIGURE_ARGS=	--prefix="${PREFIX}"
 X
 X.if defined(WITH_GC)
 XLIB_DEPENDS+=	gc:${PORTSDIR}/devel/boehm-gc
 X.else
 XCONFIGURE_ARGS+=	--without-boehm-gc
 X.endif
 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}/COPYING ${PREFIX}/share/doc/see/
 X	${INSTALL} -m 644 ${WRKSRC}/AUTHORS ${PREFIX}/share/doc/see/
 X	${INSTALL} -m 644 ${WRKSRC}/NEWS ${PREFIX}/share/doc/see/
 X	${INSTALL} -m 644 ${WRKSRC}/README ${PREFIX}/share/doc/see/
 X	${INSTALL} -m 644 ${WRKSRC}/TODO ${PREFIX}/share/doc/see/
 X
 X.include <bsd.port.post.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
 Xlib/libsee.so.0
 Xlib/libsee.so
 Xlib/libsee.la
 Xlib/libsee.a
 Xbin/see-shell
 Xbin/libsee-config
 X@exec	mkdir -p %D/share/doc/see
 Xshare/doc/see/USAGE.html
 Xshare/doc/see/COPYING
 Xshare/doc/see/AUTHORS
 Xshare/doc/see/NEWS
 Xshare/doc/see/README
 Xshare/doc/see/TODO
 X@dirrm share/doc/see
 X@dirrm include/see
 END-of-see/pkg-plist
 echo x - see/distinfo
 sed 's/^X//' >see/distinfo << 'END-of-see/distinfo'
 XMD5 (see-1.2.tar.gz) = 36795db813e5fcb2800142a48286624e
 XSIZE (see-1.2.tar.gz) = 537824
 END-of-see/distinfo
 exit
 



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