]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
mandoc: New package
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 18 Sep 2023 11:55:33 +0000 (11:55 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 18 Sep 2023 11:55:33 +0000 (11:55 +0000)
This is required by efivar

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
mandoc/mandoc.nm [new file with mode: 0644]

diff --git a/mandoc/mandoc.nm b/mandoc/mandoc.nm
new file mode 100644 (file)
index 0000000..3c0853f
--- /dev/null
@@ -0,0 +1,43 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = mandoc
+version    = 1.14.6
+release    = 1
+
+groups     = Application/System
+url        = https://mdocml.bsd.lv
+license    = ISC
+summary    = A suite of tools compiling mdoc from the OpenBSD project
+
+description
+       A suite of tools compiling mdoc from the OpenBSD project
+end
+
+source_dl  = https://mandoc.bsd.lv/snapshots/
+
+build
+       requires
+               zlib-devel
+       end
+
+       prepare_cmds
+               {
+                       echo "CFLAGS='%{CFLAGS}'"
+                       echo "LDFLAGS='%{LDFLAGS}'"
+                       echo "PREFIX='%{prefix}'"
+                       echo "MANDIR='%{mandir}'"
+                       echo "INSTALL_PROGRAM='install -v -m 0755'"
+               } >> configure.local
+       end
+end
+
+packages
+       package %{name}
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
+end