mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
ea503387b0
Changelog: https://github.com/brunoos/luasec/blob/v1.0.2/CHANGELOG PR: 257846 MFH: 2021Q3 (bugfix release)
30 lines
667 B
Makefile
30 lines
667 B
Makefile
# Created by: Andrew Lewis <freeghb@gmail.com>
|
|
|
|
PORTNAME= luasec
|
|
PORTVERSION= 1.0.2
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= security
|
|
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= thomas@beingboiled.info
|
|
COMMENT= Lua binding for the OpenSSL library to provide TLS/SSL communication
|
|
|
|
LICENSE= MIT
|
|
|
|
USES= lua:module ssl
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= brunoos
|
|
|
|
ALL_TARGET= bsd
|
|
MAKE_ENV+= LUAPATH=${LUA_MODSHAREDIR} LUACPATH=${LUA_MODLIBDIR} \
|
|
INC_PATH=-I${LUA_INCDIR} LIB_PATH=-L${LUA_LIBDIR} \
|
|
DESTDIR=${STAGEDIR}
|
|
CFLAGS+= -I${OPENSSLINC} -DOPENSSL_NO_SSL3
|
|
LDFLAGS+= -L${OPENSSLLIB}
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/ssl.so
|
|
|
|
.include <bsd.port.mk>
|