aboutsummaryrefslogtreecommitdiffstats
path: root/sys-apps/mandoc/mandoc-1.14.5-r3.ebuild
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-12-11 17:47:33 +0100
committerWynn Wolf Arbor2020-12-11 17:47:33 +0100
commit8eaec1f5d378470e5efcfdb99dd6ad75de05bffa (patch)
tree1261b382273da9ace581a0f896b1c808a0f2b4f4 /sys-apps/mandoc/mandoc-1.14.5-r3.ebuild
parentbefee72a5fcc187d4bd0c8797dde76461f2363be (diff)
downloadpramantha-8eaec1f5d378470e5efcfdb99dd6ad75de05bffa.tar.gz
sys-apps/mandoc: Drop
A couple of years after my initial bug report [1], mandoc has finally been modified [2] to be integrated as a system man provider in Gentoo. Thus, we can drop our modified copy from this overlay. [1] https://bugs.gentoo.org/show_bug.cgi?id=616776 [2] https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21fccd433a95f545ac5407c0f58020bd010a38c6
Diffstat (limited to 'sys-apps/mandoc/mandoc-1.14.5-r3.ebuild')
-rw-r--r--sys-apps/mandoc/mandoc-1.14.5-r3.ebuild71
1 files changed, 0 insertions, 71 deletions
diff --git a/sys-apps/mandoc/mandoc-1.14.5-r3.ebuild b/sys-apps/mandoc/mandoc-1.14.5-r3.ebuild
deleted file mode 100644
index 8025515..0000000
--- a/sys-apps/mandoc/mandoc-1.14.5-r3.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit multilib toolchain-funcs
-
-DESCRIPTION="Suite of tools compiling mdoc and man"
-HOMEPAGE="http://mdocml.bsd.lv/"
-SRC_URI="http://mdocml.bsd.lv/snapshots/${P}.tar.gz"
-
-LICENSE="ISC"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="+cron static"
-
-LIB_DEPEND="sys-libs/zlib[static-libs(+)]"
-RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
- !sys-apps/man-db !sys-apps/man"
-DEPEND="${RDEPEND}
- static? ( ${LIB_DEPEND} )"
-
-src_prepare() {
- default
-
- sed -i -e '/ar rs/s:ar:$(AR):' Makefile || die
-
- cat <<-EOF > "configure.local"
- PREFIX="${EPREFIX}/usr"
- BINDIR="${EPREFIX}/usr/bin"
- SBINDIR="${EPREFIX}/usr/sbin"
- LIBDIR="${EPREFIX}/usr/$(get_libdir)"
- MANDIR="${EPREFIX}/usr/share/man"
- INCLUDEDIR="${EPREFIX}/usr/include/mandoc"
- EXAMPLEDIR="${EPREFIX}/usr/share/examples/mandoc"
- MANPATH_DEFAULT="${EPREFIX}/usr/man:${EPREFIX}/usr/share/man:${EPREFIX}/usr/local/man:${EPREFIX}/usr/local/share/man"
-
- BINM_SOELIM=msoelim
- MANM_MAN=mandoc_man
- MANM_ROFF=mandoc_roff
-
- CFLAGS="${CFLAGS} ${CPPFLAGS}"
- LDFLAGS="${LDFLAGS} $(usex static -static '')"
- AR="$(tc-getAR)"
- CC="$(tc-getCC)"
- # The STATIC variable is only used by man.cgi.
- STATIC=
-
- $(usex elibc_musl UTF8_LOCALE=C.UTF-8 '')
- EOF
-}
-
-src_install() {
- default
-
- if use cron; then
- exeinto /etc/cron.daily
- newexe "${FILESDIR}"/mandoc.cron mandoc
- fi
-}
-
-pkg_postinst() {
- elog "In order to enable mandoc's apropos and man -k functionality,"
- elog "the appropriate mandoc.db files need to be created. This can"
- elog "be achieved by running makewhatis as root (Note: sudo will not"
- elog "work, as it does not preserve the MANPATH environment variable"
- elog "by default)."
- elog
- elog "If the cron use-flag is enabled, a cron.daily entry that calls"
- elog "makewhatis will be installed."
-}