Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

28
lang/lua/module.mk Normal file
View File

@@ -0,0 +1,28 @@
# $NetBSD: module.mk,v 1.3 2009/06/14 22:58:02 joerg Exp $
#
# This Makefile fragment is intended to be included by packages that
# install Lua packages.
.if !defined(LUA_MODULE_MK)
LUA_MODULE_MK= # defined
.include "../../lang/lua/version.mk"
_LUA_VERSION= ${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}
LUA_PKGPREFIX= lua
LUA_LDIR= share/lua/${_LUA_VERSION}
PLIST_SUBST+= LUA_LDIR=${LUA_LDIR}
.if defined(NO_BUILD) && empty(NO_BUILD:M[Nn][Oo])
DEPENDS+= lua-${_LUA_VERSION}.*:../../lang/lua
.else
LUA_CDIR= lib/lua/${_LUA_VERSION}
PLIST_SUBST+= LUA_CDIR=${LUA_CDIR}
BUILDLINK_API_DEPENDS.lua+= lua-${_LUA_VERSION}.*
.include "../../lang/lua/buildlink3.mk"
.endif
.endif # LUA_MODULE_MK