View | Details | Raw Unified | Return to bug 218924 | Differences between
and this patch

Collapse All | Expand All

(-)texlive-docs/Makefile (-1 / +60 lines)
Lines 11-18 Link Here
11
MAINTAINER=	hrs@FreeBSD.org
11
MAINTAINER=	hrs@FreeBSD.org
12
COMMENT=	TeX Live Typesetting System, documentation
12
COMMENT=	TeX Live Typesetting System, documentation
13
13
14
USES=		tar:xz
14
USES=		python:env shebangfix tar:xz
15
USE_TEX=	texmf
15
USE_TEX=	texmf
16
16
NO_BUILD=	yes
17
NO_BUILD=	yes
17
NO_WRKSRC=	yes
18
NO_WRKSRC=	yes
18
19
Lines 36-41 Link Here
36
37
37
EXTRACT_AFTER_ARGS=| ${TAR} xf - ${EXCLUDE_FILES:S,^,--exclude ${DISTNAME}/,}
38
EXTRACT_AFTER_ARGS=| ${TAR} xf - ${EXCLUDE_FILES:S,^,--exclude ${DISTNAME}/,}
38
39
40
# fix shebang for various perl, bash, python, fontforge scripts
41
SHEBANG_FILES=	\
42
	share/texmf-dist/doc/generic/pst-mirror/createEPS/scripts/filtre.pl \
43
	share/texmf-dist/doc/support/gustprog/porzadki.pl \
44
	share/texmf-dist/doc/latex/latex-web-companion/ch7/sgmlspl.pl \
45
	share/texmf-dist/doc/latex/ucs/makeunidef.pl \
46
	share/texmf-dist/doc/latex/ucs/latexout.pl \
47
	share/texmf-dist/doc/latex/ucs/discovermacro.pl \
48
	share/texmf-dist/doc/latex/ucs/unsupported/u2ps \
49
	share/texmf-dist/doc/fonts/phaistos/getglyphs \
50
	share/texmf-dist/doc/fonts/dad/utf8-to-dad.pl \
51
	share/texmf-dist/doc/fonts/dad/dad-to-utf8.pl \
52
	share/texmf-dist/doc/fonts/gnu-freefont/tools/test/MES-Conformance/CheckConformance.pl \
53
	share/texmf-dist/doc/fonts/gnu-freefont/tools/test/MES-Conformance/mes-list-expand.pl \
54
	share/texmf-dist/doc/fonts/gnu-freefont/tools/utility/KerningNumerals.pl \
55
	\
56
	share/texmf-dist/doc/generic/pst-spirograph/animation/runall.sh \
57
	share/texmf-dist/doc/support/latexdiff/contrib/latexdiff-wrap \
58
	share/texmf-dist/doc/latex/hepnames/mkmacrotables \
59
	share/texmf-dist/doc/latex/isodoc/listkeys \
60
	share/texmf-dist/doc/latex/rubik/example-rot1.sh \
61
	share/texmf-dist/doc/latex/presentations-en/runAll \
62
	share/texmf-dist/doc/latex/seminar/run.sh \
63
	share/texmf-dist/doc/latex/ctable/inst \
64
	share/texmf-dist/doc/latex/latex-veryshortguide/build \
65
	share/texmf-dist/doc/latex/bardiag/example/compile.all \
66
	share/texmf-dist/doc/fonts/drm/allfonts.sh \
67
	share/texmf-dist/doc/cstex/cspsfonts-gen/mkfc \
68
	share/texmf-dist/doc/cstex/cspsfonts-gen/mkf \
69
	share/texmf-dist/doc/metapost/featpost/bash/makehtmlindex.sh \
70
	share/texmf-dist/doc/metapost/featpost/bash/laproof.sh \
71
	share/texmf-dist/doc/metapost/featpost/bash/COMPILE.sh \
72
	\
73
	share/texmf-dist/doc/latex/ejpecp/mgetmref.py \
