Commits

Marcus Calhoun-Lopez authored ce99e50a56c
libsc: reformat Portfile
No tags

science/libsc/Portfile

Modified
1 1 # -*- 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
2 2
3 -PortSystem 1.0
4 -PortGroup github 1.0
5 -PortGroup mpi 1.0
6 -PortGroup linear_algebra 1.0
7 -PortGroup muniversal 1.0
3 +PortSystem 1.0
4 +PortGroup github 1.0
5 +PortGroup mpi 1.0
6 +PortGroup linear_algebra 1.0
7 +PortGroup muniversal 1.0
8 8
9 -github.setup cburstedde libsc 2.8 v
10 -revision 0
11 -categories science math devel
12 -platforms darwin
13 -maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
14 -license GPL-2+
15 -homepage http://www.p4est.org/
9 +github.setup cburstedde libsc 2.8 v
10 +revision 0
11 +categories science math devel
12 +platforms darwin
13 +maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
14 +license GPL-2+
15 +homepage http://www.p4est.org/
16 16
17 -description provides support for parallel scientific applications
18 -long_description The SC Library provides support for parallel scientific applications.
17 +description provides support for parallel scientific applications
18 +long_description The SC Library provides support for parallel scientific applications.
19 19
20 -checksums rmd160 d600d40aeb93e4c5d77de7d867205b8790b9caff \
21 - sha256 a7f547f08932704c29b191b34a9471a2b590460c2b285a0fd57e633811c09d59 \
22 - size 312119
20 +checksums rmd160 d600d40aeb93e4c5d77de7d867205b8790b9caff \
21 + sha256 a7f547f08932704c29b191b34a9471a2b590460c2b285a0fd57e633811c09d59 \
22 + size 312119
23 23
24 -mpi.setup default require_fortran
24 +mpi.setup default require_fortran
25 25
26 -use_autoconf yes
27 -autoconf.cmd ./bootstrap
26 +use_autoconf yes
27 +autoconf.cmd ./bootstrap
28 28 autoconf.args
29 29
30 30 # need for autoconf
31 -depends_build-append \
32 - port:autoconf \
33 - port:automake \
34 - port:libtool
31 +depends_build-append port:autoconf \
32 + port:automake \
33 + port:libtool
35 34
36 -depends_lib-append \
37 - port:lua \
38 - port:zlib
35 +depends_lib-append port:lua \
36 + port:zlib
39 37
40 38 if {[mpi_variant_isset]} {
41 - configure.args-append \
42 - --enable-mpi
39 + configure.args-append --enable-mpi
43 40 } else {
44 - configure.args-append \
45 - --enable-mpi=no
41 + configure.args-append --enable-mpi=no
46 42 }
47 43
48 44 post-extract {
49 45 set fl [open "${worksrcpath}/.tarball-version" w 0644]
50 46 puts ${fl} ${version}
51 47 close ${fl}
52 48 }
53 49
54 50 pre-configure {
55 - configure.args-append \
56 - --with-blas="-L${prefix}/lib ${linalglib}" \
57 - --with-lapack=""
51 + configure.args-append --with-blas="-L${prefix}/lib ${linalglib}" \
52 + --with-lapack=""
58 53 }
59 54
60 55 post-destroot {
61 56 # avoid conflict with autoconf-archive
62 57 foreach fl {ax_prefix_config_h.m4 ax_split_version.m4} {
63 58 delete ${destroot}${prefix}/share/aclocal/${fl}
64 59 }
65 60 }
66 61
67 62 if {![variant_isset universal]} {

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut