source: trunk/dports/devel/fairthreads/Portfile

Last change on this file was 119495, checked in by jmr@…, 3 years ago

fairthreads: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 119495 2014-04-27 19:36:09Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            fairthreads
7version         1.0
8maintainers     nomaintainer
9categories      devel
10license         LGPL
11platforms       darwin
12description     Fair Threads in C
13
14long_description \
15    FairThreads offers a very simple framework for concurrent and parallel programming. \
16    Basically, it defines schedulers which are synchronization servers, to which threads can \
17    dynamically link or unlink. All threads linked to the same scheduler are executed in a \
18    cooperative way, at the same pace, and they can synchronize and communicate using broadcast \
19    events. Threads which are not linked to any scheduler are executed by the OS in a \
20    preemptive way, at their own pace. FairThreads offers programming constructs for \
21    linking and unlinking threads.
22
23homepage        http://www-sop.inria.fr/mimosa/rp/FairThreads/FTC/
24master_sites    $homepage
25distname        ft_v${version}_src
26extract.suffix  .tar
27
28checksums       md5     f649f13b0937b1e4f5e4f45aa259d39e \
29                sha1    b23d74b493da63dff01d5c372312045cde95b54e \
30                rmd160  9a7be313c2421ce7b4c9a856c4b7f1c08217a088
31
32extract.cmd     cat
33extract.pre_args
34
35worksrcdir      ft_v${version}/src
36
37use_configure   no
38
39destroot.destdir    LIB_DIR=${destroot}${prefix}/lib \
40                    INCL_DIR=${destroot}${prefix}/include
41
42post-destroot {
43    set docdir ${prefix}/share/doc/${name}-${version}
44    xinstall -d ${destroot}${docdir}
45    eval xinstall -m 644 [glob -path ${worksrcpath}/../doc/ *.html] ${destroot}${docdir}
46}
47
48universal_variant   no
49
50livecheck.type  none
Note: See TracBrowser for help on using the repository browser.