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

Collapse All | Expand All

(-)/usr/local/poudriere/ports/experimental/print/tex-xetex/Makefile (-4 / +22 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 24-47 Link Here
24
		libpoppler.so:graphics/poppler \
25
		libpoppler.so:graphics/poppler \
25
		libTECkit.so:textproc/teckit
26
		libTECkit.so:textproc/teckit
26
27
27
USES=		compiler:c++11-lib pkgconfig tar:xz
28
USES=		gnome pkgconfig python shebangfix tar:xz
28
USE_CXXSTD=	gnu++11
29
USE_CXXSTD=	gnu++11
29
USE_TEX=	kpathsea web2c texmf formats fmtutil dvipdfmx
30
USE_TEX=	kpathsea web2c texmf formats fmtutil dvipdfmx
30
USE_XORG=	pixman
31
USE_XORG=	pixman
31
USE_GNOME=	cairo
32
USE_GNOME=	cairo
33
34
PYTHON_NO_DEPENDS=	yes
35
36
SHEBANG_FILES_INSTALL=	\
37
	share/texmf-dist/doc/xelatex/xepersian/dkun-0.3.py \
38
	share/texmf-dist/doc/xelatex/xepersian/dkun-0.4.py \
39
	share/texmf-dist/doc/xelatex/xepersian/undk-0.6.py \
40
	share/texmf-dist/doc/xelatex/xepersian/unldk-0.2.py \
41
	share/texmf-dist/scripts/xetex/perl/xdv2pdf_mergemarks \
42
	share/texmf-dist/source/xelatex/arabxetex/makemaps.pl
43
32
TEXHASHDIRS=	${TEXMFDISTDIR} ${TEXMFVARDIR}
44
TEXHASHDIRS=	${TEXMFDISTDIR} ${TEXMFVARDIR}
33
EXTRACT_AFTER_ARGS=	${EXTRACT_FILES:S,^,${DISTNAME}/,}
45
EXTRACT_AFTER_ARGS=	${EXTRACT_FILES:S,^,${DISTNAME}/,}
34
EXTRACT_FILES=	build-aux \
46
EXTRACT_FILES=	build-aux \
35
		libs/xpdf \
47
		libs/xpdf \
36
		texk/web2c
48
		texk/web2c
37
EXTRACT_AFTER_ARGS_TEXMF= \
49
EXTRACT_AFTER_ARGS_TEXMF=	\
38
	| ${TAR} -xf - -C ${STAGEDIR}${PREFIX}/share \
50
	| ${TAR} -xf - -C ${STAGEDIR}${PREFIX}/share \
39
		--strip-components 1 --no-same-permission --no-same-owner \
51
		--strip-components 1 --no-same-permission --no-same-owner \
40
		${EXTRACT_FILES_TEXMF:S,^,${DISTNAME_TEXMF}/,}
52
		${EXTRACT_FILES_TEXMF:S,^,${DISTNAME_TEXMF}/,}
41
DISTVERSION_TEXLIVE_SOURCE=20150521
53
DISTVERSION_TEXLIVE_SOURCE=20150521
42
DISTVERSION_TEXLIVE_TEXMF=20150523
54
DISTVERSION_TEXLIVE_TEXMF=20150523
43
DISTNAME_TEXMF=	texlive-${DISTVERSION_TEXLIVE_TEXMF}-texmf
55
DISTNAME_TEXMF=	texlive-${DISTVERSION_TEXLIVE_TEXMF}-texmf
44
EXTRACT_FILES_TEXMF= \
56
EXTRACT_FILES_TEXMF=	\
45
	texmf-dist/doc/xelatex \
57
	texmf-dist/doc/xelatex \
46
	texmf-dist/doc/xetex \
58
	texmf-dist/doc/xetex \
47
	texmf-dist/fonts/misc/xetex \
59
	texmf-dist/fonts/misc/xetex \
Lines 93-96 Link Here
93
	${CAT} ${DISTDIR}/${DIST_SUBDIR}/texlive-${DISTVERSION_TEXLIVE_TEXMF}-texmf${EXTRACT_SUFX} \
105
	${CAT} ${DISTDIR}/${DIST_SUBDIR}/texlive-${DISTVERSION_TEXLIVE_TEXMF}-texmf${EXTRACT_SUFX} \
94
		${EXTRACT_AFTER_ARGS_TEXMF}
106
		${EXTRACT_AFTER_ARGS_TEXMF}
95
107
108
post-install:
109
# Fix shebangs for files installed straight from distribution tarball
110
	cd ${STAGEDIR}${PREFIX} && \
111
		${FIND} ${SHEBANG_FILES_INSTALL} -type f \
112
		-exec ${SED} -i '' ${_SHEBANG_REINPLACE_ARGS} {} +
113
96
.include <bsd.port.mk>
114
.include <bsd.port.mk>
(-)/usr/local/poudriere/ports/experimental/print/tex-xetex/files/patch-configure (-2 / +2 lines)
Lines 1-5 Link Here
1
--- configure.orig	2015-04-12 11:22:39.000000000 +0000
1
--- configure.orig	2015-04-12 11:22:39 UTC
2
+++ configure	2015-07-25 21:47:24.532843000 +0000
2
+++ configure
3
@@ -1033,6 +1033,8 @@ with_system_poppler
3
@@ -1033,6 +1033,8 @@ with_system_poppler
4
 with_system_xpdf
4
 with_system_xpdf
5
 with_system_zziplib
5
 with_system_zziplib

Return to bug 218924