pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/tex-bagpipetex Add dvips dependency. DESTDIR sup...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/62d4ee6e5b51
branches:  trunk
changeset: 556662:62d4ee6e5b51
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Mar 26 20:06:31 2009 +0000

description:
Add dvips dependency. DESTDIR support. Use kpathsea framework for
registration instead of local code. Bump revision.

diffstat:

 print/tex-bagpipetex/Makefile |  40 +++++++++++++++++++++-------------------
 print/tex-bagpipetex/PLIST    |   6 +-----
 2 files changed, 22 insertions(+), 24 deletions(-)

diffs (106 lines):

diff -r 9b26b250e646 -r 62d4ee6e5b51 print/tex-bagpipetex/Makefile
--- a/print/tex-bagpipetex/Makefile     Thu Mar 26 20:02:45 2009 +0000
+++ b/print/tex-bagpipetex/Makefile     Thu Mar 26 20:06:31 2009 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.10 2007/02/22 19:27:06 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2009/03/26 20:06:31 joerg Exp $
 #
 
 DISTNAME=      bagpipetex-3.01
 PKGNAME=       tex-${DISTNAME}
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    print
 MASTER_SITES=  http://www.stanford.edu/~wrinnes/bagpipe.tex/distribution/
 DISTFILES=     bagpipe301.tar.gz
@@ -12,19 +12,21 @@
 HOMEPAGE=      http://www.stanford.edu/~wrinnes/bagpipe.tex/
 COMMENT=       MusixTeX macros to typeset bagpipe music
 
+BUILD_DEPENDS+=        dvipsk-[0-9]*:../../print/dvipsk
 DEPENDS+=      tex-musixtex>=112:../../print/tex-musixtex
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 WRKSRC=                ${WRKDIR}
 NO_CONFIGURE=  yes
 
-TEXMF_CNF=     ${LOCALBASE}/share/texmf/web2c/texmf.cnf
+INSTALLATION_DIRS=     share/texmf/doc/bagpipetex \
+                       share/texmf/doc/bagpipetex/examples \
+                       share/texmf/fonts/tfm/bagpipetex \
+                       share/texmf/fonts/source/bagpipetex \
+                       share/texmf/tex/latex/bagpipetex
 
 do-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/texmf/doc/bagpipetex
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/texmf/doc/bagpipetex/examples
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/texmf/fonts/tfm/bagpipetex
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/texmf/fonts/source/bagpipetex
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/texmf/tex/latex/bagpipetex
        ${INSTALL_DATA} ${WRKSRC}/README \
                ${WRKSRC}/bagdoc.dvi \
                ${WRKSRC}/bagdoc.ps \
@@ -32,26 +34,25 @@
                ${WRKSRC}/quickref.dvi \
                ${WRKSRC}/quickref.ps \
                ${WRKSRC}/quickref.tex \
-               ${PREFIX}/share/texmf/doc/bagpipetex
+               ${DESTDIR}${PREFIX}/share/texmf/doc/bagpipetex
        ${INSTALL_DATA} ${WRKSRC}/Green.tex \
-               ${PREFIX}/share/texmf/doc/bagpipetex/examples
+               ${DESTDIR}${PREFIX}/share/texmf/doc/bagpipetex/examples
        ${INSTALL_DATA} ${WRKSRC}/GreenTwo.tex \
-               ${PREFIX}/share/texmf/doc/bagpipetex/examples
+               ${DESTDIR}${PREFIX}/share/texmf/doc/bagpipetex/examples
        ${INSTALL_DATA} ${WRKSRC}/Bonnets.tex \
-               ${PREFIX}/share/texmf/doc/bagpipetex/examples
+               ${DESTDIR}${PREFIX}/share/texmf/doc/bagpipetex/examples
        ${INSTALL_DATA} ${WRKSRC}/Washer.tex \
-               ${PREFIX}/share/texmf/doc/bagpipetex/examples
+               ${DESTDIR}${PREFIX}/share/texmf/doc/bagpipetex/examples
        ${INSTALL_DATA} ${WRKSRC}/BlackDonald.tex \
-               ${PREFIX}/share/texmf/doc/bagpipetex/examples
+               ${DESTDIR}${PREFIX}/share/texmf/doc/bagpipetex/examples
        ${INSTALL_DATA} ${WRKSRC}/*.mf \
-               ${PREFIX}/share/texmf/fonts/source/bagpipetex
+               ${DESTDIR}${PREFIX}/share/texmf/fonts/source/bagpipetex
        ${INSTALL_DATA} ${WRKSRC}/*.tfm \
-               ${PREFIX}/share/texmf/fonts/tfm/bagpipetex
+               ${DESTDIR}${PREFIX}/share/texmf/fonts/tfm/bagpipetex
        ${INSTALL_DATA} ${WRKSRC}/bagpipe.tex \
-               ${PREFIX}/share/texmf/tex/latex/bagpipetex
+               ${DESTDIR}${PREFIX}/share/texmf/tex/latex/bagpipetex
        ${INSTALL_DATA} ${WRKSRC}/*.ini \
-               ${PREFIX}/share/texmf/tex/latex/bagpipetex
-       ${LOCALBASE}/bin/texconfig rehash
+               ${DESTDIR}${PREFIX}/share/texmf/tex/latex/bagpipetex
 
 do-build:
        cd ${WRKDIR} ; \
@@ -62,4 +63,5 @@
        musixtex quickref ; \
        dvips quickref.dvi -o quickref.ps
 
+.include "../../print/kpathsea/texmf.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 9b26b250e646 -r 62d4ee6e5b51 print/tex-bagpipetex/PLIST
--- a/print/tex-bagpipetex/PLIST        Thu Mar 26 20:02:45 2009 +0000
+++ b/print/tex-bagpipetex/PLIST        Thu Mar 26 20:06:31 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2005/02/11 00:51:12 hubertf Exp $
+@comment $NetBSD: PLIST,v 1.4 2009/03/26 20:06:31 joerg Exp $
 share/texmf/doc/bagpipetex/README
 share/texmf/doc/bagpipetex/bagdoc.dvi
 share/texmf/doc/bagpipetex/bagdoc.ps
@@ -22,10 +22,6 @@
 share/texmf/tex/latex/bagpipetex/bagpipe.ini
 share/texmf/tex/latex/bagpipetex/bagpipex.ini
 share/texmf/tex/latex/bagpipetex/bagpipe.tex
-@exec %D/bin/texconfig rehash
-@unexec %D/bin/texconfig rehash
-@exec %D/bin/mktexlsr
-@unexec %D/bin/mktexlsr
 @dirrm share/texmf/fonts/tfm/bagpipetex
 @dirrm share/texmf/fonts/source/bagpipetex
 @dirrm share/texmf/doc/bagpipetex/examples



Home | Main Index | Thread Index | Old Index