pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel Move documentation to where it belongs, bump PKG...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/90e40d211b1f
branches:  trunk
changeset: 373663:90e40d211b1f
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Jan 07 21:08:10 2018 +0000

description:
Move documentation to where it belongs, bump PKGREVISION.

diffstat:

 devel/adocman/Makefile      |  20 ++++++++------------
 devel/adocman/PLIST         |  12 ++++++------
 devel/darts/Makefile        |  29 +++++++++--------------------
 devel/darts/PLIST           |   6 +++---
 devel/haskell-mode/Makefile |   8 ++++----
 devel/haskell-mode/PLIST    |  12 ++++++------
 6 files changed, 36 insertions(+), 51 deletions(-)

diffs (179 lines):

diff -r dd41063230b2 -r 90e40d211b1f devel/adocman/Makefile
--- a/devel/adocman/Makefile    Sun Jan 07 21:02:49 2018 +0000
+++ b/devel/adocman/Makefile    Sun Jan 07 21:08:10 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.24 2016/07/09 06:38:04 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2018/01/07 21:08:10 rillig Exp $
 #
 
 DISTNAME=      adocman-0.10
-PKGREVISION=   10
+PKGREVISION=   11
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=sitedocs/}
 
@@ -16,22 +16,18 @@
 NO_BUILD=              yes
 PERL5_CONFIGURE=       no
 REPLACE_PERL=          adocman xml_export
-
-INSTALLATION_DIRS=     bin
+AUTO_MKDIRS=           yes
 
 do-install:
        ${INSTALL_SCRIPT} ${WRKSRC}/adocman ${DESTDIR}${PREFIX}/bin
        ${INSTALL_SCRIPT} ${WRKSRC}/xml_export ${DESTDIR}${PREFIX}/bin
        ${INSTALL_SCRIPT_DIR} ${DESTDIR}${PERL5_INSTALLVENDORLIB}/Alexandria
-.for f in Client.pm Docman.pm
-       ${INSTALL_SCRIPT} ${WRKSRC}/Alexandria/${f} \
+       cd ${WRKSRC}/Alexandria && ${INSTALL_SCRIPT} \
+               Client.pm Docman.pm \
                ${DESTDIR}${PERL5_INSTALLVENDORLIB}/Alexandria
-.endfor
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/html/adocman
-.for f in LICENSE README TODO adocman.html xml_export.html
-       ${INSTALL_DATA} ${WRKSRC}/${f} \
-               ${DESTDIR}${PREFIX}/share/doc/html/adocman
-.endfor
+       cd ${WRKSRC} && ${INSTALL_DATA} \
+               LICENSE README TODO adocman.html xml_export.html \
+               ${DESTDIR}${PREFIX}/share/doc/adocman
 
 .include "../../lang/perl5/module.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r dd41063230b2 -r 90e40d211b1f devel/adocman/PLIST
--- a/devel/adocman/PLIST       Sun Jan 07 21:02:49 2018 +0000
+++ b/devel/adocman/PLIST       Sun Jan 07 21:08:10 2018 +0000
@@ -1,10 +1,10 @@
-@comment $NetBSD: PLIST,v 1.3 2009/06/14 17:48:32 joerg Exp $
+@comment $NetBSD: PLIST,v 1.4 2018/01/07 21:08:10 rillig Exp $
 bin/adocman
 bin/xml_export
 ${PERL5_SUB_INSTALLVENDORLIB}/Alexandria/Client.pm
 ${PERL5_SUB_INSTALLVENDORLIB}/Alexandria/Docman.pm
-share/doc/html/adocman/LICENSE
-share/doc/html/adocman/README
-share/doc/html/adocman/TODO
-share/doc/html/adocman/adocman.html
-share/doc/html/adocman/xml_export.html
+share/doc/adocman/LICENSE
+share/doc/adocman/README
+share/doc/adocman/TODO
+share/doc/adocman/adocman.html
+share/doc/adocman/xml_export.html
diff -r dd41063230b2 -r 90e40d211b1f devel/darts/Makefile
--- a/devel/darts/Makefile      Sun Jan 07 21:02:49 2018 +0000
+++ b/devel/darts/Makefile      Sun Jan 07 21:08:10 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2012/10/31 11:16:51 asau Exp $
+# $NetBSD: Makefile,v 1.10 2018/01/07 21:16:05 rillig Exp $
 
 DISTNAME=      darts-0.32
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel
 MASTER_SITES=  http://chasen.org/~taku/software/darts/src/
 
@@ -12,26 +12,15 @@
 
 USE_LANGUAGES= c c++
 GNU_CONFIGURE= yes
