summaryrefslogtreecommitdiff
path: root/opt/mandoc/MAKEPKG
diff options
context:
space:
mode:
authorrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
committerrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
commitc82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch)
tree56d864b5a5c6c145edd96178ae219a8f90e191a6 /opt/mandoc/MAKEPKG
downloadports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'opt/mandoc/MAKEPKG')
-rw-r--r--opt/mandoc/MAKEPKG35
1 files changed, 35 insertions, 0 deletions
diff --git a/opt/mandoc/MAKEPKG b/opt/mandoc/MAKEPKG
new file mode 100644
index 0000000..6095f82
--- /dev/null
+++ b/opt/mandoc/MAKEPKG
@@ -0,0 +1,35 @@
+#!/bin/mkpkg
+# description: UNIX manpage compiler and viewer
+# url: https://mandoc.bsd.lv/
+
+name=mandoc
+version=1.14.6
+release=1
+depends=(zlib)
+source=(https://mandoc.bsd.lv/snapshots/mandoc-$version.tar.gz)
+sha256sums=(
+ "8bf0d570f01e70a6e124884088870cbed7537f36328d512909eb10cd53179d9c"
+)
+
+build() {
+ cd $name-$version
+
+ cat > configure.local << EOF
+PREFIX=/usr
+MANDIR=/usr/share/man
+SBINDIR=/usr/bin
+UTF8_LOCALE=en_US.UTF-8
+CFLAGS="$CFLAGS"
+EOF
+
+ ./configure
+ make
+ make DESTDIR=$PKG install
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh