SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
36
devel/lua-tz/Makefile
Normal file
36
devel/lua-tz/Makefile
Normal file
|
@ -0,0 +1,36 @@
|
|||
COMMENT = Lua library for time and date manipulation
|
||||
|
||||
V = 0.4-1
|
||||
PKGNAME = lua-tz-${V:S/-/./}
|
||||
REVISION = 0
|
||||
|
||||
GH_ACCOUNT = daurnimator
|
||||
GH_PROJECT = luatz
|
||||
GH_TAGNAME = v${V}
|
||||
|
||||
CATEGORIES = devel
|
||||
|
||||
# MIT
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
MODULES = lang/lua
|
||||
|
||||
TEST_DEPENDS = ${BUILD_PKGPATH}
|
||||
|
||||
FLAVORS = lua52 lua53
|
||||
FLAVOR ?=
|
||||
|
||||
NO_BUILD = Yes
|
||||
|
||||
PKG_ARCH = *
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${MODLUA_DATADIR} ${MODLUA_DATADIR}/luatz
|
||||
${INSTALL_DATA} ${WRKSRC}/luatz/*.lua ${MODLUA_DATADIR}/luatz
|
||||
${INSTALL_DATA_DIR} ${MODLUA_DOCDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/*.md ${MODLUA_DOCDIR}
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC}/examples && ${MODLUA_BIN} os_date.lua
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/lua-tz/distinfo
Normal file
2
devel/lua-tz/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (luatz-0.4-1.tar.gz) = nNn9Hzuo8uqoYTqrGKNybSkGAfk6HCeNmXo6rF0CauM=
|
||||
SIZE (luatz-0.4-1.tar.gz) = 19297
|
8
devel/lua-tz/pkg/DESCR
Normal file
8
devel/lua-tz/pkg/DESCR
Normal file
|
@ -0,0 +1,8 @@
|
|||
A lua library for time and date manipulation.
|
||||
|
||||
Features include:
|
||||
|
||||
- Normalisation of broken down date objects - allows for complex time/date
|
||||
manipulation logic e.g. "What day is it in 2 days, 5 hours from now?"
|
||||
- Conversion between locations (time zones) using your local zoneinfo database
|
||||
- strftime style formatting
|
17
devel/lua-tz/pkg/PLIST
Normal file
17
devel/lua-tz/pkg/PLIST
Normal file
|
@ -0,0 +1,17 @@
|
|||
share/doc/${FULLPKGNAME}/
|
||||
share/doc/${FULLPKGNAME}/README.md
|
||||
share/doc/${FULLPKGNAME}/gettime.md
|
||||
share/doc/${FULLPKGNAME}/index.md
|
||||
share/doc/${FULLPKGNAME}/links.md
|
||||
share/doc/${FULLPKGNAME}/parse.md
|
||||
share/doc/${FULLPKGNAME}/timetable.md
|
||||
share/doc/${FULLPKGNAME}/tzinfo.md
|
||||
share/lua/${MODLUA_VERSION}/luatz/
|
||||
share/lua/${MODLUA_VERSION}/luatz/gettime.lua
|
||||
share/lua/${MODLUA_VERSION}/luatz/init.lua
|
||||
share/lua/${MODLUA_VERSION}/luatz/parse.lua
|
||||
share/lua/${MODLUA_VERSION}/luatz/strftime.lua
|
||||
share/lua/${MODLUA_VERSION}/luatz/timetable.lua
|
||||
share/lua/${MODLUA_VERSION}/luatz/tzcache.lua
|
||||
share/lua/${MODLUA_VERSION}/luatz/tzfile.lua
|
||||
share/lua/${MODLUA_VERSION}/luatz/tzinfo.lua
|
Loading…
Add table
Add a link
Reference in a new issue