diff options
Diffstat (limited to 'print/texlive/package.mk')
-rw-r--r-- | print/texlive/package.mk | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/print/texlive/package.mk b/print/texlive/package.mk index f20228a9174..14722eda2e3 100644 --- a/print/texlive/package.mk +++ b/print/texlive/package.mk @@ -1,4 +1,4 @@ -# $NetBSD: package.mk,v 1.19 2013/10/17 07:07:26 minskim Exp $ +# $NetBSD: package.mk,v 1.20 2013/11/13 20:35:43 minskim Exp $ # # This Makefile fragment is intended to be included by packages that build # TeX Live packages. @@ -72,6 +72,12 @@ _texlive-info: ${MV} ${WRKSRC}/texmf/doc/info/* ${WRKSRC}/info; \ ${RMDIR} -p ${WRKSRC}/texmf/doc/info || ${TRUE}; \ fi + if [ -d ${WRKSRC}/texmf-dist/doc/info ]; then \ + ${RM} -f ${WRKSRC}/texmf-dist/doc/info/dir; \ + ${MKDIR} ${WRKSRC}/info; \ + ${MV} ${WRKSRC}/texmf-dist/doc/info/* ${WRKSRC}/info; \ + ${RMDIR} -p ${WRKSRC}/texmf-dist/doc/info || ${TRUE}; \ + fi _texlive-man: if [ -d ${WRKSRC}/texmf/doc/man ]; then \ @@ -80,6 +86,12 @@ _texlive-man: ${FIND} ${WRKSRC}/man -name \*.pdf -exec ${RM} {} \; ; \ ${RMDIR} -p ${WRKSRC}/texmf/doc/man || ${TRUE}; \ fi + if [ -d ${WRKSRC}/texmf-dist/doc/man ]; then \ + ${MKDIR} ${WRKSRC}/man; \ + ${MV} ${WRKSRC}/texmf-dist/doc/man/* ${WRKSRC}/man; \ + ${FIND} ${WRKSRC}/man -name \*.pdf -exec ${RM} {} \; ; \ + ${RMDIR} -p ${WRKSRC}/texmf-dist/doc/man || ${TRUE}; \ + fi _texlive-install: if [ -d ${WRKSRC}/texmf -o -d ${WRKSRC}/texmf-dist ]; then \ |