Created attachment 154317 [details] Tarball with port. Adding a port for Lua msgpack library. This library is being used by neovim. Addind this port to simplify neovim porting in future.
Suggested changes: - Use PORTVERSION instead of DISTVERSION - Add LICENSE_FILE - Add NO_BUILD to not call makefile unncecessary (which also leads to error message) - Add NO_ARCH - Modernize github usage (changes distinfo) - Add WWW diff -ruN lua-MessagePack.orig/Makefile lua-MessagePack/Makefile --- lua-MessagePack.orig/Makefile 2015-05-27 18:37:59.606375000 +0300 +++ lua-MessagePack/Makefile 2015-05-27 18:39:58.849520000 +0300 @@ -1,7 +1,7 @@ # $FreeBSD: $ PORTNAME= MessagePack -DISTVERSION= 0.3.2 +PORTVERSION= 0.3.2 CATEGORIES= devel PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} @@ -9,14 +9,15 @@ COMMENT= Efficient binary serialization format LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYRIGHT -USES= lua gmake +USES= lua gmake +NO_BUILD= yes +NO_ARCH= yes USE_GITHUB= yes GH_ACCOUNT= fperrad GH_PROJECT= lua-MessagePack -GH_TAGNAME= ${DISTVERSION} -GH_COMMIT= d81445e PLIST_FILES= %%LUA_MODSHAREDIR%%/${PORTNAME}.lua diff -ruN lua-MessagePack.orig/distinfo lua-MessagePack/distinfo --- lua-MessagePack.orig/distinfo 2015-05-27 18:37:59.606456000 +0300 +++ lua-MessagePack/distinfo 2015-05-27 18:38:36.469133000 +0300 @@ -1,2 +1,2 @@ -SHA256 (MessagePack-0.3.2.tar.gz) = e60e0d2e19406e76e9cb684a9fb8610a6433af862ee11db2e869be94079202b1 -SIZE (MessagePack-0.3.2.tar.gz) = 16028 +SHA256 (fperrad-lua-MessagePack-0.3.2_GH0.tar.gz) = 6580961958dd43455f7f74708514011e0aadf442167869fb60c53b018f041eac +SIZE (fperrad-lua-MessagePack-0.3.2_GH0.tar.gz) = 16003 diff -ruN lua-MessagePack.orig/pkg-descr lua-MessagePack/pkg-descr --- lua-MessagePack.orig/pkg-descr 2015-05-27 18:37:59.606293000 +0300 +++ lua-MessagePack/pkg-descr 2015-05-27 18:40:35.809011000 +0300 @@ -1,3 +1,5 @@ MessagePack is an efficient binary serialization format. It lets you exchange data among multiple languages like JSON but it's faster and smaller. It's a pure Lua implementation, without dependency. And it's really fast with LuaJIT. + +WWW: https://github.com/fperrad/lua-MessagePack
Is submitter OK with these changes?
(In reply to Dmitry Marakasov from comment #2) I am ok. Thank you these corrections.
A commit references this bug: Author: amdmi3 Date: Fri May 29 18:10:16 UTC 2015 New revision: 387875 URL: https://svnweb.freebsd.org/changeset/ports/387875 Log: MessagePack is an efficient binary serialization format. It lets you exchange data among multiple languages like JSON but it's faster and smaller. It's a pure Lua implementation, without dependency. And it's really fast with LuaJIT. WWW: https://github.com/fperrad/lua-MessagePack PR: 198591 Submitted by: oleksii.tsai@gmail.com Changes: head/devel/Makefile head/devel/lua-MessagePack/ head/devel/lua-MessagePack/Makefile head/devel/lua-MessagePack/distinfo head/devel/lua-MessagePack/pkg-descr