Tweak print/pdf4tcl version 0.8
[dports.git] / print / texlive-texmf-source / Makefile
1 # $FreeBSD$
2
3 PORTNAME=       texlive
4 PORTVERSION=    20150523
5 CATEGORIES=     print
6 MASTER_SITES=   ftp://ftp.tug.org/historic/systems/texlive/2015/
7 PKGNAMESUFFIX=  -texmf-source
8 DISTNAME=       ${PORTNAME}-${PORTVERSION}-texmf
9 DIST_SUBDIR=    TeX
10
11 MAINTAINER=     hrs@FreeBSD.org
12 COMMENT=        TeX Live Typesetting System, texmf Tree (source)
13
14 CONFLICTS_INSTALL=      texlive-base-201[234]*
15
16 USES=           tar:xz
17 USE_TEX=        texmf>=20150523
18 TEXHASHDIRS=    ${TEXMFDISTDIR}
19 NO_BUILD=       yes
20 NO_WRKSRC=      yes
21
22 INCLUDE_FILES=  texmf-dist/source
23 EXCLUDE_FILES=  texmf-dist/source/fonts/japanese-otf \
24                 texmf-dist/source/fonts/japanese-otf-uptex \
25                 texmf-dist/source/fonts/uptex \
26                 texmf-dist/source/jadetex \
27                 texmf-dist/source/lambda \
28                 texmf-dist/source/lualatex \
29                 texmf-dist/source/luatex \
30                 texmf-dist/source/platex \
31                 texmf-dist/source/uplatex \
32                 texmf-dist/source/xelatex \
33                 texmf-dist/source/xmltex
34
35 EXTRACT_AFTER_ARGS=| ${TAR} xf - ${INCLUDE_FILES:S,^,--include ${DISTNAME}/,} \
36     ${EXCLUDE_FILES:S,^,--exclude ${DISTNAME}/,}
37
38 do-extract:
39         @${MKDIR} ${WRKDIR}
40
41 do-install:
42         ${CAT} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \
43                 ${EXTRACT_AFTER_ARGS} -C ${STAGEDIR}${PREFIX}/share \
44                 --strip-components 1 --no-same-permission --no-same-owner
45
46 .include <bsd.port.mk>