diff options
Diffstat (limited to 'lang/tolua++')
-rw-r--r-- | lang/tolua++/Makefile | 36 | ||||
-rw-r--r-- | lang/tolua++/distinfo | 2 | ||||
-rw-r--r-- | lang/tolua++/files/patch-SConstruct | 41 | ||||
-rw-r--r-- | lang/tolua++/files/patch-src-lib-SCsub | 16 | ||||
-rw-r--r-- | lang/tolua++/files/patch-src-tests-SCsub | 9 | ||||
-rw-r--r-- | lang/tolua++/pkg-descr | 16 | ||||
-rw-r--r-- | lang/tolua++/pkg-plist | 6 |
7 files changed, 0 insertions, 126 deletions
diff --git a/lang/tolua++/Makefile b/lang/tolua++/Makefile deleted file mode 100644 index dbd520d8431c..000000000000 --- a/lang/tolua++/Makefile +++ /dev/null @@ -1,36 +0,0 @@ -# Created by: aaron@FreeBSD.org -# $FreeBSD$ - -PORTNAME= tolua++ -PORTVERSION= 1.0.93 -PORTREVISION= 3 -CATEGORIES= lang devel -MASTER_SITES= http://www.codenix.com/~tolua/ \ - http://mirror.amdmi3.ru/distfiles/ - -MAINTAINER= amdmi3@FreeBSD.org -COMMENT= Extended version of tolua, a tool to integrate C/C++ code with Lua - -USES= scons:python2 lua:51 tar:bzip2 -MAKE_ARGS= prefix=${PREFIX} SONAME="libtolua++-${LUA_VER}.so" - -CCFLAGS+= -I${LUA_INCDIR} -LDFLAGS+= -L${LUA_LIBDIR} - -TGT_BINDIR= ${PREFIX}/bin -TGT_INCDIR= ${LUA_INCDIR:C/^${LOCALBASE}/${PREFIX}/} -TGT_LIBDIR= ${LUA_LIBDIR:C/^${LOCALBASE}/${PREFIX}/} - -post-patch: - @${REINPLACE_CMD} -e "s|'lualib',||; s|lua|lua-${LUA_VER}|g" ${WRKSRC}/config_posix.py - -do-install: - ${MKDIR} ${STAGEDIR}${TGT_BINDIR} ${STAGEDIR}${TGT_INCDIR} ${STAGEDIR}${TGT_LIBDIR} - ${INSTALL_PROGRAM} ${WRKSRC}/bin/tolua++ ${STAGEDIR}${TGT_BINDIR} - ${LN} -sf tolua++ ${STAGEDIR}${PREFIX}/bin/tolua++-${LUA_VER} - ${INSTALL_DATA} ${WRKSRC}/include/tolua++.h ${STAGEDIR}${TGT_INCDIR} - ${INSTALL_DATA} ${WRKSRC}/lib/libtolua++.a ${STAGEDIR}${TGT_LIBDIR} - ${INSTALL_LIB} ${WRKSRC}/lib/libtolua++.so ${STAGEDIR}${TGT_LIBDIR} - ${INSTALL_LIB} ${WRKSRC}/lib/libtolua++.so ${STAGEDIR}${PREFIX}/lib/libtolua++-${LUA_VER}.so - -.include <bsd.port.mk> diff --git a/lang/tolua++/distinfo b/lang/tolua++/distinfo deleted file mode 100644 index f018695077db..000000000000 --- a/lang/tolua++/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (tolua++-1.0.93.tar.bz2) = 90df1eeb8354941ca65663dcf28658b67d3aa41daa71133bdd20c35abb1bcaba -SIZE (tolua++-1.0.93.tar.bz2) = 163956 diff --git a/lang/tolua++/files/patch-SConstruct b/lang/tolua++/files/patch-SConstruct deleted file mode 100644 index f0856026d593..000000000000 --- a/lang/tolua++/files/patch-SConstruct +++ /dev/null @@ -1,41 +0,0 @@ ---- SConstruct.orig 2008-04-21 00:05:35 UTC -+++ SConstruct -@@ -7,21 +7,22 @@ if os.name == 'nt': - - env = Environment(tools = tools) - --options_file = None -+variables_file = None - if sys.platform == 'linux2': -- options_file = "linux" -+ variables_file = "linux" - - elif 'msvc' in env['TOOLS']: -- options_file = "msvc" -+ variables_file = "msvc" - else: -- options_file = "posix" -+ variables_file = "posix" - --opts = Options(["config_"+options_file+".py", "custom.py", "custom_"+options_file+".py"], ARGUMENTS) -+opts = Variables(["config_"+variables_file+".py", "custom.py", "custom_"+variables_file+".py"], ARGUMENTS) - opts.Add('CC', 'The C compiler.') - opts.Add('CXX', 'The C++ compiler (for the tests)') - opts.Add('CCFLAGS', 'Flags for the compiler.', ['-O2', '-Wall']) - opts.Add('LINK', 'The linker.') - opts.Add('LINKFLAGS', 'Linker flags.', []) -+opts.Add('SONAME', 'Shared library name.') - opts.Add('no_cygwin', 'Use -mno-cygwin to build using the mingw compiler on cygwin', 0) - opts.Add('LIBS', 'libraries', []) - opts.Add('LIBPATH', 'library path', []) -@@ -145,7 +146,9 @@ Files will be installed on <prefix>/bin, - ########### end of helper builders - - env['CPPPATH'] = '#/include' --env['LIBPATH'] = ['#/lib'] + env['LIBPATH'] -+env['LIBPATH'] = ['#/lib'] + env['LIBPATH'].split(" ") -+ -+env.Append(SHLINKFLAGS=' -Wl,-soname='+env['SONAME']) - - if env['no_cygwin']: - diff --git a/lang/tolua++/files/patch-src-lib-SCsub b/lang/tolua++/files/patch-src-lib-SCsub deleted file mode 100644 index ffa68d40fa0b..000000000000 --- a/lang/tolua++/files/patch-src-lib-SCsub +++ /dev/null @@ -1,16 +0,0 @@ ---- src/lib/SCsub.orig 2008-04-21 00:05:35 UTC -+++ src/lib/SCsub -@@ -9,10 +9,7 @@ sources = [ - 'tolua_to.c', - ] - --env.lib_target_static = env.Library('#/lib/'+env['tolua_lib']+'_static', sources) -- --if env['shared']: -- env.lib_target = env.SharedLibrary('#lib/'+env['tolua_lib'], sources) --else: -- env.lib_target = env.Library('#/lib/'+env['tolua_lib'], sources) -+env.lib_target_static = env.Library('#/lib/'+env['tolua_lib'], sources) -+env.lib_target = env.Library('#/lib/'+env['tolua_lib'], sources) -+env.lib_target += env.SharedLibrary('#/lib/'+env['tolua_lib'], sources) - diff --git a/lang/tolua++/files/patch-src-tests-SCsub b/lang/tolua++/files/patch-src-tests-SCsub deleted file mode 100644 index 446b0af4fd25..000000000000 --- a/lang/tolua++/files/patch-src-tests-SCsub +++ /dev/null @@ -1,9 +0,0 @@ ---- src/tests/SCsub.orig 2006-04-10 09:45:44 UTC -+++ src/tests/SCsub -@@ -1,5 +1,5 @@ - Import('env') --env_tests = env.Copy() -+env_tests = env.Clone() - - env_tests.LuaBinding('tclassbind.cpp', 'tclass.pkg', 'tclass', use_own=1, use_typeid=1) - diff --git a/lang/tolua++/pkg-descr b/lang/tolua++/pkg-descr deleted file mode 100644 index 019e555c8dc5..000000000000 --- a/lang/tolua++/pkg-descr +++ /dev/null @@ -1,16 +0,0 @@ -tolua++ is an extended version of tolua, a tool to integrate C/C++ code -with Lua. tolua++ includes new features oriented to c++ such as: - -* Support for std::string as a basic type (this can be turned off by a - command line option). -* Support for class templates - -As well as other features and bugfixes. - -tolua is a tool that greatly simplifies the integration of C/C++ code with -Lua. Based on a cleaned header file (or extracts from real header files), -tolua automatically generates the binding code to access C/C++ features -from Lua. Using Lua API and tag method facilities, tolua maps C/C++ -constants, external variables, functions, classes, and methods to Lua. - -WWW: http://www.codenix.com/~tolua/ diff --git a/lang/tolua++/pkg-plist b/lang/tolua++/pkg-plist deleted file mode 100644 index 781bed4f2a46..000000000000 --- a/lang/tolua++/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -bin/tolua++ -bin/tolua++-%%LUA_VER%% -%%LUA_LIBDIR%%/libtolua++.a -%%LUA_LIBDIR%%/libtolua++.so -lib/libtolua++-%%LUA_VER%%.so -%%LUA_INCDIR%%/tolua++.h |