source: trunk/dports/science/yorick-soy/Portfile

Last change on this file was 94939, checked in by thibaut@…, 5 years ago

To all my (yorick) ports:

  • use my macports handle in the maintainer field (and add openmaintainer if absent)
  • add "yorick" as a secondary category.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
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: Portfile 94939 2012-07-02 16:09:42Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7set uname           soy
8github.setup        frigaut yorick-${uname} 1.4.0
9license             GPL-2+
10categories          science yorick
11platforms           darwin
12maintainers         thibaut openmaintainer
13description         Sparse matrix operations for the Yorick language
14long_description    Sparse Operations with Yorick is a plugin for Yorick (an \
15                    interpreted computer language specialized for numerical \
16                    and scientific problems) that allows performing efficient \
17                    operations on sparse matrices.
18homepage            http://maumae.net/yorick/doc/plugins.php
19
20checksums           rmd160  95fc7d4dddc706e852be93e49fa08040cdc1a6ec \
21                    sha256  555563db50c88b96b490ddb51fe5be72e874ca5363d3aa2cbf05804cb52c0622
22
23depends_lib-append  path:bin/yorick:yorick
24
25# yorick isn't universal
26universal_variant   no
27
28configure.cmd       ${prefix}/bin/yorick
29configure.pre_args
30configure.args      -batch make.i
31
32build.args-append   CC=${configure.cc} \
33                    PKG_CFLAGS=\"${configure.cflags}\" \
34                    PKG_LDFLAGS=\"${configure.ldflags}\"
35
36post-destroot {
37    xinstall -d ${destroot}${prefix}/lib/yorick/packages/installed/
38    xinstall -m 644 ${worksrcpath}/${uname}.info \
39        ${destroot}${prefix}/lib/yorick/packages/installed/
40}
Note: See TracBrowser for help on using the repository browser.