git: c9227759d767 - main - lang/lua51: Impelled to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Jan 2024 14:51:41 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=c9227759d767b51903d69922492b34ea415d4c19 commit c9227759d767b51903d69922492b34ea415d4c19 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-01-23 14:16:50 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-01-23 14:51:24 +0000 lang/lua51: Impelled to share/man Approved by: portmgr (blanket) --- lang/lua51/Makefile | 12 +++++++----- lang/lua51/pkg-plist | 4 ++-- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/lang/lua51/Makefile b/lang/lua51/Makefile index 89edec6df331..245ae8eeb36c 100644 --- a/lang/lua51/Makefile +++ b/lang/lua51/Makefile @@ -1,6 +1,6 @@ PORTNAME= lua PORTVERSION= 5.1.5 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= lang MASTER_SITES= http://www.lua.org/ftp/ PKGNAMESUFFIX= 51 @@ -62,13 +62,15 @@ post-patch: s|^(INSTALL_LMOD=).*|\1 ${LUA_MODSHAREDIR}| ; \ s|llua|llua-${LUA_VER}|' \ ${WRKSRC}/etc/lua.pc + @${REINPLACE_CMD} -e "s|man/man|share/man/man|g" \ + ${WRKSRC}/Makefile post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblua-${LUA_VER}.so - @${MV} ${STAGEDIR}${PREFIX}/man/man1/lua.1 \ - ${STAGEDIR}${PREFIX}/man/man1/lua51.1 - @${MV} ${STAGEDIR}${PREFIX}/man/man1/luac.1 \ - ${STAGEDIR}${PREFIX}/man/man1/luac51.1 + @${MV} ${STAGEDIR}${PREFIX}/share/man/man1/lua.1 \ + ${STAGEDIR}${PREFIX}/share/man/man1/lua51.1 + @${MV} ${STAGEDIR}${PREFIX}/share/man/man1/luac.1 \ + ${STAGEDIR}${PREFIX}/share/man/man1/luac51.1 ${INSTALL_DATA} ${WRKSRC}/etc/lua.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/lua-${LUA_VER}.pc diff --git a/lang/lua51/pkg-plist b/lang/lua51/pkg-plist index d7d501aa6c9c..9e25e6b0cf79 100644 --- a/lang/lua51/pkg-plist +++ b/lang/lua51/pkg-plist @@ -8,7 +8,7 @@ include/lua51/lualib.h lib/liblua-5.1.a lib/liblua-5.1.so libdata/pkgconfig/lua-5.1.pc -man/man1/lua51.1.gz -man/man1/luac51.1.gz +share/man/man1/lua51.1.gz +share/man/man1/luac51.1.gz @dir lib/lua/5.1 @dir %%DATADIR%%/5.1