summaryrefslogtreecommitdiff
path: root/pkg/mandoc
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2017-08-03 23:27:39 -0700
committerMichael Forney <mforney@mforney.org>2017-08-04 00:19:39 -0700
commitf20a5813faa3cbaba9334744fc6baee769434e02 (patch)
tree02692c6e146e12d04e70aaafeb431851ba2f5c0b /pkg/mandoc
parent83e3b5b5fc6e49edc4e499a47effbcb89e69d35b (diff)
Add mandoc 1.14.2 (renamed from mdocml)
Diffstat (limited to 'pkg/mandoc')
-rw-r--r--pkg/mandoc/.gitignore2
-rw-r--r--pkg/mandoc/config.h39
-rw-r--r--pkg/mandoc/gen.rc90
-rw-r--r--pkg/mandoc/rev1
-rw-r--r--pkg/mandoc/sha2561
-rw-r--r--pkg/mandoc/url1
6 files changed, 134 insertions, 0 deletions
diff --git a/pkg/mandoc/.gitignore b/pkg/mandoc/.gitignore
new file mode 100644
index 00000000..c4dbcb6b
--- /dev/null
+++ b/pkg/mandoc/.gitignore
@@ -0,0 +1,2 @@
+/mandoc-1.14.2.tar.gz
+/src
diff --git a/pkg/mandoc/config.h b/pkg/mandoc/config.h
new file mode 100644
index 00000000..22bfba7e
--- /dev/null
+++ b/pkg/mandoc/config.h
@@ -0,0 +1,39 @@
+#include <config-posix.h>
+
+#define UTF8_LOCALE "C.UTF-8"
+#define EFTYPE EINVAL
+#define HAVE_CMSG_XPG42 0
+#define HAVE_DIRENT_NAMLEN 0
+#define HAVE_ENDIAN 1
+#define HAVE_ERR 1
+#define HAVE_FTS 0
+#define HAVE_FTS_COMPARE_CONST 0
+#define HAVE_PLEDGE 0
+#define HAVE_PROGNAME 1
+#define HAVE_REALLOCARRAY 1
+#define HAVE_REWB_BSD 0
+#define HAVE_REWB_SYSV 1
+#define HAVE_SANDBOX_INIT 0
+#define HAVE_STRCASESTR 1
+#define HAVE_STRINGLIST 0
+#define HAVE_STRLCAT 1
+#define HAVE_STRLCPY 1
+#define HAVE_STRSEP 1
+#define HAVE_STRTONUM 1
+#define HAVE_SYS_ENDIAN 0
+#define HAVE_VASPRINTF 1
+#define HAVE_WCHAR 1
+#define HAVE_OHASH 0
+
+/* binary names */
+#define BINM_APROPOS "apropos"
+#define BINM_CATMAN "catman"
+#define BINM_MAKEWHATIS "makewhatis"
+#define BINM_MAN "man"
+#define BINM_SOELIM "soelim"
+#define BINM_WHATIS "whatis"
+
+/* paths */
+#define MAN_CONF_FILE "/etc/man.conf"
+#define MANPATH_BASE "/share/man"
+#define MANPATH_DEFAULT "/share/man"
diff --git a/pkg/mandoc/gen.rc b/pkg/mandoc/gen.rc
new file mode 100644
index 00000000..02257117
--- /dev/null
+++ b/pkg/mandoc/gen.rc
@@ -0,0 +1,90 @@
+cflags\
+ -isystem pkg/openbsd/include\
+ -isystem '$builddir'/pkg/zlib/include\
+ -I include\
+ -I '$dir'
+
+lib libmandoc.a -d pkg/zlib/headers\
+ man.c\
+ man_macro.c\
+ man_validate.c\
+ \
+ att.c\
+ lib.c\
+ mdoc.c\
+ mdoc_argv.c\
+ mdoc_macro.c\
+ mdoc_state.c\
+ mdoc_validate.c\
+ st.c\
+ \
+ eqn.c\
+ roff.c\
+ roff_validate.c\
+ tbl.c\
+ tbl_data.c\
+ tbl_layout.c\
+ tbl_opts.c\
+ \
+ chars.c\
+ mandoc.c\
+ mandoc_aux.c\
+ mandoc_ohash.c\
+ mandoc_xr.c\
+ msec.c\
+ preconv.c\
+ read.c\
+ \
+ compat_fts.c\
+ compat_ohash.c
+
+exe mandoc\
+ main.c\
+ manpath.c\
+ mdoc_man.c\
+ mdoc_markdown.c\
+ out.c\
+ tag.c\
+ tree.c\
+ \
+ eqn_html.c\
+ html.c\
+ man_html.c\
+ mdoc_html.c\
+ roff_html.c\
+ tbl_html.c\
+ \
+ eqn_term.c\
+ man_term.c\
+ mdoc_term.c\
+ roff_term.c\
+ term.c\
+ term_ascii.c\
+ term_ps.c\
+ term_tab.c\
+ tbl_term.c\
+ \
+ dbm.c\
+ dbm_map.c\
+ mansearch.c\
+ \
+ dba.c\
+ dba_array.c\
+ dba_read.c\
+ dba_write.c\
+ mandocdb.c\
+ \
+ libmandoc.a\
+ '$builddir'/pkg/^(openbsd/libbsd.a zlib/libz.a)
+exe demandoc demandoc.c libmandoc.a '$builddir'/pkg/^(openbsd/libbsd.a zlib/libz.a)
+
+for(exe in mandoc demandoc) file bin/$exe '$outdir'/$exe 755
+for(sym in apropos man whatis makewhatis) sym bin/$sym mandoc
+man\
+ 1 mandoc.1 demandoc.1 man.1 apropos.1\
+ 5 man.conf.5 mandoc.db.5\
+ 7 man.7 mdoc.7 roff.7 eqn.7 tbl.7 mandoc_char.7\
+ 8 makewhatis.8
+sym share/man/man1/whatis.1.gz apropos.1.gz
+
+fetch curl
diff --git a/pkg/mandoc/rev b/pkg/mandoc/rev
new file mode 100644
index 00000000..b8626c4c
--- /dev/null
+++ b/pkg/mandoc/rev
@@ -0,0 +1 @@
+4
diff --git a/pkg/mandoc/sha256 b/pkg/mandoc/sha256
new file mode 100644
index 00000000..11f2d061
--- /dev/null
+++ b/pkg/mandoc/sha256
@@ -0,0 +1 @@
+3c5562a8131697f80edbba81cdb8f6eeb5e1692388d8d2945fbbdac06ede1dfc mandoc-1.14.2.tar.gz
diff --git a/pkg/mandoc/url b/pkg/mandoc/url
new file mode 100644
index 00000000..417d96e6
--- /dev/null
+++ b/pkg/mandoc/url
@@ -0,0 +1 @@
+url = "http://mdocml.bsd.lv/snapshots/mandoc-1.14.2.tar.gz"