summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2019-10-12 20:51:48 +0000
committerrillig <rillig@pkgsrc.org>2019-10-12 20:51:48 +0000
commitd4d1d44f9e963d4ad6ab277709c176348c1ca409 (patch)
tree6f6648711310e41161c32d6f8df9a1823a8540e6 /shells
parentaad031f2db391572aa22377007d58614063bd392 (diff)
downloadpkgsrc-d4d1d44f9e963d4ad6ab277709c176348c1ca409.tar.gz
shells/bash2-doc: fix location of HTML documentation
Diffstat (limited to 'shells')
-rw-r--r--shells/bash2-doc/Makefile17
-rw-r--r--shells/bash2-doc/PLIST6
2 files changed, 8 insertions, 15 deletions
diff --git a/shells/bash2-doc/Makefile b/shells/bash2-doc/Makefile
index 7b2eeb1be54..6c1692d5f8e 100644
--- a/shells/bash2-doc/Makefile
+++ b/shells/bash2-doc/Makefile
@@ -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"
diff --git a/shells/bash2-doc/PLIST b/shells/bash2-doc/PLIST
index 77e9dcbc5ee..b8d9df91ff6 100644
--- a/shells/bash2-doc/PLIST
+++ b/shells/bash2-doc/PLIST
@@ -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