pkgsrc-Changes archive

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

CVS commit: pkgsrc/shells/bash2-doc



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sat Oct 12 20:51:48 UTC 2019

Modified Files:
        pkgsrc/shells/bash2-doc: Makefile PLIST

Log Message:
shells/bash2-doc: fix location of HTML documentation


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/shells/bash2-doc/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/shells/bash2-doc/PLIST

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

Modified files:

Index: pkgsrc/shells/bash2-doc/Makefile
diff -u pkgsrc/shells/bash2-doc/Makefile:1.16 pkgsrc/shells/bash2-doc/Makefile:1.17
--- pkgsrc/shells/bash2-doc/Makefile:1.16       Thu Jan 19 18:52:25 2017
+++ pkgsrc/shells/bash2-doc/Makefile    Sat Oct 12 20:51:48 2019
@@ -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"

Index: pkgsrc/shells/bash2-doc/PLIST
diff -u pkgsrc/shells/bash2-doc/PLIST:1.2 pkgsrc/shells/bash2-doc/PLIST:1.3
--- pkgsrc/shells/bash2-doc/PLIST:1.2   Sun Jun 14 18:14:20 2009
+++ pkgsrc/shells/bash2-doc/PLIST       Sat Oct 12 20:51:48 2019
@@ -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



Home | Main Index | Thread Index | Old Index