Ports using USES=lua:module or lua:flavors will be flavored. A range of supported lua versions can be set using XX-YY (or XX-, or -YY, or simply ZZ) for ports not supporting all lua versions. USES=lua sets LUA_FLAVOR that needs to be used on all dependencies of flavored lua ports, in a similar way as PHP or Python flavors. PR: 245038 Submitted by: andrew tao11 riddles org uk Reviewed by: mat, kevans, russ haley gmail com Approved by: mat (portmgr) Differential Revision: https://reviews.freebsd.org/D16494
33 lines
662 B
Makefile
33 lines
662 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= MessagePack
|
|
PORTVERSION= 0.3.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= oleksii.tsai@gmail.com
|
|
COMMENT= Efficient binary serialization format
|
|
|
|
BROKEN= unfetchable
|
|
DEPRECATED= Broken for more than 6 months
|
|
EXPIRATION_DATE= 2020-05-05
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
|
|
|
USES= lua:module
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= fperrad
|
|
GH_PROJECT= lua-MessagePack
|
|
|
|
PLIST_FILES= %%LUA_MODSHAREDIR%%/${PORTNAME}.lua
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${LUA_MODSHAREDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}.lua ${STAGEDIR}${LUA_MODSHAREDIR}
|
|
|
|
.include <bsd.port.mk>
|