Ticket #33894: Portfile

File Portfile, 2.4 KB (added by paumard, 12 years ago)

(remove revision)

Line 
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# $Id: $
3
4PortSystem          1.0
5
6set uname           yeti
7name                yorick-${uname}
8version             6.3.2
9license             CeCILL-C
10categories          science
11platforms           darwin
12maintainers         users.sourceforge.net:paumard
13description         Miscellaneous compiled utilities for Yorick (hash tables...)
14long_description    Yeti is an extension of Yorick which implements:\
15                      * hash table objects\;\
16                      * regular expressions\;\
17                      * complex, real-complex and complex-real FFT by FFTW2\;\
18                      * wavelet filtering ("à trou" method)\;\
19                      * fast convolution along a chosen dimension\;\
20                      * more string functions\;\
21                      * memory hacking routines\;\
22                      * more math functions (sinc, round, arc)\;\
23                      * generalized matrix-vector multiplication\;\
24                      * sparse matrix\;\
25                      * routines to query/check Yorick's symbols\;\
26                      * support for reading TIFF images\;\
27                      * morpho-math operators\;\
28                      * 120 special functions from GNU Scientific Library\;\
29                      * ...
30homepage            http://www-obs.univ-lyon1.fr/labo/perso/eric.thiebaut/yeti.html
31
32master_sites        http://www-obs.univ-lyon1.fr/labo/perso/eric.thiebaut/files/
33distname            ${uname}-${version}
34use_bzip2           yes
35checksums           rmd160 055f23f4d25189b1a80918cbe63025a60d54efc2\
36                    sha256 578f7b6c85654218e52e2776240fcd50fa246ef93d5993bec986e2d9b686e7a1
37
38depends_lib         path:bin/yorick:yorick \
39                    port:tiff \
40                    port:fftw \
41                    port:gsl
42
43universal_variant   no
44
45configure.pre_args  --yorick=${prefix}/bin/yorick
46configure.args      --with-regex \
47                    --with-fftw --with-fftw-libs="-ldfftw -ldrfftw" \
48                    --with-gsl --with-tiff
49post-configure {
50    file link ${worksrcpath}/yeti_fftw/fftw.h \
51        ${prefix}/include/dfftw.h
52    file link ${worksrcpath}/yeti_fftw/rfftw.h \
53        ${prefix}/include/drfftw.h
54}
55
56pre-destroot {
57    file mkdir ${destroot}${prefix}/lib/yorick/doc
58}
59destroot.args       DOCDIR=${destroot}${prefix}/lib/yorick/doc