Magellan Linux

Contents of /smage/branches/alx08x-unstable/extras/mandoc/mandoc-1.14.6-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 17372 - (show annotations) (download)
Wed Nov 22 10:46:36 2023 UTC (6 months, 3 weeks ago) by niro
File size: 682 byte(s)
-release branches/alx08x-unstable
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 UP2DATE="updatecmd https://mdocml.bsd.lv/snapshots/ | grep ${PNAME}- | highesttarball gz"
25
26 src_prepare()
27 {
28 munpack ${SRCFILE} || die
29 }
30
31 src_compile()
32 {
33 cd ${SRCDIR}
34 mconfigure || die
35 mmake mandoc || die
36 }
37
38 src_install()
39 {
40 cd ${SRCDIR}
41
42 minstallexec mandoc || die
43 minstallman mandoc.1 || die
44 }