Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jul 2015 19:23:04 +0800
From:      Sunpoet Po-Chuan Hsieh <sunpoet@freebsd.org>
To:        Dmitry Marakasov <amdmi3@freebsd.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org,  svn-ports-head@freebsd.org
Subject:   Re: svn commit: r392212 - head/net/luasocket
Message-ID:  <CAMHz58Qp-pChD0hRvWjutLn8guFfP2x_tu=xrQOoOWHObiJ%2B7A@mail.gmail.com>
In-Reply-To: <201507152039.t6FKdXdg066066@svnmir.geo.freebsd.org>
References:  <201507152039.t6FKdXdg066066@svnmir.geo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 16, 2015 at 4:39 AM, Dmitry Marakasov <amdmi3@freebsd.org>
wrote:

> Author: amdmi3
> Date: Wed Jul 15 20:39:32 2015
> New Revision: 392212
> URL: https://svnweb.freebsd.org/changeset/ports/392212
>
> Log:
>   - Use | as separator in sed regexps to not stumble on ${CC} containing
> slashes
>   - Add LICENSE_FILE
>   - Sort USES
>   - Strip libraries
>

Please bump PORTREVISION for package change.
Thanks.

Regards,
sunpoet


>   - Unsilence INSTALL_*
>
>   PR:           201269
>   Submitted by: amdmi3
>   Approved by:  maintainer timeout (lx, 2 weeks)
>
> Modified:
>   head/net/luasocket/Makefile
>
> Modified: head/net/luasocket/Makefile
>
> ==============================================================================
> --- head/net/luasocket/Makefile Wed Jul 15 20:34:28 2015        (r392211)
> +++ head/net/luasocket/Makefile Wed Jul 15 20:39:32 2015        (r392212)
> @@ -10,13 +10,14 @@ MAINTAINER= lx@FreeBSD.org
>  COMMENT=       IPv4 and IPv6 socket support for the Lua language
>
>  LICENSE=       MIT
> +LICENSE_FILE=  ${WRKSRC}/LICENSE
>
>  USE_GITHUB=    yes
>  GH_ACCOUNT=    diegonehab
>  GH_TAGNAME=    v3.0-rc1
>
>  MAKE_ARGS=     LUA_VER=${LUA_VER}
> -USES=          lua:51 gmake pkgconfig
> +USES=          gmake lua:51 pkgconfig
>
>  CFLAGS+=       `pkgconf --cflags lua-${LUA_VER}`
>  LDFLAGS+=      -shared  `pkgconf --libs lua-${LUA_VER}`
> @@ -26,13 +27,14 @@ 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|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
>         @${MKDIR} ${STAGEDIR}/${DOCSDIR}
> -       @${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}/${DOCSDIR}
> +       ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}/${DOCSDIR}
>
>  .include <bsd.port.mk>
> _______________________________________________
> svn-ports-all@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/svn-ports-all
> To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMHz58Qp-pChD0hRvWjutLn8guFfP2x_tu=xrQOoOWHObiJ%2B7A>