freebsd-ports/print/texlive-docs/Makefile
Hiroki Sato ca9b293799 - Fix duplicated pkg-plist entries.
- Split off documentation to print/texlive-docs from print/texlive-texmf.
  The document part was 1.3GB (30k files).  Now the size of texlive-texmf
  package is 557MB (this was 1.5GB before the split).
- do-texhash, do-fmtutil, do-updmap targets now run after post-install.
2013-05-22 08:26:53 +00:00

49 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= texlive
PORTVERSION= 20120701
CATEGORIES= print
MASTER_SITES= ftp://ftp.tug.org/historic/systems/texlive/2012/
PKGNAMESUFFIX= -docs
DISTNAME= ${PORTNAME}-${PORTVERSION}-texmf
DIST_SUBDIR= TeX
MAINTAINER= hrs@FreeBSD.org
COMMENT= TeX Live Typesetting System, documentation
USE_XZ= yes
USE_TEX= texlive texmf
NO_BUILD= yes
NO_WRKSRC= yes
EXCLUDE_FILES= \*/doc/man \
texmf-dist/doc/aleph \
texmf-dist/doc/lualatex \
texmf-dist/doc/luatex \
texmf-dist/doc/xelatex \
texmf-dist/doc/xetex \
texmf-dist/doc/otherformats/jadetex \
texmf-dist/doc/otherformats/xmltex \
texmf-dist/doc/ptex \
texmf-dist/doc/platex \
texmf-dist/doc/uptex \
texmf-dist/doc/uplatex \
texmf-dist/doc/fonts/japanese-otf \
texmf-dist/doc/fonts/japanese-otf-uptex \
texmf-dist/doc/fonts/jfontmaps \
texmf/doc/dvips \
texmf/doc/dvipdfm \
texmf/doc/dvipdfmx
EXTRACT_AFTER_ARGS=| ${TAR} xf - ${EXCLUDE_FILES:S,^,--exclude ${DISTNAME}/,}
do-extract:
@${MKDIR} ${WRKDIR}
do-install:
${CAT} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \
${EXTRACT_AFTER_ARGS} -C ${PREFIX}/share \
--strip-components 1 --no-same-permission --no-same-owner \
${DISTNAME}/texmf/doc ${DISTNAME}/texmf-dist/doc
.include <bsd.port.mk>