Import tex-ifplatform-0.3a as print/tex-ifplatform.
This package uses the (La)TeX extension -shell-escape to establish whether the document is being processed on a Windows or on a Unix-like system (Mac OS X, Linux, etc.), or on Cygwin (Unix environment over a windows system). Booleans provided are \ifwindows, \iflinux, \ifmacosx, and \ifcygwin. The package also preserves the output of uname on a Unix-like system, which may be used to distinguish between various classes of Unix systems.
This commit is contained in:
parent
9530034176
commit
ae21152ea5
4 changed files with 30 additions and 0 deletions
8
print/tex-ifplatform/DESCR
Normal file
8
print/tex-ifplatform/DESCR
Normal file
|
@ -0,0 +1,8 @@
|
|||
This package uses the (La)TeX extension -shell-escape to
|
||||
establish whether the document is being processed on a Windows
|
||||
or on a Unix-like system (Mac OS X, Linux, etc.), or on Cygwin
|
||||
(Unix environment over a windows system). Booleans provided
|
||||
are \ifwindows, \iflinux, \ifmacosx, and \ifcygwin. The
|
||||
package also preserves the output of uname on a Unix-like
|
||||
system, which may be used to distinguish between various
|
||||
classes of Unix systems.
|
15
print/tex-ifplatform/Makefile
Normal file
15
print/tex-ifplatform/Makefile
Normal file
|
@ -0,0 +1,15 @@
|
|||
# $NetBSD: Makefile,v 1.1 2012/10/16 21:58:39 minskim Exp $
|
||||
|
||||
DISTNAME= ifplatform
|
||||
PKGNAME= tex-${DISTNAME}-0.3a
|
||||
TEXLIVE_REV= 21156
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
COMMENT= Conditionals to test which platform is being used
|
||||
LICENSE= lppl-1.3c
|
||||
|
||||
DEPENDS+= tex-ifluatex-[0-9]*:../../print/tex-ifluatex
|
||||
DEPENDS+= tex-oberdiek-[0-9]*:../../print/tex-oberdiek
|
||||
|
||||
.include "../../print/texlive/package.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
2
print/tex-ifplatform/PLIST
Normal file
2
print/tex-ifplatform/PLIST
Normal file
|
@ -0,0 +1,2 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2012/10/16 21:58:39 minskim Exp $
|
||||
share/texmf-dist/tex/latex/ifplatform/ifplatform.sty
|
5
print/tex-ifplatform/distinfo
Normal file
5
print/tex-ifplatform/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1 2012/10/16 21:58:39 minskim Exp $
|
||||
|
||||
SHA1 (tex-ifplatform-21156/ifplatform.tar.xz) = 716296d18a7e2018e0a2413bb9f71e550a5dfa19
|
||||
RMD160 (tex-ifplatform-21156/ifplatform.tar.xz) = e7bad49e2af0d7aaa8cc8200975c213c68b1e4ef
|
||||
Size (tex-ifplatform-21156/ifplatform.tar.xz) = 1968 bytes
|
Loading…
Reference in a new issue