diff options
-rw-r--r-- | print/Makefile | 1 | ||||
-rw-r--r-- | print/latex-ifluatex/Makefile | 47 | ||||
-rw-r--r-- | print/latex-ifluatex/distinfo | 4 | ||||
-rw-r--r-- | print/latex-ifluatex/pkg-descr | 7 | ||||
-rw-r--r-- | print/latex-ifluatex/pkg-plist | 8 |
5 files changed, 67 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile index 00952aec2538..c9c20295b0ab 100644 --- a/print/Makefile +++ b/print/Makefile @@ -141,6 +141,7 @@ SUBDIR += latex-csquotes SUBDIR += latex-etoolbox SUBDIR += latex-feynmf + SUBDIR += latex-ifluatex SUBDIR += latex-keystroke SUBDIR += latex-logpap SUBDIR += latex-logreq diff --git a/print/latex-ifluatex/Makefile b/print/latex-ifluatex/Makefile new file mode 100644 index 000000000000..92ddd95981b4 --- /dev/null +++ b/print/latex-ifluatex/Makefile @@ -0,0 +1,47 @@ +# $FreeBSD$ + +PORTNAME= latex-ifluatex +PORTVERSION= 1.3 +CATEGORIES= print +MASTER_SITES= ${MASTER_SITE_TEX_CTAN} +MASTER_SITE_SUBDIR= macros/latex/contrib/oberdiek +DISTFILES= ifluatex.dtx ${DOC_FILES} +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org +COMMENT= LaTeX package that provides the \ifluatex switch + +USE_TEX= latex +PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR} \ + CLASSDIR=${CLASSDIR} + +TEXMFLOCAL= share/texmf-local +TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R +MKTEXLSR= ${LOCALBASE}/bin/mktexlsr +TEX_BIN= ${LOCALBASE}/bin/etex +CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//} +WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//} + +CLASS_FILES= ifluatex.dtx ifluatex.sty + +DOC_FILES= ifluatex.pdf + +do-extract: + ${MKDIR} ${WRKSRC} + cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC} + +do-build: + cd ${WRKSRC} && ${TEX_BIN} ifluatex.dtx + +do-install: + ${MKDIR} ${PREFIX}/${CLASSDIR} + ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR} +.endif + +post-install: + @${MKTEXLSR} + +.include <bsd.port.mk> diff --git a/print/latex-ifluatex/distinfo b/print/latex-ifluatex/distinfo new file mode 100644 index 000000000000..501d459f5759 --- /dev/null +++ b/print/latex-ifluatex/distinfo @@ -0,0 +1,4 @@ +SHA256 (latex-ifluatex/ifluatex.dtx) = 79161f486907de3f6ceefb8be93a182a80f29cf84001a684486b6d5cdb7a21e2 +SIZE (latex-ifluatex/ifluatex.dtx) = 26202 +SHA256 (latex-ifluatex/ifluatex.pdf) = 63a938fb257ab79f831385857b07a3a2c527d98391fdf2548dcea9d0370ef4e0 +SIZE (latex-ifluatex/ifluatex.pdf) = 129761 diff --git a/print/latex-ifluatex/pkg-descr b/print/latex-ifluatex/pkg-descr new file mode 100644 index 000000000000..112492f91b95 --- /dev/null +++ b/print/latex-ifluatex/pkg-descr @@ -0,0 +1,7 @@ +ifluatex –- provides the \ifluatex switch + +The package looks for LuaTEX regardless of its mode and provides the +switch \ifluatex; it works with Plain TEX or LATEX. The package is part +of the oberdiek bundle. + +WWW: http://www.ctan.org/pkg/ifluatex diff --git a/print/latex-ifluatex/pkg-plist b/print/latex-ifluatex/pkg-plist new file mode 100644 index 000000000000..5ebe42e94080 --- /dev/null +++ b/print/latex-ifluatex/pkg-plist @@ -0,0 +1,8 @@ +@comment $FreeBSD$ +%%PORTDOCS%%%%DOCSDIR%%/ifluatex.pdf +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%CLASSDIR%%/ifluatex.dtx +%%CLASSDIR%%/ifluatex.sty +@dirrm %%CLASSDIR%% +@exec %%MKTEXLSR%% +@unexec %%MKTEXLSR%% |