Bug 178078 - [new port]: lang/angelscript AngelCode Scripting Library
Summary: [new port]: lang/angelscript AngelCode Scripting Library
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Veniamin Gvozdikov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-23 11:50 UTC by Veniamin
Modified: 2013-08-12 09:00 UTC (History)
0 users

See Also:


Attachments
file.shar (4.69 KB, text/plain)
2013-04-23 11:50 UTC, Veniamin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Veniamin 2013-04-23 11:50:00 UTC
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.
Comment 1 Veniamin Gvozdikov freebsd_committer freebsd_triage 2013-08-06 19:04:41 UTC
Responsible Changed
From-To: freebsd-ports-bugs->vg

I will take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-08-12 08:56:15 UTC
Author: vg
Date: Mon Aug 12 07:56:01 2013
New Revision: 324616
URL: http://svnweb.freebsd.org/changeset/ports/324616

Log:
  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.
  
  WWW: http://www.angelcode.com/angelscript/
  
  PR:		ports/178078
  Submitted by:	vg
  Approved by:	osa (mentor)

Added:
  head/lang/angelscript/
  head/lang/angelscript/Makefile   (contents, props changed)
  head/lang/angelscript/distinfo   (contents, props changed)
  head/lang/angelscript/pkg-descr   (contents, props changed)
Modified:
  head/lang/Makefile

Modified: head/lang/Makefile
==============================================================================
--- head/lang/Makefile	Mon Aug 12 07:55:13 2013	(r324615)
+++ head/lang/Makefile	Mon Aug 12 07:56:01 2013	(r324616)
@@ -11,6 +11,7 @@
     SUBDIR += afnix
     SUBDIR += algol68g
     SUBDIR += alisp
+    SUBDIR += angelscript
     SUBDIR += arena
     SUBDIR += asis
     SUBDIR += asn1c

Added: head/lang/angelscript/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/angelscript/Makefile	Mon Aug 12 07:56:01 2013	(r324616)
@@ -0,0 +1,44 @@
+# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	angelscript
+PORTVERSION=	2.27.0
+CATEGORIES=	lang
+MASTER_SITES=	http://www.angelcode.com/angelscript/sdk/files/
+DISTNAME=	${PORTNAME}_${PORTVERSION}
+
+MAINTAINER=	vg@FreeBSD.org
+COMMENT=	AngelCode Scripting Library
+
+LICENSE=	ZLIB
+
+MAKEFILE=	makefile
+MAKE_ARGS=	LOCAL=${PREFIX}
+USE_GMAKE=	yes
+USE_LDCONFIG=	yes
+USE_ZIP=	yes
+
+WRKSRC=		${WRKDIR}/sdk/angelscript/projects/gnuc/
+
+PLIST_FILES=	include/angelscript.h
+
+OPTIONS_SINGLE=	TYPE
+OPTIONS_SINGLE_TYPE=	STATIC SHARED
+STATIC_DESC=		Build static library
+SHARED_DESC=		Build shared library
+OPTIONS_DEFAULT=	STATIC
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MSHARED}
+LIB_VERSION=	2
+MAKE_ARGS+=	SHARED=1 VERSION=${LIB_VERSION}
+PLIST_FILES+=	lib/libangelscript.so.${LIB_VERSION} \
+		lib/libangelscript-${LIB_VERSION}.so \
+		lib/libangelscript.so
+
+.else
+PLIST_FILES+=	lib/libangelscript.a
+.endif
+
+.include <bsd.port.mk>

Added: head/lang/angelscript/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/angelscript/distinfo	Mon Aug 12 07:56:01 2013	(r324616)
@@ -0,0 +1,2 @@
+SHA256 (angelscript_2.27.0.zip) = 5bb3b197c972dc5021da5cd05f8bf8181e5d11195e6391d2193c9d0a81a4da5a
+SIZE (angelscript_2.27.0.zip) = 1442212

Added: head/lang/angelscript/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/angelscript/pkg-descr	Mon Aug 12 07:56:01 2013	(r324616)
@@ -0,0 +1,20 @@
+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.
+
+
+WWW: http://www.angelcode.com/angelscript/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Veniamin Gvozdikov freebsd_committer freebsd_triage 2013-08-12 08:58:53 UTC
State Changed
From-To: open->closed

Committed, thank you!