head 1.2; access; symbols pkgsrc-2026Q3:1.1.0.4 pkgsrc-2026Q3-base:1.1 pkgsrc-2026Q2:1.1.0.2 pkgsrc-2026Q2-base:1.1; locks; strict; comment @# @; 1.2 date 2026.10.04.15.52.48; author wiz; state Exp; branches; next 1.1; commitid 1dbVCeng8yk0WaYG; 1.1 date 2026.04.15.20.46.08; author wiz; state Exp; branches; next ; commitid w7ip4NTkD6Hs56CG; desc @@ 1.2 log @lua-cffi: fix PLIST for lua != 5.4 @ text @# $NetBSD: Makefile,v 1.1 2026/04/15 20:46:08 wiz Exp $ DISTNAME= cffi-lua-0.2.4 PKGNAME= ${DISTNAME:S/cffi-lua/lua-cffi/} CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GITHUB:=q66/} GITHUB_PROJECT= cffi-lua GITHUB_TAG= v${PKGVERSION_NOREV} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/q66/cffi-lua/ COMMENT= Portable C FFI for Lua LICENSE= mit USE_LANGUAGES= c++ USE_CXX_FEATURES= c++14 USE_TOOLS+= pkg-config WRKSRC= ${WRKDIR}/${DISTNAME} PLIST_SUBST+= LUA_VERSION=${_LUA_DOT_VERSION} .include "../../devel/libffi/buildlink3.mk" .include "../../devel/meson/build.mk" .include "../../lang/lua/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.1 log @devel/lua-cffi: import lua-cffi-0.2.4 Packaged by Yorick Hardy and myself in wip. This is a portable C FFI for Lua, based on `libffi` and aiming to be mostly compatible with LuaJIT FFI, but written from scratch. Compatibility is preserved where reasonable, but not where not easily implementable (e.g. the parser extensions for 64-bit `cdata` and so on). Thanks to `libffi`, it works on many operating systems and CPU architectures. The `cffi-lua` codebase itself does not contain any non-portable code (with the exception of things such as Windows calling convention handling on x86, and some adjustments for big endian architectures). @ text @d1 1 a1 1 # $NetBSD$ d20 2 @