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: Portfile 91475 2012-04-02 21:53:40Z ryandesign@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | set uname ml4 |
---|
8 | github.setup frigaut yorick-${uname} 0.6.0 |
---|
9 | license GPL-2+ |
---|
10 | categories science |
---|
11 | platforms darwin |
---|
12 | maintainers users.sourceforge.net:paumard openmaintainer |
---|
13 | description Matlab 4 file format support fo Yorick |
---|
14 | long_description This plug-in gives read/write access to files saved in the \ |
---|
15 | Matlab 4 format. |
---|
16 | homepage http://maumae.net/yorick/doc/plugins.php |
---|
17 | |
---|
18 | checksums rmd160 a0a9c9ae31a84c49905fecb82a26b9e7fba3a49b \ |
---|
19 | sha256 98d5b208f3c26cf2efe7d4c55dd2996abb475a960d1b1d4d0dfd047900cc0ac0 |
---|
20 | |
---|
21 | depends_lib-append path:bin/yorick:yorick |
---|
22 | |
---|
23 | universal_variant no |
---|
24 | |
---|
25 | # bug fix from github |
---|
26 | patchfiles patch-ml4.i.diff |
---|
27 | |
---|
28 | configure.cmd ${prefix}/bin/yorick |
---|
29 | configure.pre_args |
---|
30 | configure.args -batch make.i |
---|
31 | |
---|
32 | post-destroot { |
---|
33 | xinstall -d ${destroot}${prefix}/lib/yorick/packages/installed/ |
---|
34 | xinstall -m 644 ${worksrcpath}/${uname}.info \ |
---|
35 | ${destroot}${prefix}/lib/yorick/packages/installed/ |
---|
36 | } |
---|