Files

34 lines
1.1 KiB
Tcl
Raw Permalink Normal View History

2021-05-28 13:31:59 +00:00
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
2023-03-12 13:07:21 -07:00
PortGroup luarocks_org 1.0
2021-05-28 13:31:59 +00:00
2023-03-12 13:07:21 -07:00
name lua-lpeg
2023-10-01 14:13:40 -05:00
epoch 1
2023-09-22 13:35:14 +03:00
version 1.1.0
revision 0
2025-10-27 02:49:53 +02:00
luarocks.rock lpeg-${version}-2.src.rock
2021-05-28 13:31:59 +00:00
license MIT
2023-06-27 21:27:43 +03:00
maintainers {judaew @judaew} openmaintainer
2021-05-28 13:31:59 +00:00
description Parsing Expression Grammars For Lua
2022-12-04 22:06:20 +11:00
long_description {*}${description}.
2021-05-28 13:31:59 +00:00
2025-10-27 02:49:53 +02:00
checksums rmd160 7d2b5d62856f65039c408be7f8b1e2aad8238e07 \
sha256 836d315b920a5cdd62e21786c6c9fad547c4faa131d5583ebca64f0b6595ee76 \
2023-09-22 13:35:14 +03:00
size 78933
2021-05-28 13:31:59 +00:00
2023-03-12 13:07:21 -07:00
luarocks.worksrcdir lpeg-${version}
luarocks.uploader gvvaughan
2023-06-25 02:00:09 +03:00
patchfiles patch-makefile-add-dylib.diff
post-build {
system -W ${worksrcpath} "make PREFIX=${prefix} LUADIR=${prefix}/include/lua${lua.version} lpeg.dylib"
}
post-destroot {
xinstall -m 0755 ${worksrcpath}/lpeg.dylib \
${destroot}${prefix}/lib/lua/${lua.version}/lpeg.dylib
}