commit b74014fcdfd8555d7e69104d49a785d311aebc57
parent b556b44749c09008f74138916b660dfa07dfcd8f
Author: Shokara Kou <kou@13f0.net>
Date: Fri, 13 May 2022 12:30:04 -0400
add mandoc
Diffstat:
3 files changed, 53 insertions(+), 0 deletions(-)
diff --git a/mandoc/.footprint b/mandoc/.footprint
@@ -0,0 +1,31 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-r-xr-xr-x root/root usr/bin/apropos
+-r-xr-xr-x root/root usr/bin/demandoc
+-r-xr-xr-x root/root usr/bin/man
+-r-xr-xr-x root/root usr/bin/mandoc
+-r-xr-xr-x root/root usr/bin/soelim
+-r-xr-xr-x root/root usr/bin/whatis
+drwxr-xr-x root/root usr/sbin/
+-r-xr-xr-x root/root usr/sbin/makewhatis
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-r--r--r-- root/root usr/share/man/man1/apropos.1
+-r--r--r-- root/root usr/share/man/man1/demandoc.1.gz
+-r--r--r-- root/root usr/share/man/man1/man.1.gz
+-r--r--r-- root/root usr/share/man/man1/mandoc.1.gz
+-r--r--r-- root/root usr/share/man/man1/soelim.1.gz
+-r--r--r-- root/root usr/share/man/man1/whatis.1
+drwxr-xr-x root/root usr/share/man/man5/
+-r--r--r-- root/root usr/share/man/man5/man.conf.5.gz
+-r--r--r-- root/root usr/share/man/man5/mandoc.db.5.gz
+drwxr-xr-x root/root usr/share/man/man7/
+-r--r--r-- root/root usr/share/man/man7/eqn.7.gz
+-r--r--r-- root/root usr/share/man/man7/man.7.gz
+-r--r--r-- root/root usr/share/man/man7/mandoc_char.7.gz
+-r--r--r-- root/root usr/share/man/man7/mdoc.7.gz
+-r--r--r-- root/root usr/share/man/man7/roff.7.gz
+-r--r--r-- root/root usr/share/man/man7/tbl.7.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-r--r--r-- root/root usr/share/man/man8/makewhatis.8.gz
diff --git a/mandoc/.md5sum b/mandoc/.md5sum
@@ -0,0 +1 @@
+f0adf24e8fdef5f3e332191f653e422a mandoc-1.14.6.tar.gz
diff --git a/mandoc/Pkgfile b/mandoc/Pkgfile
@@ -0,0 +1,21 @@
+# Description: a suite of tools compiling mdoc and man
+# URL: https://mandoc.bsd.lv/
+# Maintainer: Shokara Kou, kou at 13f0 dot net
+# Depends on:
+
+name=mandoc
+version=1.14.6
+release=1
+source=(https://mandoc.bsd.lv/snapshots/$name-$version.tar.gz)
+
+build() {
+ cd $name-$version
+
+ sed -e 's,^PREFIX="/usr/local",PREFIX=/usr,g' \
+ -e 's,^MANDIR=.*,MANDIR=${PREFIX}/share/man,' configure >tmp
+ mv tmp configure
+ chmod +x configure
+
+ ./configure
+ make PREFIX=/usr DESTDIR=$PKG install
+}