Commit Graph

19 Commits

Author SHA1 Message Date
Alejandro Pulver
6cc76f6bab - Add support for lang/tolua++ (lang/tolua++50) in a way similar to
lang/tolua (lang/tolua50).

PR:		ports/126440
Submitted by:	amdmi3
2008-08-25 20:20:50 +00:00
Alejandro Pulver
b2fe6b6e8d - Merge patch-Makefile into patch-src-Makefile (both actually patch same file).
- Patch lang/lua to behave as expected by the framework.
- Add missing library dependency (only run before) when using lua 5.1.
- Add notes in bsd.lua.mk for updating lang/lua* ports describing how they are
  integrated into the ports tree.

PR:		ports/126207
Submitted by:	Daniel Roethlisberger <daniel@roe.ch>
2008-08-10 19:29:43 +00:00
Alejandro Pulver
c4edf8e143 - Fix tolua dependency for version 5.0 (was using 5.1).
- Add tolua dependency for version 5.1.

PR:		ports/126350
Submitted by:	amdmi3
2008-08-10 15:09:54 +00:00
Alejandro Pulver
b3ec8aa81a - Fix defining Lua include/library directories under PREFIX (last commit) [1].
- Now LUA_PREFIX has 2 functions: for Lua ports indicate where to install, and
  for dependencies indicate where Lua is installed (check new comments inside
  bsd.lua.mk for more information).

PR:		ports/120277
Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp>
Reported by:	Dmitry Marakasov <amdmi3@amdmi3.ru> [1]
2008-02-18 18:41:26 +00:00
Alejandro Pulver
722d972bee - Change LUA_PREFIX default value from LOCALBASE to PREFIX.
Actually the Lua prefix should be recorded on each port and read from there
(as with "*-config --prefix" scripts), instead of this assumption. But
supporting PREFIX is a requirement, while supporting different custom
combinations of a general PREFIX for dependencies and a different PREFIX for a
specific port is not. Also the latter could be achieved by changing LOCALBASE
too, or directly modifying LUA_PREFIX in this case.

PR:		ports/120277
Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp>
2008-02-09 23:11:51 +00:00
Pav Lucistnik
2a3d311fcd - Update luasocket to 2.0.2, set luasocket port to lua 5.1
- Add lua 5.0 compatible slave port

PR:		ports/117168
Submitted by:	Andrew Turner <andrew+ports@fubar.geek.nz> (maintainer)
2007-10-28 19:43:49 +00:00
Alejandro Pulver
e34004305a - Don't override the DEPTYPE of a component (accidentally introduced in
version 1.11).

Obtained from:	Andrew Turner <andrew@fubar.geek.nz>
2007-04-11 03:22:34 +00:00
Alejandro Pulver
26aabdd342 - Change some spaces into tabs. 2007-04-09 17:24:21 +00:00
Alejandro Pulver
76601d3b38 - Make autodetection work properly. 2007-04-09 17:23:20 +00:00
Alejandro Pulver
9fc0873382 - Fix WANT_LUA (broken since autodetection commit). 2007-01-05 02:56:47 +00:00
Alejandro Pulver
1fa92c8dc1 - If multiple versions are allowed and some do not have the required
components, remove them instead of producing an error.
- Do not add invalid dependencies in addition to setting IGNORE.
2007-01-01 01:10:42 +00:00
Alejandro Pulver
51cf1357b2 - Fix component autodetection. 2006-12-31 17:51:22 +00:00
Alejandro Pulver
beb7d2acd7 - Update comments after the last addition of Lua 5.0 and 5.1 ports.
- Add autodetection of installed versions to use if the user/port has not
  expressed any preference (done using own WANT_LUA framework by itself).
- Correctly indent the first .for loop to initialize component information.
2006-12-31 04:44:25 +00:00
Philip Paeps
463177d875 Add devel/lua-pty to work with Lua 5.0 and Lua 5.1 and turn devel/lua50-pty
into a slave port of it.

PR:		ports/106347
Submitted by:	Andrew Turner <andrew+ports@fubar.geek.nz> (maintainer)
Repocopy by:	marcus
2006-12-05 22:51:12 +00:00
Philip Paeps
972fe1b9a6 Add Lua 5.1 ports to bsd.lua.mk so they can be used in LUA_COMPS. Revert
miwi's stopgap to devel/Makefile.  This should make everything happy again.

Submitted by:	droso, Andrew Turner <andrew+ports@fubar.geek.nz>
Pointy hat to:	philip
2006-11-30 21:51:05 +00:00
Alejandro Pulver
e9cb799675 - Add LUA_CMD, LUAC_CMD and TOLUA_CMD variables.
- Use "?=" instead of "=" for defining LUA_VER.
2006-11-12 14:23:12 +00:00
Alejandro Pulver
2c86df786c - Swap description of LUA_MODLIBDIR and LUA_MODSHAREDIR variables. 2006-11-09 19:22:54 +00:00
Alejandro Pulver
1bbc5c3e23 - The whitespace police is back in town.
PR:		ports/104017
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
2006-10-05 18:17:25 +00:00
Mark Linimon
3f6d652468 * Add PKGVERSION to bsd.port.mk [1]
* Add bsd.lua.mk to support for lua-based ports [2]

* Remove DESTDIR from bsd.scons.mk [3]

* Add some quotes in 'missing' target to improve handling of duplicate
  origins [4]

PR:	98565 [1], 101612 [2], 101952 [3], 102100 [4]

Submitted by:	ahze [1], alepulver [2], alexbl [3], shaun [4]
2006-09-15 06:57:07 +00:00