1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 |
---|
2 | # $ID$ |
---|
3 | PortSystem 1.0 |
---|
4 | name tcl-nap |
---|
5 | version 6.4.0 |
---|
6 | categories science |
---|
7 | maintainers takeshi@mac.com |
---|
8 | |
---|
9 | description n-dimensional array processor |
---|
10 | long_description Nap is a loadable extension of Tcl. Nap provides \ |
---|
11 | a powerful and efficient facility for processing \ |
---|
12 | data in the form of n-dimensional arrays. \ |
---|
13 | It has been designed to provide a tcl-flavoured \ |
---|
14 | array-processing facility with much of \ |
---|
15 | the functionality of languages such as APL, \ |
---|
16 | Fortran-90, IDL, J, matlab and octave. |
---|
17 | |
---|
18 | master_sites sourceforge |
---|
19 | checksums md5 d5efcd1aa587f00ba620d22d59ee08e9 \ |
---|
20 | sha1 aa084bbdeea9e850c9e8b0bf02ff4f15302e922c \ |
---|
21 | rmd160 d2b6e95dfd424e466f522b7ccd1fc37a3b0c6aab |
---|
22 | |
---|
23 | depends_build port:tex |
---|
24 | depends_lib port:tcl port:tk port:netcdf port:hdf4 port:jpeg port:proj |
---|
25 | distname nap[string map {. _} $version]src |
---|
26 | worksrcdir nap/unix |
---|
27 | patchfiles patch-configure patch-Makefile.in |
---|
28 | |
---|
29 | post-destroot { |
---|
30 | cd ${destroot}${prefix}/include |
---|
31 | foreach f [glob nap*.h] { |
---|
32 | file attributes $f -permissions 0644 |
---|
33 | } |
---|
34 | cd ${destroot}${prefix}/lib/nap[string range ${version} 0 2] |
---|
35 | foreach f [glob *.tcl] { |
---|
36 | file attributes $f -permissions 0644 |
---|
37 | } |
---|
38 | } |
---|
39 | |
---|
40 | variant ptex { |
---|
41 | depends_build-delete port:tex |
---|
42 | depends_build-append port:ptex |
---|
43 | } |
---|
44 | |
---|