summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorvins <vins@pkgsrc.org>2022-12-06 21:33:03 +0000
committervins <vins@pkgsrc.org>2022-12-06 21:33:03 +0000
commit59fa5cf6e41d97dbdc1d1f071126ecd0cdc20278 (patch)
tree4286e8a46cfdfc0b48927a539f35421cea05a185 /net
parent0d629bfc75dbac45d187904ff67e979897d7867a (diff)
downloadpkgsrc-59fa5cf6e41d97dbdc1d1f071126ecd0cdc20278.tar.gz
net/tut: Also install sample themes.
Diffstat (limited to 'net')
-rw-r--r--net/tut/Makefile10
-rw-r--r--net/tut/PLIST6
2 files changed, 12 insertions, 4 deletions
diff --git a/net/tut/Makefile b/net/tut/Makefile
index 74a2d16f15d..b9d84643cb1 100644
--- a/net/tut/Makefile
+++ b/net/tut/Makefile
@@ -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 @@ LICENSE= mit
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 --git a/net/tut/PLIST b/net/tut/PLIST
index 733ed4a891f..e6d5a85bb7e 100644
--- a/net/tut/PLIST
+++ b/net/tut/PLIST
@@ -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