pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/ansiweather ansiweather: install to the mandir. y...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/335eaf172066
branches:  trunk
changeset: 356085:335eaf172066
user:      maya <maya%pkgsrc.org@localhost>
date:      Sun Dec 18 19:17:44 2016 +0000

description:
ansiweather: install to the mandir. you saw nothing.
appease pkglint a little.

diffstat:

 misc/ansiweather/Makefile |  11 +++++++----
 misc/ansiweather/PLIST    |   4 ++--
 2 files changed, 9 insertions(+), 6 deletions(-)

diffs (48 lines):

diff -r 0f49695d1865 -r 335eaf172066 misc/ansiweather/Makefile
--- a/misc/ansiweather/Makefile Sun Dec 18 19:00:34 2016 +0000
+++ b/misc/ansiweather/Makefile Sun Dec 18 19:17:44 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2016/12/18 18:57:05 maya Exp $
+# $NetBSD: Makefile,v 1.6 2016/12/18 19:17:44 maya Exp $
 
 DISTNAME=      ansiweather-1.09
 CATEGORIES=    misc
@@ -26,18 +26,21 @@
 
 CONF_FILES+=   ${EGDIR}/ansiweatherrc.example ${PKG_SYSCONFDIR}/ansiweatherrc
 
-SUBST_CLASSES+=                config shebang
+SUBST_CLASSES+=                config
 SUBST_FILES.config=    ansiweather
 SUBST_SED.config=      -e 's,~/.ansiweatherrc,${PKG_SYSCONFDIR}/ansiweatherrc,'
 SUBST_STAGE.config=    post-patch
 
-AUTO_MKDIRS=   yes
+AUTO_MKDIRS=           yes
+INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
 
 do-install:
        ${RUN}${INSTALL_PROGRAM} ${WRKSRC}/ansiweather ${DESTDIR}${PREFIX}/bin
-.for f in AUTHORS ChangeLog README.md ansiweather.plugin.zsh ansiweather.1
+.for f in AUTHORS ChangeLog README.md ansiweather.plugin.zsh
        ${RUN}${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${DOCDIR}
 .endfor
+       ${RUN}${INSTALL_MAN} ${WRKSRC}/ansiweather.1 \
+                            ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
        ${RUN}${INSTALL_DATA} ${WRKSRC}/ansiweatherrc.example \
                              ${DESTDIR}${PREFIX}/${EGDIR}
 
diff -r 0f49695d1865 -r 335eaf172066 misc/ansiweather/PLIST
--- a/misc/ansiweather/PLIST    Sun Dec 18 19:00:34 2016 +0000
+++ b/misc/ansiweather/PLIST    Sun Dec 18 19:17:44 2016 +0000
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.2 2016/12/18 18:57:05 maya Exp $
+@comment $NetBSD: PLIST,v 1.3 2016/12/18 19:17:44 maya Exp $
 bin/ansiweather
+man/man1/ansiweather.1
 share/doc/ansiweather/AUTHORS
 share/doc/ansiweather/ChangeLog
 share/doc/ansiweather/README.md
-share/doc/ansiweather/ansiweather.1
 share/doc/ansiweather/ansiweather.plugin.zsh
 share/examples/ansiweather/ansiweatherrc.example



Home | Main Index | Thread Index | Old Index