mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
lang/lua54: Impelled to share/man
Approved by: portmgr (blanket)
This commit is contained in:
parent
11431fb537
commit
577e953f21
@ -1,5 +1,6 @@
|
||||
PORTNAME= lua
|
||||
DISTVERSION= 5.4.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= https://www.lua.org/ftp/
|
||||
PKGNAMESUFFIX= ${LUA_VER_STR}
|
||||
@ -123,6 +124,8 @@ READLINE_LIBS= -lreadline
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "/LUA_ROOT/s,/usr/local,${LUA_PREFIX}," \
|
||||
${WRKSRC}/src/luaconf.h
|
||||
@${REINPLACE_CMD} -e "s|man/man|share/man/man|g" \
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
post-patch-LIBEDIT-on:
|
||||
@${REINPLACE_CMD} -e "s,readline/,editline/,g ; \
|
||||
@ -135,10 +138,10 @@ post-patch-LIBEDIT_DL-on:
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${LUA_LIB_SHARED}
|
||||
${MV} ${STAGEDIR}${PREFIX}/man/man1/lua.1 \
|
||||
${STAGEDIR}${PREFIX}/man/man1/${LUA_CMD}.1
|
||||
${MV} ${STAGEDIR}${PREFIX}/man/man1/luac.1 \
|
||||
${STAGEDIR}${PREFIX}/man/man1/${LUAC_CMD}.1
|
||||
${MV} ${STAGEDIR}${PREFIX}/share/man/man1/lua.1 \
|
||||
${STAGEDIR}${PREFIX}/share/man/man1/${LUA_CMD}.1
|
||||
${MV} ${STAGEDIR}${PREFIX}/share/man/man1/luac.1 \
|
||||
${STAGEDIR}${PREFIX}/share/man/man1/${LUAC_CMD}.1
|
||||
${INSTALL_DATA} ${WRKDIR}/${LUA_PC_FILE} \
|
||||
${STAGEDIR}${PREFIX}/libdata/pkgconfig
|
||||
|
||||
|
@ -8,7 +8,7 @@ bin/luac%%LUA_VER_STR%%
|
||||
lib/liblua-%%LUA_VER%%.a
|
||||
lib/liblua-%%LUA_VER%%.so
|
||||
libdata/pkgconfig/lua-%%LUA_VER%%.pc
|
||||
man/man1/lua%%LUA_VER_STR%%.1.gz
|
||||
man/man1/luac%%LUA_VER_STR%%.1.gz
|
||||
share/man/man1/lua%%LUA_VER_STR%%.1.gz
|
||||
share/man/man1/luac%%LUA_VER_STR%%.1.gz
|
||||
@dir %%LUA_MODLIBDIR%%
|
||||
@dir %%LUA_MODSHAREDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user