aboutsummaryrefslogtreecommitdiffstats
path: root/print/ifxetex
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2008-09-25 09:20:23 +0800
committerwxs <wxs@FreeBSD.org>2008-09-25 09:20:23 +0800
commitdb913542de452626c11944013362efd30202731b (patch)
treeb02d44ac3f62204dc9f512c3d17b2d0f19849109 /print/ifxetex
parente97cf9d21de4d7be3b4c97f53ef736ac605f4f36 (diff)
downloadfreebsd-ports-gnome-db913542de452626c11944013362efd30202731b.tar.gz
freebsd-ports-gnome-db913542de452626c11944013362efd30202731b.tar.zst
freebsd-ports-gnome-db913542de452626c11944013362efd30202731b.zip
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 <martin.dieringer@gmx.de>
Diffstat (limited to 'print/ifxetex')
-rw-r--r--print/ifxetex/Makefile41
-rw-r--r--print/ifxetex/distinfo3
-rw-r--r--print/ifxetex/pkg-descr8
3 files changed, 52 insertions, 0 deletions
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 <martin.dieringer@gmx.de>
+#
+# $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 <bsd.port.mk>
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/