74
	share/texmf-dist/doc/latex/aramaic-serto/serto.py \
75
	share/texmf-dist/doc/latex/thuthesis/zhfonts.py \
76
	share/texmf-dist/doc/latex/scanpages/replicate.py \
77
	share/texmf-dist/doc/fonts/amiri/tools/build.py \
78
	share/texmf-dist/doc/fonts/amiri/tools/runtest.py \
79
	share/texmf-dist/doc/fonts/xits/postprocess.py \
80
	share/texmf-dist/doc/fonts/xcharter/altone.py \
81
	share/texmf-dist/doc/fonts/gnu-freefont/tools/test/ranges/Arabic/unicode_joining.py \
82
	share/texmf-dist/doc/fonts/gnu-freefont/tools/test/ranges/Arabic/generate_arabic_shaping.py \
83
	share/texmf-dist/doc/fonts/gnu-freefont/tools/test/ranges/Arabic/arabic_test.py \
84
	share/texmf-dist/doc/fonts/gnu-freefont/tools/utility/hex_range.py \
85
	\
86
	share/texmf-dist/doc/fonts/berenisadf/ff-ybd.pe \
87
	share/texmf-dist/doc/fonts/gnu-freefont/tools/utility/metafont/bulk_eps_import.py \
88
	share/texmf-dist/doc/fonts/gnu-freefont/tools/report/kernclasses.py
89
SHEBANG_LANG+=	fontforge
90
perl_OLD_CMD+=	/opt/local/bin/perl
91
39
do-extract:
92
do-extract:
40
	@${MKDIR} ${WRKDIR}
93
	@${MKDIR} ${WRKDIR}
41
94
Lines 45-48 Link Here
45
	    --strip-components 1 --no-same-permission --no-same-owner \
98
	    --strip-components 1 --no-same-permission --no-same-owner \
46
	    ${DISTNAME}/texmf-dist/doc
99
	    ${DISTNAME}/texmf-dist/doc
47
100
101
post-install:
102
# Fix shebangs for files installed straight from distribution tarball
103
	cd ${STAGEDIR}${PREFIX} && \
104
		${FIND} ${SHEBANG_FILES} -type f \
105
		-exec ${SED} -i '' ${_SHEBANG_REINPLACE_ARGS} {} +
106
48
.include <bsd.port.mk>
107
.include <bsd.port.mk>
(-)tex-xetex/Makefile (-4 / +19 lines)
Lines 15-21 Link Here
15
MAINTAINER=	hrs@FreeBSD.org
15
MAINTAINER=	hrs@FreeBSD.org
16
COMMENT=	TeX System with Unicode and Modern Font Technologies
16
COMMENT=	TeX System with Unicode and Modern Font Technologies
17
17
18
LIB_DEPENDS=	libfreetype.so:print/freetype2 \
18
LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
19
		libfreetype.so:print/freetype2 \
19
		libgraphite2.so:graphics/graphite2 \
20
		libgraphite2.so:graphics/graphite2 \
20
		libicuio.so:devel/icu \
21
		libicuio.so:devel/icu \
21
		libharfbuzz.so:print/harfbuzz \
22
		libharfbuzz.so:print/harfbuzz \
Lines 23-33 Link Here
23
		libpng.so:graphics/png \
24
		libpng.so:graphics/png \
24
		libTECkit.so:textproc/teckit
25
		libTECkit.so:textproc/teckit
25
26
26
USES=		compiler:c++11-lib pkgconfig tar:xz
27
USES=		compiler:c++11-lib gnome python:env shebangfix pkgconfig tar:xz
27
USE_CXXSTD=	gnu++11
28
USE_CXXSTD=	gnu++11
28
USE_TEX=	kpathsea web2c texmf formats fmtutil dvipdfmx
29
USE_TEX=	kpathsea web2c texmf formats fmtutil dvipdfmx
29
USE_XORG=	pixman
30
USE_XORG=	pixman
30
USE_GNOME=	cairo
31
USE_GNOME=	cairo
32
33
SHEBANG_FILES=	\
34
	share/texmf-dist/doc/xelatex/xepersian/dkun-0.3.py \
