append the lua version to the installed scripts
This commit is contained in:
parent
842f7191a1
commit
d9d9ee6706
@ -1,10 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2013/03/11 10:50:11 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2013/07/19 12:02:48 jasper Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= JSON support for Lua
|
||||
|
||||
DISTNAME= lua-cjson-2.1.0
|
||||
REVISION= 0
|
||||
CATEGORIES= devel
|
||||
|
||||
HOMEPAGE= http://www.kyne.com.au/~mark/software/lua-cjson.php
|
||||
@ -25,6 +26,8 @@ do-install:
|
||||
${INSTALL_DATA_DIR} ${MODLUA_LIBDIR} ${MODLUA_DATADIR}/cjson/
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/cjson.so ${MODLUA_LIBDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/lua/cjson/util.lua ${MODLUA_DATADIR}/cjson/
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/lua/*.lua ${PREFIX}/bin/
|
||||
.for s in json2lua lua2json
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/lua/$s.lua ${PREFIX}/bin/$s.lua${MODLUA_VERSION}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,6 +1,6 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/11/26 09:52:13 jasper Exp $
|
||||
bin/json2lua.lua
|
||||
bin/lua2json.lua
|
||||
@comment $OpenBSD: PLIST,v 1.2 2013/07/19 12:02:48 jasper Exp $
|
||||
bin/json2lua.lua${MODLUA_VERSION}
|
||||
bin/lua2json.lua${MODLUA_VERSION}
|
||||
lib/lua/${MODLUA_VERSION}/cjson.so
|
||||
share/lua/${MODLUA_VERSION}/cjson/
|
||||
share/lua/${MODLUA_VERSION}/cjson/util.lua
|
||||
|
Loading…
Reference in New Issue
Block a user