BSD Ports

print/tex-ifplatform 0.4anb2 NetBSD

Conditionals to test which platform is being used

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
lppl-1.3c
Categories
print
Package size
4.9 KiB, 3.8 KiB installed

Description

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.

Install

Binary package:

pkgin install tex-ifplatform

From pkgsrc:

cd /usr/pkgsrc/print/tex-ifplatform && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.4anb2
NetBSD 10.1 aarch640.4anb2
SmartOS / illumos x86_640.4anb2
macOS 15 arm640.4anb2

Dependencies

Run dependencies 4