about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-06-21 13:45:11 -0400
committerJune McEnroe <june@causal.agency>2021-06-21 13:47:17 -0400
commitc7c44d88fedb8392476c05b0de01dc5623b0aa70 (patch)
treed1c82f3a974adad781f42246f56b6ef8478ea218
parentUpdate to OpenBSD 6.9 (diff)
downloadexman-c7c44d88fedb8392476c05b0de01dc5623b0aa70.tar.gz
exman-c7c44d88fedb8392476c05b0de01dc5623b0aa70.zip
Add manuals for macOS 11.3
-rw-r--r--Makefile1
-rw-r--r--exman.14
-rw-r--r--macOS/Makefile8
-rw-r--r--system.mk2
4 files changed, 13 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 275d6ac..02b2665 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,7 @@ SYSTEMS += Linux
 SYSTEMS += NetBSD
 SYSTEMS += OpenBSD
 SYSTEMS += POSIX
+SYSTEMS += macOS
 
 all: exman
 .for system in ${SYSTEMS}
diff --git a/exman.1 b/exman.1
index 7b5ec02..e1c1316 100644
--- a/exman.1
+++ b/exman.1
@@ -1,4 +1,4 @@
-.Dd May  8, 2021
+.Dd June 21, 2021
 .Dt EXMAN 1
 .Os
 .
@@ -36,6 +36,8 @@ man-pages 5.11
 6.9
 .It POSIX
 man-pages-posix 2017
+.It macOS
+11.3
 .El
 .
 .Sh EXAMPLES
diff --git a/macOS/Makefile b/macOS/Makefile
new file mode 100644
index 0000000..2fd7b09
--- /dev/null
+++ b/macOS/Makefile
@@ -0,0 +1,8 @@
+SYSTEM = macOS
+VERSION = 11.3
+MIRROR = https://github.com/phracker/MacOSX-SDKs/releases/download/${VERSION}
+DISTFILES = MacOSX${VERSION}.sdk.tar.xz
+FILES = MacOSX${VERSION}.sdk/usr/share/man/man[1-9]/
+STRIP = 4
+
+.include "../system.mk"
diff --git a/system.mk b/system.mk
index 7ab5aba..9a56c9d 100644
--- a/system.mk
+++ b/system.mk
@@ -11,7 +11,7 @@ all: ${DISTFILES}
 .PRECIOUS: ${DISTFILES}
 
 ${DISTFILES}:
-	${CURL} -O ${MIRROR}/${.TARGET}
+	${CURL} -LO ${MIRROR}/${.TARGET}
 
 clean:
 	rm -f ${DISTFILES}