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>
41 lines
979 B
Makefile
41 lines
979 B
Makefile
# 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>
|