shells/bash2-doc: fix location of HTML documentation

This commit is contained in:
rillig 2019-10-12 20:51:48 +00:00
parent 44e41e372f
commit ccace30e3a
2 changed files with 8 additions and 15 deletions

View file

@ -1,7 +1,8 @@
# $NetBSD: Makefile,v 1.16 2017/01/19 18:52:25 agc Exp $
# $NetBSD: Makefile,v 1.17 2019/10/12 20:51:48 rillig Exp $
DISTNAME= bash-doc-2.05b
PKGNAME= bash-doc-2.05.2
PKGREVISION= 1
CATEGORIES= shells
MASTER_SITES= ${MASTER_SITE_GNU:=bash/}
MASTER_SITES+= ftp://ftp.cwru.edu/pub/bash/
@ -19,20 +20,12 @@ NO_BUILD= yes
USE_TOOLS+= gzip
DOCDIR= ${PREFIX}/share/doc/bash
HTMLDIR= ${PREFIX}/share/doc/html/bash
DOCDIR_FILES= article.ps bashref.ps article.txt bash.html bashref.html
INSTALLATION_DIRS= ${DOCDIR} ${HTMLDIR}
INSTALLATION_DIRS= ${DOCDIR}
do-install:
${INSTALL_MAN} \
${WRKSRC}/article.ps \
${WRKSRC}/bashref.ps \
${WRKSRC}/article.txt \
${DESTDIR}${PREFIX}/share/doc/bash
${INSTALL_MAN} \
${WRKSRC}/bash.html \
${WRKSRC}/bashref.html \
${DESTDIR}${HTMLDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCDIR_FILES} ${DESTDIR}${DOCDIR}
${GZIP_CMD} ${DESTDIR}${DOCDIR}/*.ps
.include "../../mk/bsd.pkg.mk"

View file

@ -1,6 +1,6 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:14:20 joerg Exp $
@comment $NetBSD: PLIST,v 1.3 2019/10/12 20:51:48 rillig Exp $
share/doc/bash/article.ps.gz
share/doc/bash/article.txt
share/doc/bash/bash.html
share/doc/bash/bashref.html
share/doc/bash/bashref.ps.gz
share/doc/html/bash/bash.html
share/doc/html/bash/bashref.html