From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Apr 23 10:50:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BED4E521 for ; Tue, 23 Apr 2013 10:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id A1A0E168A for ; Tue, 23 Apr 2013 10:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r3NAo0Nl081791 for ; Tue, 23 Apr 2013 10:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r3NAo0OA081790; Tue, 23 Apr 2013 10:50:00 GMT (envelope-from gnats) Resent-Date: Tue, 23 Apr 2013 10:50:00 GMT Resent-Message-Id: <201304231050.r3NAo0OA081790@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Veniamin Gvozdikov Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A839ED5 for ; Tue, 23 Apr 2013 10:43:06 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 98A791642 for ; Tue, 23 Apr 2013 10:43:06 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r3NAh655031573 for ; Tue, 23 Apr 2013 10:43:06 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r3NAh5dv031572; Tue, 23 Apr 2013 10:43:05 GMT (envelope-from nobody) Message-Id: <201304231043.r3NAh5dv031572@red.freebsd.org> Date: Tue, 23 Apr 2013 10:43:05 GMT From: Veniamin Gvozdikov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/178078: [new port]: lang/angelscript AngelCode Scripting Library X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Apr 2013 10:50:00 -0000 >Number: 178078 >Category: ports >Synopsis: [new port]: lang/angelscript AngelCode Scripting Library >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: Tue Apr 23 10:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Veniamin Gvozdikov >Release: FreeBSD 9.1-RELEASE >Organization: >Environment: FreeBSD ololo 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The AngelCode Scripting Library, or AngelScript as it is also known, is an extremely flexible cross-platform scripting library designed to allow applications to extend their functionality through external scripts. It has been designed from the beginning to be an easy to use component, both for the application programmer and the script writer. Efforts have been made to let it call standard C functions and C++ methods with little to no need for proxy functions. The application simply registers the functions, objects, and methods that the scripts should be able to work with and nothing more has to be done with your code. The same functions used by the application internally can also be used by the scripting engine, which eliminates the need to duplicate functionality. For the script writer the scripting language follows the widely known syntax of C/C++, but without the need to worry about pointers and memory leaks. Contrary to most scripting languages, AngelScript uses the common C/C++ datatypes for more efficient communication with the host application. >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: # # angelscript # angelscript/pkg-descr # angelscript/files # angelscript/files/patch-angelscript_source_as_memory.cpp # angelscript/files/patch-makefile # angelscript/distinfo # angelscript/Makefile # echo c - angelscript mkdir -p angelscript > /dev/null 2>&1 echo x - angelscript/pkg-descr sed 's/^X//' >angelscript/pkg-descr << '7d07e27b39b7b96b2d484dd6952cdf1f' XThe AngelCode Scripting Library, or AngelScript as it is also known, is an Xextremely flexible cross-platform scripting library designed to allow Xapplications to extend their functionality through external scripts. It has Xbeen designed from the beginning to be an easy to use component, both for Xthe application programmer and the script writer. X XEfforts have been made to let it call standard C functions and C++ methods Xwith little to no need for proxy functions. The application simply registers Xthe functions, objects, and methods that the scripts should be able to work Xwith and nothing more has to be done with your code. The same functions used Xby the application internally can also be used by the scripting engine, which Xeliminates the need to duplicate functionality. X XFor the script writer the scripting language follows the widely known syntax Xof C/C++, but without the need to worry about pointers and memory leaks. XContrary to most scripting languages, AngelScript uses the common C/C++ Xdatatypes for more efficient communication with the host application. X X XWWW: http://www.angelcode.com/angelscript/ 7d07e27b39b7b96b2d484dd6952cdf1f echo c - angelscript/files mkdir -p angelscript/files > /dev/null 2>&1 echo x - angelscript/files/patch-angelscript_source_as_memory.cpp sed 's/^X//' >angelscript/files/patch-angelscript_source_as_memory.cpp << '57bc50cdc67ec8e909f63b8abe9199b5' X--- ../../source/as_memory.cpp.orig 2013-04-23 09:12:04.795967912 +0000 X+++ ../../source/as_memory.cpp 2013-04-23 09:12:22.031967631 +0000 X@@ -38,7 +38,7 @@ X X #include X X-#if !defined(__APPLE__) && !defined( __SNC__ ) && !defined( __ghs__ ) X+#if !defined(__APPLE__) && !defined( __SNC__ ) && !defined( __ghs__ ) && !defined(__FreeBSD__) X #include X #endif X 57bc50cdc67ec8e909f63b8abe9199b5 echo x - angelscript/files/patch-makefile sed 's/^X//' >angelscript/files/patch-makefile << '51dcef59fa440720ae5a9aa4ca6ed5d0' X--- makefile.orig 2013-04-23 13:58:03.261966893 +0400 X+++ makefile 2013-04-23 14:14:40.498967731 +0400 X@@ -138,8 +138,9 @@ install: $(BIN) X @echo Installing to: $(LOCAL)/$(INSTALL_LIBDIR) and $(LOCAL)/include... X @echo ------------------------------------------------------------------- X ifdef SHARED X- $(COPIER) $(LIBDIR)/$(DEVLIB) $(LOCAL)/$(INSTALL_LIBDIR) X- ( cd $(LIBDIR); ln -s $(LIB) $(DEVLIB) ) X+ $(COPIER) $(LIBDIR)/$(LIB) $(LOCAL)/$(INSTALL_LIBDIR) X+ ln -s $(LOCAL)/$(INSTALL_LIBDIR)/$(LIB) $(LOCAL)/$(INSTALL_LIBDIR)/$(DEVLIB) X+ ln -s $(LOCAL)/$(INSTALL_LIBDIR)/$(LIB) $(LOCAL)/$(INSTALL_LIBDIR)/$(DEVLIB).$(VERSION) X endif X $(COPIER) $(BIN) $(LOCAL)/$(INSTALL_LIBDIR) X $(COPIER) $(INCDIR)/$(INC) $(LOCAL)/include 51dcef59fa440720ae5a9aa4ca6ed5d0 echo x - angelscript/distinfo sed 's/^X//' >angelscript/distinfo << '06afe45fae10a15bda562a59c555d4db' XSHA256 (angelscript_2.26.2.zip) = 53b8c71118a3a317d71ecbcc89be3e623b98e5c7cf5bc3c884859d4ca143cf0f XSIZE (angelscript_2.26.2.zip) = 1390172 06afe45fae10a15bda562a59c555d4db echo x - angelscript/Makefile sed 's/^X//' >angelscript/Makefile << 'f2fd04c6e60c6ac98d7be5850fd9e45c' X# Created by: Gvozdikov Veniamin X# $FreeBSD$ X XPORTNAME= angelscript XPORTVERSION= 2.26.2 XCATEGORIES= lang XMASTER_SITES= http://www.angelcode.com/angelscript/sdk/files/ XDISTNAME= ${PORTNAME}_${PORTVERSION} X XMAINTAINER= g.veniamin@googlemail.com XCOMMENT= AngelCode Scripting Library X XLICENSE= ZLIB X XMAKEFILE= makefile XMAKE_ARGS= LOCAL=${PREFIX} XUSE_GMAKE= yes XUSE_LDCONFIG= yes XUSE_ZIP= yes X XWRKSRC= ${WRKDIR}/sdk/angelscript/projects/gnuc/ X XPLIST_FILES= include/angelscript.h X XOPTIONS_SINGLE= TYPE XOPTIONS_SINGLE_TYPE= STATIC SHARED XSTATIC_DESC= Build static library XSHARED_DESC= Build shared library XOPTIONS_DEFAULT= STATIC X X.include X X.if ${PORT_OPTIONS:MSHARED} XLIB_VERSION= 2 XMAKE_ARGS+= SHARED=1 VERSION=${LIB_VERSION} XPLIST_FILES+= lib/libangelscript.so.${LIB_VERSION} \ X lib/libangelscript-${LIB_VERSION}.so \ X lib/libangelscript.so X X.else XPLIST_FILES+= lib/libangelscript.a X.endif X X.include f2fd04c6e60c6ac98d7be5850fd9e45c exit >Release-Note: >Audit-Trail: >Unformatted: