git: 577e953f2104 - main - lang/lua54: Impelled to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Jan 2024 14:51:39 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=577e953f2104305467c48a47d18f75eeba824e25 commit 577e953f2104305467c48a47d18f75eeba824e25 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-01-23 14:11:57 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-01-23 14:51:23 +0000 lang/lua54: Impelled to share/man Approved by: portmgr (blanket) --- lang/lua54/Makefile | 11 +++++++---- lang/lua54/pkg-plist | 4 ++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/lang/lua54/Makefile b/lang/lua54/Makefile index e70752886292..0f26b76890c3 100644 --- a/lang/lua54/Makefile +++ b/lang/lua54/Makefile @@ -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 diff --git a/lang/lua54/pkg-plist b/lang/lua54/pkg-plist index caf138a55de4..8c560b09a74f 100644 --- a/lang/lua54/pkg-plist +++ b/lang/lua54/pkg-plist @@ -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%%