New port : mandoc 1.14.16

This commit is contained in:
Victor Tebar
2022-07-19 15:23:50 +02:00
parent 04d7e2e4d4
commit a3ea457f22
3 changed files with 75 additions and 0 deletions

1
main/mandoc/.checksums Normal file
View File

@@ -0,0 +1 @@
f0adf24e8fdef5f3e332191f653e422a mandoc-1.14.6.tar.gz

32
main/mandoc/.pkgfiles Normal file
View File

@@ -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

42
main/mandoc/spkgbuild Normal file
View File

@@ -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
}