pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/texlive Search texmf-dist for man and info files
details: https://anonhg.NetBSD.org/pkgsrc/rev/abb8209b0ba9
branches: trunk
changeset: 626514:abb8209b0ba9
user: minskim <minskim%pkgsrc.org@localhost>
date: Wed Nov 13 20:35:43 2013 +0000
description:
Search texmf-dist for man and info files
diffstat:
print/texlive/package.mk | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diffs (35 lines):
diff -r 1204740096cb -r abb8209b0ba9 print/texlive/package.mk
--- a/print/texlive/package.mk Wed Nov 13 19:48:43 2013 +0000
+++ b/print/texlive/package.mk Wed Nov 13 20:35:43 2013 +0000
@@ -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 @@
${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 @@
${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 \
Home |
Main Index |
Thread Index |
Old Index