Ticket #24256: Portfile

File Portfile, 861 bytes (added by jordi.saludes@…, 14 years ago)

Portfile

Line 
1# $Id$
2
3PortSystem                      1.0
4
5name                            gf
6version                         3.1
7categories                      lang
8maintainers                     jordis
9description                     Grammatical Framework
10long_description        GF, Grammatical Framework, is a programming language \
11                                        for multilingual grammar applications.
12homepage                        http://www.grammaticalframework.org
13platforms                       darwin
14master_sites            ${homepage}/download/
15distfiles                       ${name}-${version}-src.tar.gz
16checksums                       ${name}-${version}-src.tar.gz \
17                                           md5    6691df5ffbc48ccc6983b07f9b7e766b \
18                                           sha1   14ae263c031cdc03af76885d3ed588dcb0a92820 \
19                                           rmd160 d9770a3ec8c9e963b8e8c58e38e23073e33390bc
20depends_lib                     port:ghc
21
22configure       {
23                system "cd ${worksrcpath} && runghc Setup configure --prefix=${prefix}"
24}
25
26build           {
27                system "cd ${worksrcpath} && runghc Setup build"
28}
29                               
30destroot        {
31                system "cd ${worksrcpath} && runghc Setup copy --destdir=${destroot}"
32}
33
34