summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2016-12-18 19:17:44 +0000
committermaya <maya@pkgsrc.org>2016-12-18 19:17:44 +0000
commit6b566356ecc2254799387420399deafa8dad45b2 (patch)
treeb87c85201877b8ab9c4324caceb9979ef2e4138c /misc
parent12c9923c008d9b0138fdba53b1dce754cfc115bf (diff)
downloadpkgsrc-6b566356ecc2254799387420399deafa8dad45b2.tar.gz
ansiweather: install to the mandir. you saw nothing.
appease pkglint a little.
Diffstat (limited to 'misc')
-rw-r--r--misc/ansiweather/Makefile11
-rw-r--r--misc/ansiweather/PLIST4
2 files changed, 9 insertions, 6 deletions
diff --git a/misc/ansiweather/Makefile b/misc/ansiweather/Makefile
index a3365ed4471..99089705751 100644
--- a/misc/ansiweather/Makefile
+++ b/misc/ansiweather/Makefile
@@ -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}
diff --git a/misc/ansiweather/PLIST b/misc/ansiweather/PLIST
index 082db789c8c..5b152611ee0 100644
--- a/misc/ansiweather/PLIST
+++ b/misc/ansiweather/PLIST
@@ -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