35
	share/texmf-dist/doc/xelatex/xepersian/dkun-0.4.py \
36
	share/texmf-dist/doc/xelatex/xepersian/undk-0.6.py \
37
	share/texmf-dist/doc/xelatex/xepersian/unldk-0.2.py \
38
	share/texmf-dist/scripts/xetex/perl/xdv2pdf_mergemarks \
39
	share/texmf-dist/source/xelatex/arabxetex/makemaps.pl
31
TEXHASHDIRS=	${TEXMFDISTDIR} ${TEXMFVARDIR}
40
TEXHASHDIRS=	${TEXMFDISTDIR} ${TEXMFVARDIR}
32
EXTRACT_AFTER_ARGS=	${EXTRACT_FILES:S,^,${DISTNAME}/,}
41
EXTRACT_AFTER_ARGS=	${EXTRACT_FILES:S,^,${DISTNAME}/,}
33
EXTRACT_FILES=	build-aux \
42
EXTRACT_FILES=	build-aux \
Lines 34-40 Link Here
34
		libs/poppler \
43
		libs/poppler \
35
		libs/xpdf \
44
		libs/xpdf \
36
		texk/web2c
45
		texk/web2c
37
EXTRACT_AFTER_ARGS_TEXMF= \
46
EXTRACT_AFTER_ARGS_TEXMF=	\
38
	| ${TAR} -xf - -C ${STAGEDIR}${PREFIX}/share \
47
	| ${TAR} -xf - -C ${STAGEDIR}${PREFIX}/share \
39
		--strip-components 1 --no-same-permission --no-same-owner \
48
		--strip-components 1 --no-same-permission --no-same-owner \
40
		${EXTRACT_FILES_TEXMF:S,^,${DISTNAME_TEXMF}/,}
49
		${EXTRACT_FILES_TEXMF:S,^,${DISTNAME_TEXMF}/,}
Lines 41-47 Link Here
41
DISTVERSION_TEXLIVE_SOURCE=20150521
50
DISTVERSION_TEXLIVE_SOURCE=20150521
42
DISTVERSION_TEXLIVE_TEXMF=20150523
51
DISTVERSION_TEXLIVE_TEXMF=20150523
43
DISTNAME_TEXMF=	texlive-${DISTVERSION_TEXLIVE_TEXMF}-texmf
52
DISTNAME_TEXMF=	texlive-${DISTVERSION_TEXLIVE_TEXMF}-texmf
44
EXTRACT_FILES_TEXMF= \
53
EXTRACT_FILES_TEXMF=	\
45
	texmf-dist/doc/xelatex \
54
	texmf-dist/doc/xelatex \
46
	texmf-dist/doc/xetex \
55
	texmf-dist/doc/xetex \
47
	texmf-dist/fonts/misc/xetex \
56
	texmf-dist/fonts/misc/xetex \
Lines 93-96 Link Here
93
	${CAT} ${DISTDIR}/${DIST_SUBDIR}/texlive-${DISTVERSION_TEXLIVE_TEXMF}-texmf${EXTRACT_SUFX} \
102
	${CAT} ${DISTDIR}/${DIST_SUBDIR}/texlive-${DISTVERSION_TEXLIVE_TEXMF}-texmf${EXTRACT_SUFX} \
94
		${EXTRACT_AFTER_ARGS_TEXMF}
103
		${EXTRACT_AFTER_ARGS_TEXMF}
95
104
105
post-install:
106
# Fix shebangs for files installed straight from distribution tarball
107
	cd ${STAGEDIR}${PREFIX} && \
108
		${FIND} ${SHEBANG_FILES} -type f \
109
		-exec ${SED} -i '' ${_SHEBANG_REINPLACE_ARGS} {} +
110
96
.include <bsd.port.mk>
111
.include <bsd.port.mk>

Return to bug 218924