summaryrefslogtreecommitdiff
path: root/print/tex/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-26 09:44:51 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-26 09:44:51 +0000
commit826e4ea5aa3ad6eefe5c8aeba31f8ca8322d31b5 (patch)
tree4bb5c686cce239d063a222ef2bb59c4ba9abbfc8 /print/tex/Makefile
parent- Stage support (diff)
- Stage support
Notes
Notes: svn path=/head/; revision=346173
Diffstat (limited to 'print/tex/Makefile')
-rw-r--r--print/tex/Makefile31
1 files changed, 13 insertions, 18 deletions
diff --git a/print/tex/Makefile b/print/tex/Makefile
index 22b226ad2a63..d062ff5ecf54 100644
--- a/print/tex/Makefile
+++ b/print/tex/Makefile
@@ -22,15 +22,9 @@ DIST_SUBDIR= tex
CONFLICTS= teTeX*
-USE_GMAKE= yes
+USES= gmake desthack
GNU_CONFIGURE= yes
-MAN1= access.1 amstex.1 bibtex.1 dmp.1 dvicopy.1 dvitype.1 eplain.1 \
- etex.1 gftodvi.1 gftopk.1 gftype.1 kpsestat.1 kpsewhich.1 \
- latex.1 makempx.1 mf.1 mft.1 mktexlsr.1 mktexmf.1 mktexpk.1 \
- mktextfm.1 mpost.1 mpto.1 newer.1 omega.1 patgen.1 pdftex.1 \
- pktogf.1 pktype.1 pltotf.1 pooltype.1 readlink.1 tangle.1 \
- tex.1 tftopl.1 tie.1 vftovp.1 vptovf.1 weave.1
INFO= kpathsea web2c
MAKE_FLAGS= fmts= all_mems=
@@ -56,16 +50,17 @@ do-build:
post-install:
@for i in kpsewhich dmp bibtex dvicopy dvitomp dvitype gftodvi gftopk \
gftype mf mft patgen pktogf pktype pltotf pooltype tangle tex tftopl \
- vftovp vptovf weave; do ${STRIP_CMD} ${PREFIX}/bin/$$i; done
- @${RM} -f ${PREFIX}/bin/mpostf ${PREFIX}/bin/inimpost ${PREFIX}/bin/virmpost ${PREFIX}/bin/latex \
- ${PREFIX}/share/texmf/web2c/mpost.mem ${PREFIX}/share/texmf/web2c/plain.mem \
- ${PREFIX}/share/texmf/web2c/mp.pool ${PREFIX}/bin/mpost ${PREFIX}/bin/mpto
- @${MKDIR} ${PREFIX}/share/texmf/fonts/tfm
- @(cd ${WRKDIR}/tfm; ${INSTALL_DATA} *.tfm ${PREFIX}/share/texmf/fonts/tfm)
- @${MKDIR} ${PREFIX}/share/texmf/metafont
- @(cd ${WRKDIR}/mf; ${INSTALL_DATA} *.mf ${PREFIX}/share/texmf/metafont)
- @${MKDIR} ${PREFIX}/share/texmf/tex
- @(cd ${WRKDIR}/lib; ${INSTALL_DATA} *.tex ${PREFIX}/share/texmf/tex)
- @(cd ${WRKDIR}/base; ${INSTALL_DATA} *.tex ${PREFIX}/share/texmf/tex)
+ vftovp vptovf weave; do ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/$$i; done
+ @${RM} -f ${STAGEDIR}${PREFIX}/bin/mpostf ${STAGEDIR}${PREFIX}/bin/inimpost \
+ ${STAGEDIR}${PREFIX}/bin/virmpost ${STAGEDIR}${PREFIX}/bin/latex \
+ ${STAGEDIR}${PREFIX}/share/texmf/web2c/mpost.mem ${STAGEDIR}${PREFIX}/share/texmf/web2c/plain.mem \
+ ${STAGEDIR}${PREFIX}/share/texmf/web2c/mp.pool ${STAGEDIR}${PREFIX}/bin/mpost ${STAGEDIR}${PREFIX}/bin/mpto
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/texmf/fonts/tfm
+ @(cd ${WRKDIR}/tfm; ${INSTALL_DATA} *.tfm ${STAGEDIR}${PREFIX}/share/texmf/fonts/tfm)
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/texmf/metafont
+ @(cd ${WRKDIR}/mf; ${INSTALL_DATA} *.mf ${STAGEDIR}${PREFIX}/share/texmf/metafont)
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/texmf/tex
+ @(cd ${WRKDIR}/lib; ${INSTALL_DATA} *.tex ${STAGEDIR}${PREFIX}/share/texmf/tex)
+ @(cd ${WRKDIR}/base; ${INSTALL_DATA} *.tex ${STAGEDIR}${PREFIX}/share/texmf/tex)
.include <bsd.port.post.mk>