summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2005-02-11 00:51:12 +0000
committerhubertf <hubertf@pkgsrc.org>2005-02-11 00:51:12 +0000
commit4b73e218d6d2c4fa00f2933a007b747326c58408 (patch)
tree9e479a854a36ad480153e88a035e0ec5e3524bd1 /print
parent0c7f360b96ddb422afc9bd357b232bee0892235a (diff)
downloadpkgsrc-4b73e218d6d2c4fa00f2933a007b747326c58408.tar.gz
Format docs at build-time (assuming non-root), instead of at
install0time. Tested with teTeX2 and teTeX3.
Diffstat (limited to 'print')
-rw-r--r--print/tex-bagpipetex/Makefile24
-rw-r--r--print/tex-bagpipetex/PLIST3
2 files changed, 15 insertions, 12 deletions
diff --git a/print/tex-bagpipetex/Makefile b/print/tex-bagpipetex/Makefile
index f4b756e4d39..31b01980616 100644
--- a/print/tex-bagpipetex/Makefile
+++ b/print/tex-bagpipetex/Makefile
@@ -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 @@ DEPENDS+= tex-musixtex>=112:../tex-musixtex
WRKSRC= ${WRKDIR}
NO_CONFIGURE= yes
-NO_BUILD= yes
TEXMF_CNF= ${LOCALBASE}/share/texmf/web2c/texmf.cnf
@@ -27,7 +26,11 @@ do-install:
${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 @@ do-install:
${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 --git a/print/tex-bagpipetex/PLIST b/print/tex-bagpipetex/PLIST
index ab5ab0e4485..e029943bbef 100644
--- a/print/tex-bagpipetex/PLIST
+++ b/print/tex-bagpipetex/PLIST
@@ -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/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