34 lines
793 B
Makefile
34 lines
793 B
Makefile
# $NetBSD: Makefile,v 1.3 2013/02/06 23:23:39 jperkin Exp $
|
|
#
|
|
|
|
DISTNAME= luasec-0.4
|
|
PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/lua//}
|
|
PKGREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://luaforge.net/frs/download.php/4255/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.inf.puc-rio.br/~brunoos/luasec/
|
|
COMMENT= Lua binding for OpenSSL library
|
|
LICENSE= mit
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
DEPENDS+= lua-socket>=2.0:../../net/lua-socket
|
|
|
|
USE_TOOLS+= gmake
|
|
|
|
INSTALLATION_DIRS+= ${LUA_CDIR} ${LUA_LDIR}
|
|
|
|
.if ${OPSYS} == "SunOS"
|
|
BUILD_TARGET= solaris
|
|
.else
|
|
BUILD_TARGET= bsd
|
|
.endif
|
|
|
|
INSTALL_ENV+= LUA_CDIR=${LUA_CDIR}
|
|
INSTALL_ENV+= LUA_LDIR=${LUA_LDIR}
|
|
|
|
.include "../../lang/lua/module.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|