Date: Fri, 17 Feb 2017 19:37:45 +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: r434312 - in head/net/luasocket-51: . files Message-ID: <201702171937.v1HJbjtq075208@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lx Date: Fri Feb 17 19:37:45 2017 New Revision: 434312 URL: https://svnweb.freebsd.org/changeset/ports/434312 Log: Turn into a slave port. Reported by: lifanof Deleted: head/net/luasocket-51/distinfo head/net/luasocket-51/files/ head/net/luasocket-51/pkg-descr head/net/luasocket-51/pkg-plist Modified: head/net/luasocket-51/Makefile Modified: head/net/luasocket-51/Makefile ============================================================================== --- head/net/luasocket-51/Makefile Fri Feb 17 19:36:11 2017 (r434311) +++ head/net/luasocket-51/Makefile Fri Feb 17 19:37:45 2017 (r434312) @@ -1,45 +1,13 @@ # Created by: Jan Hornyak <pav@oook.cz> # $FreeBSD$ -PORTNAME= luasocket -DISTVERSIONPREFIX= v -DISTVERSION= 3.0-rc1 -PORTREVISION= 3 -PORTEPOCH= 1 -CATEGORIES= net -PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} +COMMENT= Luasocket for Lua 5.1 -MAINTAINER= lx@FreeBSD.org -COMMENT= IPv4 and IPv6 socket support for the Lua language +SLAVE_PORT= luasocket -LICENSE= MIT -LICENSE_FILE= ${WRKSRC}/LICENSE +USES= gmake lua:51 pkgconfig -USE_GITHUB= yes -GH_ACCOUNT= diegonehab +MASTERDIR= ${.CURDIR}/../luasocket +PLIST= ${MASTERDIR}/pkg-plist -MAKE_ARGS= LUAV=${LUA_VER} -USES= gmake lua:51 pkgconfig -INSTALL_TARGET= install-unix - -CFLAGS+= `pkgconf --cflags lua-${LUA_VER}` -LDFLAGS+= -shared `pkgconf --libs lua-${LUA_VER}` - -OPTIONS_DEFINE= DOCS - -post-extract: - @${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile - @${MV} ${WRKSRC}/src/makefile ${WRKSRC}/src/Makefile - @${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/src/Makefile - @${REINPLACE_CMD} -e 's|CFLAGS=|CFLAGS\+=|g' ${WRKSRC}/src/Makefile - @${REINPLACE_CMD} -e 's|LDFLAGS=|LDFLAGS\+=|g' ${WRKSRC}/src/Makefile - @${REINPLACE_CMD} -e 's/prefix/PREFIX/g' ${WRKSRC}/src/Makefile - -post-install: - @${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR:S|^${LOCALBASE}|${PREFIX}|}/*/*.so - -post-install-DOCS-on: - @${MKDIR} ${STAGEDIR}/${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}/${DOCSDIR} - -.include <bsd.port.mk> +.include "${MASTERDIR}/Makefile"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702171937.v1HJbjtq075208>