From ae21152ea5d31f35efc61f968725004ef5f90aaa Mon Sep 17 00:00:00 2001 From: minskim Date: Tue, 16 Oct 2012 21:58:39 +0000 Subject: [PATCH] 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. --- print/tex-ifplatform/DESCR | 8 ++++++++ print/tex-ifplatform/Makefile | 15 +++++++++++++++ print/tex-ifplatform/PLIST | 2 ++ print/tex-ifplatform/distinfo | 5 +++++ 4 files changed, 30 insertions(+) create mode 100644 print/tex-ifplatform/DESCR create mode 100644 print/tex-ifplatform/Makefile create mode 100644 print/tex-ifplatform/PLIST create mode 100644 print/tex-ifplatform/distinfo diff --git a/print/tex-ifplatform/DESCR b/print/tex-ifplatform/DESCR new file mode 100644 index 000000000000..aa45448f7cb2 --- /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 000000000000..edb78030e9c1 --- /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 000000000000..46437c32d0b2 --- /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 000000000000..a3cb9450fabd --- /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