source: trunk/dports/math/LiE/Portfile

Last change on this file was 123356, checked in by mf2k@…, 3 years ago

acl2 cadabra ccl cln cosmoplayer dillo DoCon emacs-w3m GiNaC gtk2hs gtkwave hs-hashed-storage hs-libcabal hs-typenats LiE modglue nestedsums opendx opendx-java40 opendx-samples pcrexx sbcl simh TeXmacs: Ports abandoned by gwright. (#43784)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 123356 2014-08-08 17:33:44Z ryandesign@macports.org $
2
3PortSystem 1.0
4name            LiE
5version         2.2.2
6revision        3
7categories      math
8platforms       darwin
9maintainers     nomaintainer
10description     A computer algebra program for Lie group calculations
11long_description        \
12        LiE is a computer algebra system that is specialised in         \
13        computations involving (reductive) Lie groups and their         \
14        representations.
15
16homepage        http://young.sp2mi.univ-poitiers.fr/~marc/LiE/
17master_sites    ${homepage}
18
19distfiles       conLiE${extract.suffix}
20
21checksums       md5 b6af27a24fd2ee39c7a15a7f5927af91             \
22                sha1 92eb9283868cc46ae0b87c4dfd6f13631e046bee
23
24depends_lib     port:readline
25
26worksrcdir      ${name}
27
28post-extract    { system "chmod 775 ${worksrcpath}" }
29
30patchfiles      patch-Makefile
31
32use_configure   no
33
34use_parallel_build      no
35
36build.target    all script INFO.a
37
38destroot        { set liedestlib ${destroot}${prefix}/lib/${name}-${version}
39                  file mkdir ${liedestlib}
40                  file copy ${worksrcpath}/Lie.exe   ${liedestlib}
41                  file copy ${worksrcpath}/INFO.0    ${liedestlib}
42                  file copy ${worksrcpath}/INFO.1    ${liedestlib}
43                  file copy ${worksrcpath}/INFO.2    ${liedestlib}
44                  file copy ${worksrcpath}/INFO.3    ${liedestlib}
45                  file copy ${worksrcpath}/INFO.4    ${liedestlib}
46                  file copy ${worksrcpath}/INFO.a    ${liedestlib}
47                  file copy ${worksrcpath}/INFO.ind  ${liedestlib}
48                  file copy ${worksrcpath}/LEARN     ${liedestlib}
49                  file copy ${worksrcpath}/LEARN.ind ${liedestlib}
50
51                  set liedestbin ${destroot}${prefix}/bin
52                  file mkdir ${liedestbin}
53                  file copy ${worksrcpath}/lie_script ${liedestbin}/lie
54
55                  reinplace "s|actual directory gets substituted here|${prefix}/lib/${name}-${version}|" ${liedestbin}/lie
56                  system "chmod +x ${liedestbin}/lie"
57                }
58
Note: See TracBrowser for help on using the repository browser.