From b74014fcdfd8555d7e69104d49a785d311aebc57 Mon Sep 17 00:00:00 2001 From: Shokara Kou Date: Fri, 13 May 2022 12:30:04 -0400 Subject: add mandoc --- mandoc/.footprint | 31 +++++++++++++++++++++++++++++++ mandoc/.md5sum | 1 + mandoc/Pkgfile | 21 +++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 mandoc/.footprint create mode 100644 mandoc/.md5sum create mode 100644 mandoc/Pkgfile diff --git a/mandoc/.footprint b/mandoc/.footprint new file mode 100644 index 0000000..9d042b1 --- /dev/null +++ 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 new file mode 100644 index 0000000..85cf7c7 --- /dev/null +++ b/mandoc/.md5sum @@ -0,0 +1 @@ +f0adf24e8fdef5f3e332191f653e422a mandoc-1.14.6.tar.gz diff --git a/mandoc/Pkgfile b/mandoc/Pkgfile new file mode 100644 index 0000000..a230a21 --- /dev/null +++ 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 +} -- cgit v1.2.3