pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/tut net/toot: do not install unneeded template file.
details: https://anonhg.NetBSD.org/pkgsrc/rev/6291a4861934
branches: trunk
changeset: 391033:6291a4861934
user: vins <vins%pkgsrc.org@localhost>
date: Tue Jan 03 00:11:35 2023 +0000
description:
net/toot: do not install unneeded template file.
In addition:
* Some cosmetic Makefile changes (NFC).
* Bump revision.
diffstat:
net/tut/Makefile | 23 +++++++++++++----------
net/tut/PLIST | 3 +--
2 files changed, 14 insertions(+), 12 deletions(-)
diffs (62 lines):
diff -r aecd9a9f14a0 -r 6291a4861934 net/tut/Makefile
--- a/net/tut/Makefile Tue Jan 03 00:09:39 2023 +0000
+++ b/net/tut/Makefile Tue Jan 03 00:11:35 2023 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2022/12/30 03:26:29 sjmulder Exp $
+# $NetBSD: Makefile,v 1.9 2023/01/03 00:11:35 vins Exp $
DISTNAME= tut-1.0.31
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=RasmusLindroth/}
GITHUB_TAG= ${PKGVERSION_NOREV}
@@ -10,8 +11,10 @@
COMMENT= TUI for Mastodon with shellout
LICENSE= mit
-EGDIR= ${PREFIX}/share/examples/tut
-DOCDIR= ${PREFIX}/share/doc/tut
+EGS= config.example.ini config/toot.tmpl config/user.tmpl
+EGDIR= share/examples/${PKGBASE}
+DOCDIR= share/doc/${PKGBASE}
+
INSTALLATION_DIRS+= ${EGDIR} ${EGDIR}/themes ${DOCDIR}
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
@@ -19,13 +22,13 @@
INSTALLATION_DIRS+= ${PKGMANDIR}/man7
post-install:
- ${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${DOCDIR}
-.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
+ ${INSTALL_DATA} ${WRKSRC}/README.md \
+ ${DESTDIR}${PREFIX}/${DOCDIR}
+ ${INSTALL_DATA} ${EGS:S|^|${WRKSRC}/|} \
+ ${DESTDIR}${PREFIX}/${EGDIR}
+.for t in *.ini
+ ${INSTALL_DATA} ${WRKSRC}/config/themes/${t} \
+ ${DESTDIR}${PREFIX}/${EGDIR}/themes
.endfor
${INSTALL_DATA} ${WRKSRC}/docs/man/tut.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
diff -r aecd9a9f14a0 -r 6291a4861934 net/tut/PLIST
--- a/net/tut/PLIST Tue Jan 03 00:09:39 2023 +0000
+++ b/net/tut/PLIST Tue Jan 03 00:11:35 2023 +0000
@@ -1,11 +1,10 @@
-@comment $NetBSD: PLIST,v 1.4 2022/12/30 03:26:29 sjmulder Exp $
+@comment $NetBSD: PLIST,v 1.5 2023/01/03 00:11:35 vins Exp $
bin/tut
man/man1/tut.1
man/man5/tut.5
man/man7/tut.7
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
Home |
Main Index |
Thread Index |
Old Index