2013-03-29 20:33:41 +01:00
|
|
|
# Created by: Andrew Lewis <freeghb@gmail.com>
|
2009-07-14 08:07:51 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= luasec
|
2020-02-28 19:56:52 +01:00
|
|
|
PORTVERSION= 0.9
|
|
|
|
DISTVERSIONPREFIX= v
|
2020-04-14 17:49:36 +02:00
|
|
|
PORTREVISION= 1
|
2009-07-14 08:07:51 +02:00
|
|
|
CATEGORIES= security
|
|
|
|
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
|
|
|
|
|
2014-02-07 22:46:26 +01:00
|
|
|
MAINTAINER= lx@FreeBSD.org
|
2013-03-29 20:33:41 +01:00
|
|
|
COMMENT= Lua binding for the OpenSSL library to provide TLS/SSL communication
|
2009-07-14 08:07:51 +02:00
|
|
|
|
2017-02-13 21:37:34 +01:00
|
|
|
LICENSE= MIT
|
|
|
|
|
2020-02-28 19:56:52 +01:00
|
|
|
.if !defined(SLAVE_PORT)
|
2020-04-14 17:49:36 +02:00
|
|
|
USES= lua:module ssl
|
2020-02-28 19:56:52 +01:00
|
|
|
.endif
|
|
|
|
|
2015-05-18 19:07:45 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= brunoos
|
2009-07-14 08:07:51 +02:00
|
|
|
|
|
|
|
ALL_TARGET= bsd
|
2020-02-28 19:56:52 +01:00
|
|
|
MAKE_ENV+= LUAPATH=${LUA_MODSHAREDIR} LUACPATH=${LUA_MODLIBDIR} \
|
|
|
|
INC_PATH=-I${LUA_INCDIR} LIB_PATH=-L${LUA_LIBDIR} \
|
|
|
|
DESTDIR=${STAGEDIR}
|
2016-09-11 04:22:35 +02:00
|
|
|
CFLAGS+= -I${OPENSSLINC} -DOPENSSL_NO_SSL3
|
|
|
|
LDFLAGS+= -L${OPENSSLLIB}
|
2009-07-20 18:53:17 +02:00
|
|
|
|
2018-02-17 13:00:58 +01:00
|
|
|
.include <bsd.port.mk>
|