Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel Use LUA_DOCDIR



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2bc4671830f5
branches:  trunk
changeset: 435577:2bc4671830f5
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Jul 09 15:03:35 2020 +0000

description:
Use LUA_DOCDIR

diffstat:

 devel/lua-loadkit/Makefile   |   7 +++--
 devel/lua-loadkit/PLIST      |   4 +-
 devel/lua-mimetypes/Makefile |   7 +++--
 devel/lua-mimetypes/PLIST    |   4 +-
 devel/lua-sdl2/Makefile      |   5 ++-
 devel/lua-sdl2/PLIST         |  56 ++++++++++++++++++++++----------------------
 6 files changed, 43 insertions(+), 40 deletions(-)

diffs (159 lines):

diff -r b506b583149c -r 2bc4671830f5 devel/lua-loadkit/Makefile
--- a/devel/lua-loadkit/Makefile        Thu Jul 09 15:01:53 2020 +0000
+++ b/devel/lua-loadkit/Makefile        Thu Jul 09 15:03:35 2020 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2020/07/09 13:34:02 nia Exp $
+# $NetBSD: Makefile,v 1.2 2020/07/09 15:03:35 nia Exp $
 
 DISTNAME=      loadkit-1.1.0
 PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel lua
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=leafo/}
 GITHUB_PROJECT=        loadkit
@@ -16,11 +17,11 @@
 NO_BUILD=      yes
 
 INSTALLATION_DIRS+=    ${LUA_LDIR}
-INSTALLATION_DIRS+=    share/doc/${PKGNAME_NOREV}
+INSTALLATION_DIRS+=    ${LUA_DOCDIR}
 
 do-install:
        ${INSTALL_DATA} ${WRKSRC}/README.md \
-               ${DESTDIR}${PREFIX}/share/doc/${PKGNAME_NOREV}
+               ${DESTDIR}${PREFIX}/${LUA_DOCDIR}
        ${INSTALL_DATA} ${WRKSRC}/loadkit.lua \
                ${DESTDIR}${PREFIX}/${LUA_LDIR}/loadkit.lua
 
diff -r b506b583149c -r 2bc4671830f5 devel/lua-loadkit/PLIST
--- a/devel/lua-loadkit/PLIST   Thu Jul 09 15:01:53 2020 +0000
+++ b/devel/lua-loadkit/PLIST   Thu Jul 09 15:03:35 2020 +0000
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1 2020/07/09 13:34:02 nia Exp $
-share/doc/${PKGNAME}/README.md
+@comment $NetBSD: PLIST,v 1.2 2020/07/09 15:03:35 nia Exp $
+${LUA_DOCDIR}/README.md
 ${LUA_LDIR}/loadkit.lua
diff -r b506b583149c -r 2bc4671830f5 devel/lua-mimetypes/Makefile
--- a/devel/lua-mimetypes/Makefile      Thu Jul 09 15:01:53 2020 +0000
+++ b/devel/lua-mimetypes/Makefile      Thu Jul 09 15:03:35 2020 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2020/07/09 13:15:45 nia Exp $
+# $NetBSD: Makefile,v 1.2 2020/07/09 15:03:35 nia Exp $
 
 DISTNAME=      lua-mimetypes-1.0.0
 PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME:S/lua-//1}
+PKGREVISION=   1
 CATEGORIES=    devel lua
 MASTER_SITES=  -https://bitbucket.org/leafstorm/lua-mimetypes/get/v${PKGVERSION_NOREV}.tar.gz
 
@@ -15,11 +16,11 @@
 NO_BUILD=      yes
 
 INSTALLATION_DIRS+=    ${LUA_LDIR}
-INSTALLATION_DIRS+=    share/doc/${PKGNAME_NOREV}
+INSTALLATION_DIRS+=    ${LUA_DOCDIR}
 
 do-install:
        ${INSTALL_DATA} ${WRKSRC}/README \
-               ${DESTDIR}${PREFIX}/share/doc/${PKGNAME_NOREV}
+               ${DESTDIR}${PREFIX}/${LUA_DOCDIR}
        ${INSTALL_DATA} ${WRKSRC}/mimetypes.lua \
                ${DESTDIR}${PREFIX}/${LUA_LDIR}/mimetypes.lua
 
diff -r b506b583149c -r 2bc4671830f5 devel/lua-mimetypes/PLIST
--- a/devel/lua-mimetypes/PLIST Thu Jul 09 15:01:53 2020 +0000
+++ b/devel/lua-mimetypes/PLIST Thu Jul 09 15:03:35 2020 +0000
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1 2020/07/09 13:15:45 nia Exp $
-share/doc/${PKGNAME}/README
+@comment $NetBSD: PLIST,v 1.2 2020/07/09 15:03:35 nia Exp $
+${LUA_DOCDIR}/README
 ${LUA_LDIR}/mimetypes.lua
diff -r b506b583149c -r 2bc4671830f5 devel/lua-sdl2/Makefile
--- a/devel/lua-sdl2/Makefile   Thu Jul 09 15:01:53 2020 +0000
+++ b/devel/lua-sdl2/Makefile   Thu Jul 09 15:03:35 2020 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2020/07/09 10:04:25 nia Exp $
+# $NetBSD: Makefile,v 1.2 2020/07/09 15:03:35 nia Exp $
 
 DISTNAME=      luasdl2-2.0.5.6.0
 PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME:S/^lua//1}
