Ticket #13605: Portfile

File Portfile, 1.6 KB (added by takeshi@…, 17 years ago)
Line 
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$
3PortSystem          1.0
4name                tcl-nap
5version             6.4.0
6categories          science
7maintainers         takeshi@mac.com
8
9description         n-dimensional array processor
10long_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
18master_sites        sourceforge
19checksums           md5 d5efcd1aa587f00ba620d22d59ee08e9 \
20                    sha1 aa084bbdeea9e850c9e8b0bf02ff4f15302e922c \
21                    rmd160 d2b6e95dfd424e466f522b7ccd1fc37a3b0c6aab
22
23depends_build       port:tex
24depends_lib         port:tcl port:tk port:netcdf port:hdf4 port:jpeg port:proj
25distname            nap[string map {. _} $version]src
26worksrcdir          nap/unix
27patchfiles          patch-configure patch-Makefile.in
28
29post-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
40variant ptex {
41        depends_build-delete port:tex
42        depends_build-append port:ptex
43}
44