Date: Fri, 17 Feb 2017 21:04:38 +0000 (UTC) From: David Thiel <lx@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r434315 - head/security/luasec-51 Message-ID: <201702172104.v1HL4cUE012488@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lx Date: Fri Feb 17 21:04:38 2017 New Revision: 434315 URL: https://svnweb.freebsd.org/changeset/ports/434315 Log: Turn into a slave port. Submitted by: lifanof Deleted: head/security/luasec-51/distinfo head/security/luasec-51/pkg-descr head/security/luasec-51/pkg-plist Modified: head/security/luasec-51/Makefile Modified: head/security/luasec-51/Makefile ============================================================================== --- head/security/luasec-51/Makefile Fri Feb 17 20:49:22 2017 (r434314) +++ head/security/luasec-51/Makefile Fri Feb 17 21:04:38 2017 (r434315) @@ -1,47 +1,13 @@ # Created by: Andrew Lewis <freeghb@gmail.com> # $FreeBSD$ -PORTNAME= luasec -PORTVERSION= 0.6 -DISTVERSIONPREFIX= ${PORTNAME}- -CATEGORIES= security -PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} +COMMENT= LuaSec for Lua 5.1 -MAINTAINER= lx@FreeBSD.org -COMMENT= Lua binding for the OpenSSL library to provide TLS/SSL communication +SLAVE_PORT= luasec -LICENSE= MIT +USES= lua:51 ssl -USE_GITHUB= yes -GH_ACCOUNT= brunoos +MASTERDIR= ${.CURDIR}/../luasec +PLIST= ${MASTERDIR}/pkg-plist -ALL_TARGET= bsd -LIBDIR= -L${LUA_LIBDIR} -L${WRKSRC}/src/luasocket -MAKE_ENV+= INCDIR="-I${LUA_INCDIR} -I${WRKSRC}/src" LUAPATH=${LUA_MODSHAREDIR} \ - CPATH=${LUA_MODLIBDIR} LD=${CC} -USES= lua:51 ssl -CFLAGS+= -I${OPENSSLINC} -DOPENSSL_NO_SSL3 -LDFLAGS+= -L${OPENSSLLIB} - -post-patch: .SILENT - ${REINPLACE_CMD} -Ee '/\(INSTALL\)/s/-D //' \ - -e '/^LDFLAGS/s/\+=/=/' \ - -e 's/LUAPATH/LUA_MODSHAREDIR/' \ - -e 's/LUACPATH/LUA_MODLIBDIR/' \ - ${WRKSRC}/src/Makefile - ${REINPLACE_CMD} -Ee '/^(INC|LIB)DIR/s/[^?]=/?=/' \ - ${WRKSRC}/Makefile - -.include <bsd.port.pre.mk> - -.if ${SSL_DEFAULT:Mopenssl-devel} -BROKEN= Does not build with openssl-devel -.endif - -do-install: - ${MKDIR} ${STAGEDIR}${LUA_MODSHAREDIR}/ssl ${STAGEDIR}${LUA_MODLIBDIR} - ${INSTALL_LIB} ${WRKSRC}/src/ssl.so ${STAGEDIR}${LUA_MODLIBDIR} - ${INSTALL_DATA} ${WRKSRC}/src/ssl.lua ${STAGEDIR}${LUA_MODSHAREDIR} - ${INSTALL_DATA} ${WRKSRC}/src/https.lua ${STAGEDIR}${LUA_MODSHAREDIR}/ssl - -.include <bsd.port.post.mk> +.include "${MASTERDIR}/Makefile"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702172104.v1HL4cUE012488>