From db913542de452626c11944013362efd30202731b Mon Sep 17 00:00:00 2001 From: wxs Date: Thu, 25 Sep 2008 01:20:23 +0000 Subject: This very simple package, for both Plain and LaTeX, defines the \ifxetex boolean for testing whether the TeX-variant XeTeX is being used for typesetting. Also provides the \RequireXeTeX command which throws an error if XeTeX is not the engine in use. WWW: http://www.ctan.org/tex-archive/macros/generic/ifxetex/ PR: ports/127607 Submitted by: Martin Dieringer --- print/ifxetex/Makefile | 41 +++++++++++++++++++++++++++++++++++++++++ print/ifxetex/distinfo | 3 +++ print/ifxetex/pkg-descr | 8 ++++++++ 3 files changed, 52 insertions(+) create mode 100644 print/ifxetex/Makefile create mode 100644 print/ifxetex/distinfo create mode 100644 print/ifxetex/pkg-descr (limited to 'print/ifxetex') diff --git a/print/ifxetex/Makefile b/print/ifxetex/Makefile new file mode 100644 index 000000000000..3f2026e75a46 --- /dev/null +++ b/print/ifxetex/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: ifxetex +# Date created: 2008-09-24 +# Whom: Martin Dieringer +# +# $FreeBSD$ + +PORTNAME= ifxetex +PORTVERSION= 20080729 +CATEGORIES= print +MASTER_SITES= ${MASTER_SITE_TEX_CTAN} +MASTER_SITE_SUBDIR= macros/generic/${PORTNAME} +DISTNAME= ${PORTNAME} +EXTRACT_SUFX= .sty + +MAINTAINER= martin.dieringer@gmx.de +COMMENT= The file ifxetex.sty tests whether XeTeX is being used + +RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base + +NO_BUILD= yes +NO_WRKSUBDIR= yes +EXTRACT_CMD= ${CP} +EXTRACT_BEFORE_ARGS= # empty +EXTRACT_AFTER_ARGS= . + +TEXMFDIR= share/texmf-local +CLASSDIR= ${TEXMFDIR}/tex/latex/${PORTNAME} +CLASS_FILES= ${DISTFILES} + +PLIST_SUB= CLASSDIR=${CLASSDIR} +PLIST_FILES= ${CLASSDIR}/${CLASS_FILES} +PLIST_DIRS= ${CLASSDIR} + +do-install: + @${MKDIR} ${PREFIX}/${CLASSDIR} + ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} + +post-install: + ${LOCALBASE}/bin/texhash + +.include diff --git a/print/ifxetex/distinfo b/print/ifxetex/distinfo new file mode 100644 index 000000000000..e737c956854a --- /dev/null +++ b/print/ifxetex/distinfo @@ -0,0 +1,3 @@ +MD5 (ifxetex.sty) = ae23b43f2e48f780fc0fcbd1f4048435 +SHA256 (ifxetex.sty) = 1c7e44f82828e1528b89b0df6f948fb921950a31370a9bf8eaf11f9d421116ea +SIZE (ifxetex.sty) = 1645 diff --git a/print/ifxetex/pkg-descr b/print/ifxetex/pkg-descr new file mode 100644 index 000000000000..c8f2d06ae5cf --- /dev/null +++ b/print/ifxetex/pkg-descr @@ -0,0 +1,8 @@ +This very simple package, for both Plain and LaTeX, defines +the \ifxetex boolean for testing whether the TeX-variant +XeTeX is being used for typesetting. + +Also provides the \RequireXeTeX command which throws +an error if XeTeX is not the engine in use. + +WWW: http://www.ctan.org/tex-archive/macros/generic/ifxetex/ -- cgit