-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
62 lines (48 loc) · 1.75 KB
/
Portfile
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
# make sure to keep in sync with mpich
name mpi-doc
version 3.4.1
revision 0
license BSD
categories science parallel net
platforms darwin
maintainers {@mascguy} \
openmaintainer
homepage https://www.mpich.org/
supported_archs noarch
description Message Passing Interface (MPI) Library Man Pages
long_description ${description}
master_sites ${homepage}static/tarballs/${version}/
distname mpich-${version}
checksums rmd160 e1ada31903d2ad7a6331aabbbf67eb058366d9d7 \
sha256 8836939804ef6d492bcee7d54abafd6477d2beca247157d92688654d13779727 \
size 30720928
dist_subdir mpich
use_configure no
universal_variant no
build {}
destroot {
delete ${destroot}${prefix}/share/man/man1
delete ${destroot}${prefix}/share/man/man3
move ${worksrcpath}/man/man1 ${destroot}${prefix}/share/man/
move ${worksrcpath}/man/man3 ${destroot}${prefix}/share/man/
}
livecheck.type regex
livecheck.regex mpich-(\[0-9.p\]+)${extract.suffix}
livecheck.url ${homepage}downloads/index.php?s=downloads
# Remove all traces of -devel on or after January 2022, as with openmpi and mpich
subport ${name}-devel {
PortGroup obsolete 1.0
set msg "${subport}: Devel subports no longer supported"
known_fail yes
distfiles
pre-fetch {
error ${msg}
}
conflicts-append ${name}
replaced_by ${name}
}
if {${subport} eq ${name}} {
conflicts-append ${name}-devel
}