Contents of /smage/trunk/extras/mandoc/mandoc-1.14.6-r1.smage2
Parent Directory | Revision Log
Revision 15836 -
(show annotations)
(download)
Thu Aug 17 08:35:57 2023 UTC (9 months, 2 weeks ago) by niro
File size: 691 byte(s)
Thu Aug 17 08:35:57 2023 UTC (9 months, 2 weeks ago) by niro
File size: 691 byte(s)
-ver bump to 1.14.6-r1
1 | # $Id$ |
2 | |
3 | PNAME="mandoc" |
4 | PVER="1.14.6" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="app-text" |
8 | |
9 | DESCRIPTION="A suite of tools compiling mdoc from the OpenBSD project." |
10 | HOMEPAGE="https://mdocml.bsd.lv" |
11 | |
12 | DEPEND=">= sys-libs/zlib-1.2" |
13 | |
14 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
16 | |
17 | SRC_URI=( |
18 | https://mdocml.bsd.lv/snapshots/${SRCFILE} |
19 | mirror://${PNAME}/${SRCFILE} |
20 | ) |
21 | |
22 | sminclude mtools |
23 | |
24 | UP2SEPERATOR="/" |
25 | UP2DATE="updatecmd https://github.com/rhboot/efivar/releases | highesttarball gz" |
26 | |
27 | src_prepare() |
28 | { |
29 | munpack ${SRCFILE} || die |
30 | } |
31 | |
32 | src_compile() |
33 | { |
34 | cd ${SRCDIR} |
35 | mconfigure || die |
36 | mmake mandoc || die |
37 | } |
38 | |
39 | src_install() |
40 | { |
41 | cd ${SRCDIR} |
42 | |
43 | minstallexec mandoc || die |
44 | minstallman mandoc.1 || die |
45 | } |