diff options
author | minskim <minskim@pkgsrc.org> | 2012-10-16 21:58:39 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2012-10-16 21:58:39 +0000 |
commit | 005ff72ef50d24be759204b9d497915689051464 (patch) | |
tree | eb390ddb87011ef4072937d986706628c5809a64 /print | |
parent | 7407ff0a3511e55eea18e8fe631ff584c479e7cd (diff) | |
download | pkgsrc-005ff72ef50d24be759204b9d497915689051464.tar.gz |
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.
Diffstat (limited to 'print')
-rw-r--r-- | print/tex-ifplatform/DESCR | 8 | ||||
-rw-r--r-- | print/tex-ifplatform/Makefile | 15 | ||||
-rw-r--r-- | print/tex-ifplatform/PLIST | 2 | ||||
-rw-r--r-- | print/tex-ifplatform/distinfo | 5 |
4 files changed, 30 insertions, 0 deletions
diff --git a/print/tex-ifplatform/DESCR b/print/tex-ifplatform/DESCR new file mode 100644 index 00000000000..aa45448f7cb --- /dev/null +++ b/print/tex-ifplatform/DESCR @@ -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. diff --git a/print/tex-ifplatform/Makefile b/print/tex-ifplatform/Makefile new file mode 100644 index 00000000000..edb78030e9c --- /dev/null +++ b/print/tex-ifplatform/Makefile @@ -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" diff --git a/print/tex-ifplatform/PLIST b/print/tex-ifplatform/PLIST new file mode 100644 index 00000000000..46437c32d0b --- /dev/null +++ b/print/tex-ifplatform/PLIST @@ -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 diff --git a/print/tex-ifplatform/distinfo b/print/tex-ifplatform/distinfo new file mode 100644 index 00000000000..a3cb9450fab --- /dev/null +++ b/print/tex-ifplatform/distinfo @@ -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 |