summaryrefslogtreecommitdiff
path: root/print/tex-ifplatform
diff options
context:
space:
mode:
authorminskim <minskim>2012-10-16 21:58:39 +0000
committerminskim <minskim>2012-10-16 21:58:39 +0000
commit5e924e58cee6035550cb549fbd6a03ec316452d6 (patch)
treeeb390ddb87011ef4072937d986706628c5809a64 /print/tex-ifplatform
parentd158a498a66d12b6bd8ada4b26f9e18145c2c42d (diff)
downloadpkgsrc-5e924e58cee6035550cb549fbd6a03ec316452d6.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/tex-ifplatform')
-rw-r--r--print/tex-ifplatform/DESCR8
-rw-r--r--print/tex-ifplatform/Makefile15
-rw-r--r--print/tex-ifplatform/PLIST2
-rw-r--r--print/tex-ifplatform/distinfo5
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