pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/xdvipresent - Install into a separate package...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e2224957e863
branches:  trunk
changeset: 510948:e2224957e863
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Apr 07 02:17:53 2006 +0000

description:
- Install into a separate package directory to follow TDS.
- Install HTML documentation into share/doc, instead of share/doc/html.
- Use texmf-dirs to install into texmf-local.

Bump PKGREVISION.

diffstat:

 graphics/xdvipresent/Makefile |  12 ++++++----
 graphics/xdvipresent/PLIST    |  45 +++++++++++++++++++++---------------------
 2 files changed, 30 insertions(+), 27 deletions(-)

diffs (90 lines):

diff -r 4ce2999ae2a4 -r e2224957e863 graphics/xdvipresent/Makefile
--- a/graphics/xdvipresent/Makefile     Fri Apr 07 02:09:57 2006 +0000
+++ b/graphics/xdvipresent/Makefile     Fri Apr 07 02:17:53 2006 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.15 2006/02/05 23:09:40 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2006/04/07 02:17:53 minskim Exp $
 #
 
 DISTNAME=      xdvipresent-0.6p14
 PKGNAME=       xdvipresent-0.6.1.14
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    graphics textproc print x11
 MASTER_SITES=  http://clip.dia.fi.upm.es/Software/
 
@@ -16,16 +16,18 @@
 WRKSRC=                ${WRKDIR}/xdvipresent
 NO_BUILD=      yes
 NO_CONFIGURE=  yes
+USE_DIRS+=     texmf-1.0
 
-STYDIR=                ${PKG_LOCALTEXMFPREFIX}/tex/latex/other
+STYDIR=                ${PKG_LOCALTEXMFPREFIX}/tex/latex/xdvipresent
 EXAMPLES_DIR=  ${PREFIX}/share/examples/xdvipresent
-HTML_DIR=      ${PREFIX}/share/doc/html/xdvipresent
+HTML_DIR=      ${PREFIX}/share/doc/xdvipresent
 
 INSTALLATION_DIRS=     bin man/man1
 
 do-install:
+       ${INSTALL_DATA_DIR} ${STYDIR}
+       ${INSTALL_DATA} ${WRKSRC}/*.cls ${STYDIR}
        ${INSTALL_DATA_DIR} ${STYDIR}/images
-       ${INSTALL_DATA} ${WRKSRC}/*.cls ${STYDIR}
        ${INSTALL_DATA} ${WRKSRC}/images/* ${STYDIR}/images
        ${INSTALL_SCRIPT} ${WRKSRC}/xdvipresent ${PREFIX}/bin
        ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xdvipresent
diff -r 4ce2999ae2a4 -r e2224957e863 graphics/xdvipresent/PLIST
--- a/graphics/xdvipresent/PLIST        Fri Apr 07 02:09:57 2006 +0000
+++ b/graphics/xdvipresent/PLIST        Fri Apr 07 02:17:53 2006 +0000
@@ -1,26 +1,27 @@
-@comment $NetBSD: PLIST,v 1.2 2006/01/08 14:00:11 tonio Exp $
+@comment $NetBSD: PLIST,v 1.3 2006/04/07 02:17:53 minskim Exp $
 bin/xdvipresent
 man/man1/xdvipresent.1
-share/doc/html/xdvipresent/xdvipresent.css
-share/doc/html/xdvipresent/xdvipresent.html
-share/doc/html/xdvipresent/xdvipresent_1.html
-share/doc/html/xdvipresent/xdvipresent_2.html
-share/doc/html/xdvipresent/xdvipresent_3.html
-share/doc/html/xdvipresent/xdvipresent_toc.html
+share/doc/xdvipresent/xdvipresent.css
+share/doc/xdvipresent/xdvipresent.html
+share/doc/xdvipresent/xdvipresent_1.html
+share/doc/xdvipresent/xdvipresent_2.html
+share/doc/xdvipresent/xdvipresent_3.html
+share/doc/xdvipresent/xdvipresent_toc.html
 share/examples/xdvipresent/example.tex
-${PKG_LOCALTEXMFPREFIX}/tex/latex/other/images/Clip.ps
-${PKG_LOCALTEXMFPREFIX}/tex/latex/other/images/blue.line.eps
-${PKG_LOCALTEXMFPREFIX}/tex/latex/other/images/blueball.ps
-${PKG_LOCALTEXMFPREFIX}/tex/latex/other/images/clip.eps
-${PKG_LOCALTEXMFPREFIX}/tex/latex/other/images/clip_small.ps
-${PKG_LOCALTEXMFPREFIX}/tex/latex/other/images/clip_tiny.eps
-${PKG_LOCALTEXMFPREFIX}/tex/latex/other/images/example_figure.eps
-${PKG_LOCALTEXMFPREFIX}/tex/latex/other/images/greenball.ps
-${PKG_LOCALTEXMFPREFIX}/tex/latex/other/images/line.fig
-${PKG_LOCALTEXMFPREFIX}/tex/latex/other/images/redball.ps
-${PKG_LOCALTEXMFPREFIX}/tex/latex/other/images/thin_line.fig
-${PKG_LOCALTEXMFPREFIX}/tex/latex/other/images/thin_line.red.eps
-${PKG_LOCALTEXMFPREFIX}/tex/latex/other/xdvislides.cls
-@dirrm ${PKG_LOCALTEXMFPREFIX}/tex/latex/other/images
+${PKG_LOCALTEXMFPREFIX}/tex/latex/xdvipresent/images/Clip.ps
+${PKG_LOCALTEXMFPREFIX}/tex/latex/xdvipresent/images/blue.line.eps
+${PKG_LOCALTEXMFPREFIX}/tex/latex/xdvipresent/images/blueball.ps
+${PKG_LOCALTEXMFPREFIX}/tex/latex/xdvipresent/images/clip.eps
+${PKG_LOCALTEXMFPREFIX}/tex/latex/xdvipresent/images/clip_small.ps
+${PKG_LOCALTEXMFPREFIX}/tex/latex/xdvipresent/images/clip_tiny.eps
+${PKG_LOCALTEXMFPREFIX}/tex/latex/xdvipresent/images/example_figure.eps
+${PKG_LOCALTEXMFPREFIX}/tex/latex/xdvipresent/images/greenball.ps
+${PKG_LOCALTEXMFPREFIX}/tex/latex/xdvipresent/images/line.fig
+${PKG_LOCALTEXMFPREFIX}/tex/latex/xdvipresent/images/redball.ps
+${PKG_LOCALTEXMFPREFIX}/tex/latex/xdvipresent/images/thin_line.fig
+${PKG_LOCALTEXMFPREFIX}/tex/latex/xdvipresent/images/thin_line.red.eps
+${PKG_LOCALTEXMFPREFIX}/tex/latex/xdvipresent/xdvislides.cls
+@dirrm ${PKG_LOCALTEXMFPREFIX}/tex/latex/xdvipresent/images
+@dirrm ${PKG_LOCALTEXMFPREFIX}/tex/latex/xdvipresent
 @dirrm share/examples/xdvipresent
-@dirrm share/doc/html/xdvipresent/
+@dirrm share/doc/xdvipresent/



Home | Main Index | Thread Index | Old Index