aboutsummaryrefslogtreecommitdiff
path: root/print/texlive-docs/Makefile
blob: eb47086bff88a92c8add4ed5e096d5e26783b0a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
PORTNAME=	texlive
PORTVERSION=	20150523
CATEGORIES=	print
MASTER_SITES=	ftp://ftp.tug.org/historic/systems/texlive/2015/
PKGNAMESUFFIX=	-docs
DISTNAME=	${PORTNAME}-${PORTVERSION}-texmf
DIST_SUBDIR=	TeX

MAINTAINER=	hrs@FreeBSD.org
COMMENT=	TeX Live Typesetting System, documentation

USES=		tar:xz
USE_TEX=	texmf
NO_BUILD=	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-dist/doc/dvips \
	texmf-dist/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 ${STAGEDIR}${PREFIX}/share \
	    --strip-components 1 --no-same-permission --no-same-owner \
	    ${DISTNAME}/texmf-dist/doc

.include <bsd.port.mk>