blob: 3c7b8c42a6cc161cdcb3428ed38d583fdb2da0e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
DESCRIPTION="Man pages for the Fortran language"
HOMEPAGE="https://github.com/AstroFloyd/man-pages-fortran"
SRC_URI="https://github.com/AstroFloyd/man-pages-fortran/releases/download/v${PV}/${P}.tar.gz"
LICENSE="FDL-1.3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND=""
RDEPEND="virtual/man"
src_install() {
dodoc README.md CHANGELOG VERSION
doman man3f/*.3f
mv -f "${D}/usr/share/man/man3" "${D}/usr/share/man/man3f" # Move from man3/ -> man3f/
doman man3f/fortran.3f # Install into man3/ so that it can be found easily
}
pkg_postinst() {
elog "The command 'man fortran' gives and overview of the available procedures"
elog "and man pages. Issue 'man 3f <procedure>' to read a detailed man page."
elog "In order to add the Fortran man pages (section 3f) to be found automatically,"
elog "add '3f' to the MANSECT line in /etc/man.conf or set the MANSECT"
elog "environment variable and type 'man <procedure>'."
}
|