pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/tex-bagpipetex Format docs at build-time (assumi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7768af89e9bd
branches:  trunk
changeset: 488882:7768af89e9bd
user:      hubertf <hubertf%pkgsrc.org@localhost>
date:      Fri Feb 11 00:51:12 2005 +0000

description:
Format docs at build-time (assuming non-root), instead of at
install0time. Tested with teTeX2 and teTeX3.

diffstat:

 print/tex-bagpipetex/Makefile |  24 +++++++++++++-----------
 print/tex-bagpipetex/PLIST    |   3 ++-
 2 files changed, 15 insertions(+), 12 deletions(-)

diffs (69 lines):

diff -r 81acf025732a -r 7768af89e9bd print/tex-bagpipetex/Makefile
--- a/print/tex-bagpipetex/Makefile     Fri Feb 11 00:37:46 2005 +0000
+++ b/print/tex-bagpipetex/Makefile     Fri Feb 11 00:51:12 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2005/01/18 00:31:55 hubertf Exp $
+# $NetBSD: Makefile,v 1.7 2005/02/11 00:51:12 hubertf Exp $
 #
 
 DISTNAME=      bagpipetex-3.01
@@ -16,7 +16,6 @@
 
 WRKSRC=         ${WRKDIR}
 NO_CONFIGURE=   yes
-NO_BUILD=       yes
 
 TEXMF_CNF=      ${LOCALBASE}/share/texmf/web2c/texmf.cnf
 
@@ -27,7 +26,11 @@
        ${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 \
                ${WRKSRC}/bagdoc.tex \
+               ${WRKSRC}/quickref.dvi \
+               ${WRKSRC}/quickref.ps \
                ${WRKSRC}/quickref.tex \
                ${PREFIX}/share/texmf/doc/bagpipetex
        ${INSTALL_DATA} ${WRKSRC}/Green.tex \
@@ -50,14 +53,13 @@
                ${PREFIX}/share/texmf/tex/latex/bagpipetex
        ${LOCALBASE}/bin/texconfig rehash
 
-post-install:
-       cd ${PREFIX}/share/texmf/doc/bagpipetex ; \
-               virtex bagdoc ; \
-               dvips bagdoc.dvi -o bagdoc.ps ; \
-               musixtex quickref ; \
-               musixflx quickref ; \
-               musixtex quickref ; \
-               dvips quickref.dvi -o quickref.ps ; \
-               ${RM} -f *.log *.mx?
+do-build:
+       cd ${WRKDIR} ; \
+       tex bagdoc ; \
+       dvips bagdoc.dvi -o bagdoc.ps ; \
+       musixtex quickref ; \
+       musixflx quickref ; \
+       musixtex quickref ; \
+       dvips quickref.dvi -o quickref.ps
 
 .include "../../mk/bsd.pkg.mk"
diff -r 81acf025732a -r 7768af89e9bd print/tex-bagpipetex/PLIST
--- a/print/tex-bagpipetex/PLIST        Fri Feb 11 00:37:46 2005 +0000
+++ b/print/tex-bagpipetex/PLIST        Fri Feb 11 00:51:12 2005 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2003/01/25 23:16:25 fredb Exp $
+@comment $NetBSD: PLIST,v 1.3 2005/02/11 00:51:12 hubertf Exp $
 share/texmf/doc/bagpipetex/README
 share/texmf/doc/bagpipetex/bagdoc.dvi
 share/texmf/doc/bagpipetex/bagdoc.ps
@@ -24,6 +24,7 @@
 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



Home | Main Index | Thread Index | Old Index