summaryrefslogtreecommitdiff
path: root/print/ifxetex
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2008-09-25 01:20:23 +0000
committerWesley Shields <wxs@FreeBSD.org>2008-09-25 01:20:23 +0000
commitba4001b5d1bff67188cfd604eecb4ab5da6eab00 (patch)
treeaa78437024c3e8b48724d82ecfb7efb79f846bc7 /print/ifxetex
parentUpdate devel/ptmalloc to version 3 (diff)
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>
Notes
Notes: svn path=/head/; revision=220742
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/