summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authormaya <maya>2016-12-18 19:17:44 +0000
committermaya <maya>2016-12-18 19:17:44 +0000
commitf2e83ad8a2d6734903cd6f081a1c32f72d178641 (patch)
treeb1ce3d12a7a793f38928c3e2198188f4ed7c6059 /misc
parent36a3bdfeb200e804b4fc3f18042dee3aeac1bff3 (diff)
downloadpkgsrc-f2e83ad8a2d6734903cd6f081a1c32f72d178641.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