svn commit: r319892 - in head/print: . latex-ifluatex
Gabor Pali
pgj at FreeBSD.org
Tue Jun 4 18:45:49 UTC 2013
Author: pgj
Date: Tue Jun 4 18:45:47 2013
New Revision: 319892
URL: http://svnweb.freebsd.org/changeset/ports/319892
Log:
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
PR: ports/179146
Requested by: Omar Thameen <omar at biglist.com>
Added:
head/print/latex-ifluatex/
head/print/latex-ifluatex/Makefile (contents, props changed)
head/print/latex-ifluatex/distinfo (contents, props changed)
head/print/latex-ifluatex/pkg-descr (contents, props changed)
head/print/latex-ifluatex/pkg-plist (contents, props changed)
Modified:
head/print/Makefile
Modified: head/print/Makefile
==============================================================================
--- head/print/Makefile Tue Jun 4 18:30:57 2013 (r319891)
+++ head/print/Makefile Tue Jun 4 18:45:47 2013 (r319892)
@@ -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
Added: head/print/latex-ifluatex/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/print/latex-ifluatex/Makefile Tue Jun 4 18:45:47 2013 (r319892)
@@ -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 at 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>
Added: head/print/latex-ifluatex/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/print/latex-ifluatex/distinfo Tue Jun 4 18:45:47 2013 (r319892)
@@ -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
Added: head/print/latex-ifluatex/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/print/latex-ifluatex/pkg-descr Tue Jun 4 18:45:47 2013 (r319892)
@@ -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
Added: head/print/latex-ifluatex/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/print/latex-ifluatex/pkg-plist Tue Jun 4 18:45:47 2013 (r319892)
@@ -0,0 +1,8 @@
+ at comment $FreeBSD$
+%%PORTDOCS%%%%DOCSDIR%%/ifluatex.pdf
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%CLASSDIR%%/ifluatex.dtx
+%%CLASSDIR%%/ifluatex.sty
+ at dirrm %%CLASSDIR%%
+ at exec %%MKTEXLSR%%
+ at unexec %%MKTEXLSR%%
More information about the svn-ports-all
mailing list