Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Aug 2013 07:56:01 +0000 (UTC)
From:      Veniamin Gvozdikov <vg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r324616 - in head/lang: . angelscript
Message-ID:  <201308120756.r7C7u1GA079020@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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/



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