+PKGREVISION=   1
 CATEGORIES=    devel lua
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=Tangent128/}
 GITHUB_PROJECT=        luasdl2
@@ -15,7 +16,7 @@
 USE_CMAKE=     yes
 USE_LANGUAGES= c c++
 
-CMAKE_ARGS+=   -DWITH_DOCSDIR="share/doc/${PKGNAME_NOREV}"
+CMAKE_ARGS+=   -DWITH_DOCSDIR=${LUA_DOCDIR}
 CMAKE_ARGS+=   -DWITH_LUAVER="user"
 CMAKE_ARGS+=   -DLUA_LIBDIR=${LUA_CDIR}
 
diff -r b506b583149c -r 2bc4671830f5 devel/lua-sdl2/PLIST
--- a/devel/lua-sdl2/PLIST      Thu Jul 09 15:01:53 2020 +0000
+++ b/devel/lua-sdl2/PLIST      Thu Jul 09 15:03:35 2020 +0000
@@ -1,33 +1,33 @@
-@comment $NetBSD: PLIST,v 1.1 2020/07/09 10:04:25 nia Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/07/09 15:03:35 nia Exp $
 ${LUA_CDIR}/SDL.so
 ${LUA_CDIR}/SDL/image.so
 ${LUA_CDIR}/SDL/mixer.so
 ${LUA_CDIR}/SDL/net.so
 ${LUA_CDIR}/SDL/ttf.so
-share/doc/${PKGNAME}/examples/audio/audio-processor.lua
-share/doc/${PKGNAME}/examples/audio/audio.lua
-share/doc/${PKGNAME}/examples/audio/gun.wav
-share/doc/${PKGNAME}/examples/font/DejaVuSans.ttf
-share/doc/${PKGNAME}/examples/font/font.lua
-share/doc/${PKGNAME}/examples/image/Lua-SDL2.png
-share/doc/${PKGNAME}/examples/image/image.lua
-share/doc/${PKGNAME}/examples/joystick/joystick.lua
-share/doc/${PKGNAME}/examples/keyboard/keyboard.lua
-share/doc/${PKGNAME}/examples/paths/paths.lua
-share/doc/${PKGNAME}/examples/rwops/rwops.lua
-share/doc/${PKGNAME}/examples/tcp/client.lua
-share/doc/${PKGNAME}/examples/tcp/server.lua
-share/doc/${PKGNAME}/examples/threads/channel.lua
-share/doc/${PKGNAME}/examples/udp/client.lua
-share/doc/${PKGNAME}/examples/udp/server.lua
-share/doc/${PKGNAME}/tutorials/01-initialization/tutorial.lua
-share/doc/${PKGNAME}/tutorials/02-window/tutorial.lua
-share/doc/${PKGNAME}/tutorials/03-events/tutorial.lua
-share/doc/${PKGNAME}/tutorials/04-drawing/Lua-SDL2.png
-share/doc/${PKGNAME}/tutorials/04-drawing/tutorial.lua
-share/doc/${PKGNAME}/tutorials/05-sound/gun.wav
-share/doc/${PKGNAME}/tutorials/05-sound/tutorial.lua
-share/doc/${PKGNAME}/tutorials/06-text/DejaVuSans.ttf
-share/doc/${PKGNAME}/tutorials/06-text/tutorial.lua
-share/doc/${PKGNAME}/tutorials/07-bouncing/Lua-SDL2.png
-share/doc/${PKGNAME}/tutorials/07-bouncing/tutorial.lua
+${LUA_DOCDIR}/examples/audio/audio-processor.lua
+${LUA_DOCDIR}/examples/audio/audio.lua
+${LUA_DOCDIR}/examples/audio/gun.wav
+${LUA_DOCDIR}/examples/font/DejaVuSans.ttf
+${LUA_DOCDIR}/examples/font/font.lua
+${LUA_DOCDIR}/examples/image/Lua-SDL2.png
+${LUA_DOCDIR}/examples/image/image.lua
+${LUA_DOCDIR}/examples/joystick/joystick.lua
+${LUA_DOCDIR}/examples/keyboard/keyboard.lua
+${LUA_DOCDIR}/examples/paths/paths.lua
+${LUA_DOCDIR}/examples/rwops/rwops.lua
+${LUA_DOCDIR}/examples/tcp/client.lua
+${LUA_DOCDIR}/examples/tcp/server.lua
+${LUA_DOCDIR}/examples/threads/channel.lua
+${LUA_DOCDIR}/examples/udp/client.lua
+${LUA_DOCDIR}/examples/udp/server.lua
+${LUA_DOCDIR}/tutorials/01-initialization/tutorial.lua
+${LUA_DOCDIR}/tutorials/02-window/tutorial.lua
+${LUA_DOCDIR}/tutorials/03-events/tutorial.lua
+${LUA_DOCDIR}/tutorials/04-drawing/Lua-SDL2.png
+${LUA_DOCDIR}/tutorials/04-drawing/tutorial.lua
+${LUA_DOCDIR}/tutorials/05-sound/gun.wav
+${LUA_DOCDIR}/tutorials/05-sound/tutorial.lua
+${LUA_DOCDIR}/tutorials/06-text/DejaVuSans.ttf
+${LUA_DOCDIR}/tutorials/06-text/tutorial.lua
+${LUA_DOCDIR}/tutorials/07-bouncing/Lua-SDL2.png
+${LUA_DOCDIR}/tutorials/07-bouncing/tutorial.lua



Home | Main Index | Thread Index | Old Index