1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Add lua-stdlib-normalize 2.0.1

- While I'm here:
  - Add NO_ARCH
  - Add missing OPTIONS_DEFINE=DOCS
  - Convert to options target helper
  - Remove LICENSE_FILE from PORTDOCS

This is a collection of normalized lua functions for Lua 5.1 (including LuaJIT),
5.2 and 5.3.

WWW: https://github.com/lua-stdlib/normalize

PR:		226589
Submitted by:	Kan Sasaki <sasaki@fcc.ad.jp>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-03-17 11:47:46 +00:00
parent 816349b254
commit 4d1669d914
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=464805
5 changed files with 60 additions and 0 deletions

View File

@ -1673,6 +1673,7 @@
SUBDIR += lua-posix
SUBDIR += lua-pty
SUBDIR += lua-stdlib-debug
SUBDIR += lua-stdlib-normalize
SUBDIR += lua-sysctl
SUBDIR += lua51-bitop
SUBDIR += lua51-cjson

View File

@ -0,0 +1,42 @@
# $FreeBSD$
PORTNAME= stdlib-normalize
PORTVERSION= 2.0.1
DISTVERSIONPREFIX= v
CATEGORIES= devel
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
MAINTAINER= sasaki@fcc.ad.jp
COMMENT= Collection of normalized lua functions
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
RUN_DEPENDS= ${LUA_PKGNAMEPREFIX}stdlib-debug>=0:devel/lua-stdlib-debug
NO_ARCH= yes
USES= lua
USE_GITHUB= yes
GH_ACCOUNT= lua-stdlib
GH_PROJECT= normalize
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${LUA_MODSHAREDIR}/std/normalize
${INSTALL_DATA} ${WRKSRC}/lib/std/normalize/_base.lua ${STAGEDIR}${LUA_MODSHAREDIR}/std/normalize
${INSTALL_DATA} ${WRKSRC}/lib/std/normalize/_strict.lua ${STAGEDIR}${LUA_MODSHAREDIR}/std/normalize
${INSTALL_DATA} ${WRKSRC}/lib/std/normalize/_typecheck.lua ${STAGEDIR}${LUA_MODSHAREDIR}/std/normalize
${INSTALL_DATA} ${WRKSRC}/lib/std/normalize/init.lua ${STAGEDIR}${LUA_MODSHAREDIR}/std/normalize
${INSTALL_DATA} ${WRKSRC}/lib/std/normalize/version.lua ${STAGEDIR}${LUA_MODSHAREDIR}/std/normalize
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/${PKGNAMEPREFIX}${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/AUTHORS.md ${STAGEDIR}${DOCSDIR}/${PKGNAMEPREFIX}${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/NEWS.md ${STAGEDIR}${DOCSDIR}/${PKGNAMEPREFIX}${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/${PKGNAMEPREFIX}${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/doc/index.html ${STAGEDIR}${DOCSDIR}/${PKGNAMEPREFIX}${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/doc/ldoc.css ${STAGEDIR}${DOCSDIR}/${PKGNAMEPREFIX}${PORTNAME}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1521286262
SHA256 (lua-stdlib-normalize-v2.0.1_GH0.tar.gz) = 6607a0d8dc851c72330b0e77607fd863cc1eb36753d470479f2709c67bed7c2e
SIZE (lua-stdlib-normalize-v2.0.1_GH0.tar.gz) = 45198

View File

@ -0,0 +1,4 @@
This is a collection of normalized lua functions for Lua 5.1 (including LuaJIT),
5.2 and 5.3.
WWW: https://github.com/lua-stdlib/normalize

View File

@ -0,0 +1,10 @@
%%PORTDOCS%%%%DOCSDIR%%/lua52-stdlib-normalize/AUTHORS.md
%%PORTDOCS%%%%DOCSDIR%%/lua52-stdlib-normalize/NEWS.md
%%PORTDOCS%%%%DOCSDIR%%/lua52-stdlib-normalize/README.md
%%PORTDOCS%%%%DOCSDIR%%/lua52-stdlib-normalize/index.html
%%PORTDOCS%%%%DOCSDIR%%/lua52-stdlib-normalize/ldoc.css
%%LUA_MODSHAREDIR%%/std/normalize/_base.lua
%%LUA_MODSHAREDIR%%/std/normalize/_strict.lua
%%LUA_MODSHAREDIR%%/std/normalize/_typecheck.lua
%%LUA_MODSHAREDIR%%/std/normalize/init.lua
%%LUA_MODSHAREDIR%%/std/normalize/version.lua