summaryrefslogtreecommitdiffstats
path: root/print/texlive-texmf-source/Makefile
blob: eb2ec8ba0e18d30ee2a1f853db242bb4d40a2321 (plain)
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
46
# $FreeBSD$

PORTNAME=	texlive
PORTVERSION=	20150523
CATEGORIES=	print
MASTER_SITES=	ftp://ftp.tug.org/historic/systems/texlive/2015/
PKGNAMESUFFIX=	-texmf-source
DISTNAME=	${PORTNAME}-${PORTVERSION}-texmf
DIST_SUBDIR=	TeX

MAINTAINER=	hrs@FreeBSD.org
COMMENT=	TeX Live Typesetting System, texmf Tree (source)

CONFLICTS_INSTALL=	texlive-base-201[234]*

USES=		tar:xz
USE_TEX=	texmf>=20150523
TEXHASHDIRS=	${TEXMFDISTDIR}
NO_BUILD=	yes
NO_WRKSRC=	yes

INCLUDE_FILES=	texmf-dist/source
EXCLUDE_FILES=	texmf-dist/source/fonts/japanese-otf \
		texmf-dist/source/fonts/japanese-otf-uptex \
		texmf-dist/source/fonts/uptex \
		texmf-dist/source/jadetex \
		texmf-dist/source/lambda \
		texmf-dist/source/lualatex \
		texmf-dist/source/luatex \
		texmf-dist/source/platex \
		texmf-dist/source/uplatex \
		texmf-dist/source/xelatex \
		texmf-dist/source/xmltex

EXTRACT_AFTER_ARGS=| ${TAR} xf - ${INCLUDE_FILES:S,^,--include ${DISTNAME}/,} \
    ${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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud