pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/tut net/tut: Also install sample themes.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0d8e46f5ce07
branches:  trunk
changeset: 389630:0d8e46f5ce07
user:      vins <vins%pkgsrc.org@localhost>
date:      Tue Dec 06 21:33:03 2022 +0000

description:
net/tut: Also install sample themes.

diffstat:

 net/tut/Makefile |  10 +++++++---
 net/tut/PLIST    |   6 +++++-
 2 files changed, 12 insertions(+), 4 deletions(-)

diffs (44 lines):

diff -r 380fa9df0949 -r 0d8e46f5ce07 net/tut/Makefile
--- a/net/tut/Makefile  Tue Dec 06 21:06:51 2022 +0000
+++ b/net/tut/Makefile  Tue Dec 06 21:33:03 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2022/11/30 13:34:02 sjmulder Exp $
+# $NetBSD: Makefile,v 1.6 2022/12/06 21:33:03 vins Exp $
 
 DISTNAME=      tut-1.0.24
 CATEGORIES=    net
@@ -13,13 +13,17 @@
 EGDIR=         ${PREFIX}/share/examples/tut
 DOCDIR=                ${PREFIX}/share/doc/tut
 
-INSTALLATION_DIRS+=    ${EGDIR} ${DOCDIR}
+INSTALLATION_DIRS+=    ${EGDIR} ${EGDIR}/themes ${DOCDIR}
 
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${DOCDIR}
-.for i in config.example.ini config/toot.tmpl config/user.tmpl
+.for i in config.example.ini config/*.tmpl
        ${INSTALL_DATA} ${WRKSRC}/${i} ${DESTDIR}${EGDIR}
 .endfor
+.for t in themes/*
+       ${INSTALL_DATA} ${WRKSRC}/config/${t}                   \
+               ${DESTDIR}${EGDIR}/themes
+.endfor
 
 .include "go-modules.mk"
 
diff -r 380fa9df0949 -r 0d8e46f5ce07 net/tut/PLIST
--- a/net/tut/PLIST     Tue Dec 06 21:06:51 2022 +0000
+++ b/net/tut/PLIST     Tue Dec 06 21:33:03 2022 +0000
@@ -1,6 +1,10 @@
-@comment $NetBSD: PLIST,v 1.2 2022/11/25 17:22:07 sjmulder Exp $
+@comment $NetBSD: PLIST,v 1.3 2022/12/06 21:33:03 vins Exp $
 bin/tut
 share/doc/tut/README.md
 share/examples/tut/config.example.ini
+share/examples/tut/help.tmpl
+share/examples/tut/themes/default.ini
+share/examples/tut/themes/nord.ini
+share/examples/tut/themes/papercolor-light.ini
 share/examples/tut/toot.tmpl
 share/examples/tut/user.tmpl



Home | Main Index | Thread Index | Old Index