blob: 6da2767cb80ae7d844f069f9737aeb3eea1bf64f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.8 2014/02/12 23:18:33 tron Exp $
DISTNAME= luasec-0.4.1
PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/lua//}
PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= https://github.com/brunoos/luasec/archive/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/brunoos/luasec/
COMMENT= Lua binding for OpenSSL library
LICENSE= mit
.include "../../mk/bsd.prefs.mk"
DEPENDS+= ${LUA_PKGPREFIX}-socket>=2.0:../../net/lua-socket
USE_TOOLS+= gmake
WRKSRC= ${WRKDIR}/luasec-${DISTNAME}
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"
|