pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/ansiweather



Module Name:    pkgsrc
Committed By:   maya
Date:           Sun Dec 18 19:17:44 UTC 2016

Modified Files:
        pkgsrc/misc/ansiweather: Makefile PLIST

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


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/misc/ansiweather/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/misc/ansiweather/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/misc/ansiweather/Makefile
diff -u pkgsrc/misc/ansiweather/Makefile:1.5 pkgsrc/misc/ansiweather/Makefile:1.6
--- pkgsrc/misc/ansiweather/Makefile:1.5        Sun Dec 18 18:57:05 2016
+++ pkgsrc/misc/ansiweather/Makefile    Sun Dec 18 19:17:44 2016
@@ -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 @@ EGDIR=              share/examples/ansiweather
 
 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}
 

Index: pkgsrc/misc/ansiweather/PLIST
diff -u pkgsrc/misc/ansiweather/PLIST:1.2 pkgsrc/misc/ansiweather/PLIST:1.3
--- pkgsrc/misc/ansiweather/PLIST:1.2   Sun Dec 18 18:57:05 2016
+++ pkgsrc/misc/ansiweather/PLIST       Sun Dec 18 19:17:44 2016
@@ -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