From a3ea457f22cccc4decd24f8b12f37b1999efe3fc Mon Sep 17 00:00:00 2001 From: Victor Tebar Date: Tue, 19 Jul 2022 15:23:50 +0200 Subject: [PATCH] New port : mandoc 1.14.16 --- main/mandoc/.checksums | 1 + main/mandoc/.pkgfiles | 32 ++++++++++++++++++++++++++++++++ main/mandoc/spkgbuild | 42 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 main/mandoc/.checksums create mode 100644 main/mandoc/.pkgfiles create mode 100644 main/mandoc/spkgbuild diff --git a/main/mandoc/.checksums b/main/mandoc/.checksums new file mode 100644 index 000000000..85cf7c7f5 --- /dev/null +++ b/main/mandoc/.checksums @@ -0,0 +1 @@ +f0adf24e8fdef5f3e332191f653e422a mandoc-1.14.6.tar.gz diff --git a/main/mandoc/.pkgfiles b/main/mandoc/.pkgfiles new file mode 100644 index 000000000..14b95565a --- /dev/null +++ b/main/mandoc/.pkgfiles @@ -0,0 +1,32 @@ +mandoc-1.14.6-1 +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-r-xr-xr-x root/root usr/bin/demandoc +-r-xr-xr-x root/root usr/bin/mandoc +lrwxrwxrwx root/root usr/bin/mapropos -> mandoc +lrwxrwxrwx root/root usr/bin/mman -> mandoc +-r-xr-xr-x root/root usr/bin/msoelim +lrwxrwxrwx root/root usr/bin/mwhatis -> mandoc +drwxr-xr-x root/root usr/sbin/ +lrwxrwxrwx root/root usr/sbin/mandocdb -> ../bin/mandoc +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/demandoc.1.gz +-r--r--r-- root/root usr/share/man/man1/mandoc.1.gz +-r--r--r-- root/root usr/share/man/man1/mapropos.1.gz +-r--r--r-- root/root usr/share/man/man1/mman.1.gz +-r--r--r-- root/root usr/share/man/man1/msoelim.1.gz +lrwxrwxrwx root/root usr/share/man/man1/mwhatis.1.gz -> mapropos.1.gz +drwxr-xr-x root/root usr/share/man/man5/ +-r--r--r-- root/root usr/share/man/man5/mandoc.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/mandoc_char.7.gz +-r--r--r-- root/root usr/share/man/man7/mandoc_eqn.7.gz +-r--r--r-- root/root usr/share/man/man7/mandoc_man.7.gz +-r--r--r-- root/root usr/share/man/man7/mandoc_mdoc.7.gz +-r--r--r-- root/root usr/share/man/man7/mandoc_roff.7.gz +-r--r--r-- root/root usr/share/man/man7/mandoc_tbl.7.gz +drwxr-xr-x root/root usr/share/man/man8/ +-r--r--r-- root/root usr/share/man/man8/mandocdb.8.gz diff --git a/main/mandoc/spkgbuild b/main/mandoc/spkgbuild new file mode 100644 index 000000000..4007505e9 --- /dev/null +++ b/main/mandoc/spkgbuild @@ -0,0 +1,42 @@ +# description : mandoc - a document processor for mdoc and man +# homepage : https://mdocml.bsd.lv/ + +name=mandoc +version=1.14.6 +release=1 +source="http://mandoc.bsd.lv/snapshots/$name-$version.tar.gz" + +build() { + cd $name-$version + + cat >configure.local <<-'EOF' + OSNAME=CRUX + PREFIX=/usr + MANDIR=/usr/share/man + + MANPATH_DEFAULT="/usr/share/man:/usr/manv" + MANPATH_BASE="/usr/share/man:/usr/man" + + MANM_MANCONF="mandoc.conf" + + MANM_MAN="mandoc_man" + MANM_MDOC="mandoc_mdoc" + MANM_ROFF="mandoc_roff" + MANM_EQN="mandoc_eqn" + MANM_TBL="mandoc_tbl" + + BINM_MAN=mman + BINM_APROPOS=mapropos + BINM_WHATIS=mwhatis + BINM_MAKEWHATIS=mandocdb + BINM_SOELIM=msoelim + + LN="ln -sf" + EOF + + ./configure + make + make DESTDIR=$PKG install + + rm -rf $PKG/share/examples +}