summaryrefslogtreecommitdiff
path: root/print/tex-ifplatform/Makefile
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/Makefile
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/Makefile')
-rw-r--r--print/tex-ifplatform/Makefile15
1 files changed, 15 insertions, 0 deletions
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"