Ignore:
Timestamp:
Jun 9, 2013, 1:23:06 PM (5 years ago)
Author:
cal@…
Message:

c2hs: move to hs-c2hs, update to 0.16.4, forces rebuild with new GHC, add dependency language-c < 0.4, modify haskell portgroup to support not running register scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/c2hs/Portfile

    r42538 r106872  
     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
    12# $Id$
    23
    3 PortSystem 1.0
     4PortSystem  1.0
    45
    5 name            c2hs
    6 version         0.15.1
    7 categories      devel haskell
    8 maintainers     gwright
    9 platforms       darwin
    10 
    11 description     Yet Another Interface Generator for Haskell
    12 long_description        \
    13                 C->Haskell is an interface generator that simplifies    \
    14                 the development of Haskell bindings to C libraries.     \
    15                 The tool processes existing C header files that         \
    16                 determine data layout and function signatures on the    \
    17                 C side in conjunction with Haskell modules that specify \
    18                 Haskell-side type signatures and marshaling details.
    19 
    20 homepage        http://www.cse.unsw.edu.au/~chak/haskell/c2hs/
    21 master_sites    ${homepage}/
    22 
    23 checksums       md5     69f99fba67419edd471b77efb0bd644f                \
    24                 sha1    f690c87abf63329b6888cb2a3b8f4fb64d113150        \
    25                 rmd160  e43c39437dd3320cdb714ef2219d7bed2d25afab
    26 
    27 depends_build   port:ghc
    28 
    29 universal_variant       no
    30 
    31 pre-configure   {
    32                   system "cd ${worksrcpath} && ghc -o Setup Setup.hs -package Cabal"
    33                 }
    34 
    35 configure       {
    36                   system "cd ${worksrcpath} && ./Setup configure --ghc --prefix=${prefix}"
    37                 }
    38 
    39 build           {
    40                   system "cd ${worksrcpath} && ./Setup build -v"
    41                 }
    42 
    43 destroot        {
    44                   system "cd ${worksrcpath} && ./Setup copy --copy-prefix=${destroot}${prefix}"
    45                 }
    46 
     6name        c2hs
     7version     0.15.1
     8revision    1
     9categories  devel haskell
     10platforms   darwin
     11replaced_by hs-c2hs
     12PortGroup   obsolete 1.0
Note: See TracChangeset for help on using the changeset viewer.