-
-DOCDIR=                share/doc/darts
-EXAMPLESDIR=   share/examples/darts
-HTMLDOCDIR=    share/doc/html/darts
-DOCS=          AUTHORS ChangeLog README
-EXAMPLES=      darts.cpp mkdarts.cpp
-HTMLDOCS=      darts.css index.html
-
-INSTALLATION_DIRS=     ${DOCDIR} ${EXAMPLESDIR} ${HTMLDOCDIR}
+AUTO_MKDIRS=   yes
 
 post-install:
-.for f in ${DOCS}
-       ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${DOCDIR}
-.endfor
-.for f in ${HTMLDOCS}
-       ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DESTDIR}${PREFIX}/${HTMLDOCDIR}
-.endfor
-.for f in ${EXAMPLES}
-       ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${EXAMPLESDIR}
-.endfor
+       cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS ChangeLog README \
+               ${DESTDIR}${PREFIX}/share/doc/darts
+       cd ${WRKSRC}/doc && ${INSTALL_DATA} darts.css index.html \
+               ${DESTDIR}${PREFIX}/share/doc/darts
+       cd ${WRKSRC} && ${INSTALL_DATA} darts.cpp mkdarts.cpp \
+               ${DESTDIR}${PREFIX}/share/examples/darts
 
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r dd41063230b2 -r 90e40d211b1f devel/darts/PLIST
--- a/devel/darts/PLIST Sun Jan 07 21:02:49 2018 +0000
+++ b/devel/darts/PLIST Sun Jan 07 21:08:10 2018 +0000
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:48:40 joerg Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/01/07 21:16:05 rillig Exp $
 include/darts.h
 libexec/darts/darts
 libexec/darts/mkdarts
 share/doc/darts/AUTHORS
 share/doc/darts/ChangeLog
 share/doc/darts/README
-share/doc/html/darts/darts.css
-share/doc/html/darts/index.html
+share/doc/darts/darts.css
+share/doc/darts/index.html
 share/examples/darts/darts.cpp
 share/examples/darts/mkdarts.cpp
diff -r dd41063230b2 -r 90e40d211b1f devel/haskell-mode/Makefile
--- a/devel/haskell-mode/Makefile       Sun Jan 07 21:02:49 2018 +0000
+++ b/devel/haskell-mode/Makefile       Sun Jan 07 21:08:10 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2015/01/19 13:36:12 mef Exp $
+# $NetBSD: Makefile,v 1.23 2018/01/07 21:17:50 rillig Exp $
 
 DISTNAME=              haskell-mode-1.44
 PKGNAME=               ${EMACS_PKGNAME_PREFIX}${DISTNAME}
-PKGREVISION=           3
+PKGREVISION=           4
 CATEGORIES=            devel editors
 MASTER_SITES=          http://www.haskell.org/haskell-mode/
 
@@ -11,7 +11,7 @@
 COMMENT=               Haskell mode for Emacs
 
 INSTALLATION_DIRS=     ${EMACS_LISPPREFIX:C|^${PREFIX}/||}/haskell-mode \
-                       share/doc/html/haskell-mode
+                       share/doc/haskell-mode
 
 HTML=  .emacs fontlock.hs indent.hs index.html installation-guide.html
 SRCS=  haskell-decl-scan.el haskell-doc.el haskell-font-lock.el        \
@@ -28,7 +28,7 @@
        cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc}        \
                        ${DESTDIR}${EMACS_LISPPREFIX}/haskell-mode
        cd ${WRKSRC} && ${INSTALL_DATA} ${HTML}                         \
-                       ${DESTDIR}${PREFIX}/share/doc/html/haskell-mode
+                       ${DESTDIR}${PREFIX}/share/doc/haskell-mode
 
 .include "../../editors/emacs/modules.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r dd41063230b2 -r 90e40d211b1f devel/haskell-mode/PLIST
--- a/devel/haskell-mode/PLIST  Sun Jan 07 21:02:49 2018 +0000
+++ b/devel/haskell-mode/PLIST  Sun Jan 07 21:08:10 2018 +0000
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.5 2009/06/14 17:48:48 joerg Exp $
-share/doc/html/haskell-mode/.emacs
-share/doc/html/haskell-mode/fontlock.hs
-share/doc/html/haskell-mode/indent.hs
-share/doc/html/haskell-mode/index.html
-share/doc/html/haskell-mode/installation-guide.html
+@comment $NetBSD: PLIST,v 1.6 2018/01/07 21:17:50 rillig Exp $
+share/doc/haskell-mode/.emacs
+share/doc/haskell-mode/fontlock.hs
+share/doc/haskell-mode/indent.hs
+share/doc/haskell-mode/index.html
+share/doc/haskell-mode/installation-guide.html
 ${EMACS_LISPPREFIX}/haskell-mode/haskell-decl-scan.el
 ${EMACS_LISPPREFIX}/haskell-mode/haskell-decl-scan.elc
 ${EMACS_LISPPREFIX}/haskell-mode/haskell-doc.el



Home | Main Index | Thread Index | Old Index