pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/darts



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sun Jan  7 21:16:05 UTC 2018

Modified Files:
        pkgsrc/devel/darts: Makefile PLIST

Log Message:
Move documentation to where it belongs, bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/darts/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/darts/PLIST

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

Modified files:

Index: pkgsrc/devel/darts/Makefile
diff -u pkgsrc/devel/darts/Makefile:1.9 pkgsrc/devel/darts/Makefile:1.10
--- pkgsrc/devel/darts/Makefile:1.9     Wed Oct 31 11:16:51 2012
+++ pkgsrc/devel/darts/Makefile Sun Jan  7 21:16:05 2018
@@ -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 @@ LICENSE=    gnu-lgpl-v2.1 OR modified-bsd
 
 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"

Index: pkgsrc/devel/darts/PLIST
diff -u pkgsrc/devel/darts/PLIST:1.2 pkgsrc/devel/darts/PLIST:1.3
--- pkgsrc/devel/darts/PLIST:1.2        Sun Jun 14 17:48:40 2009
+++ pkgsrc/devel/darts/PLIST    Sun Jan  7 21:16:05 2018
@@ -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



Home | Main Index | Thread Index | Old Index