Changeset 114510


Ignore:
Timestamp:
Dec 9, 2013, 11:30:37 PM (4 years ago)
Author:
cal@…
Message:

missingh: rename to hs-missingh, switch to haskell portgroup, update to 1.2.0.2

Location:
trunk/dports/devel
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/hs-missingh/Portfile

    r114497 r114510  
    55PortGroup           haskell 1.0
    66
    7 haskell.setup       transformers-base 0.4.1
    8 checksums           rmd160  3ee07e324b4a90732b70717ec9b41f6acc0852a7 \
    9                     sha256  4fa9e8ae38f0ed0633251f7a18c51946ee9fa486ed768389b5b6edaacf3c7cb4
     7haskell.setup       MissingH 1.2.0.2
     8checksums           rmd160  74c763290d8490cd5d641326cdf63049c5593b89 \
     9                    sha256  d61226c66c697c45392f63436ce2d27c722467e35ffee046610002df907239f3
    1010
    1111maintainers         cal openmaintainer
     
    1313license             BSD
    1414
    15 description         Lift computations from the bottom of a transformer stack
     15description         Large utility library
    1616long_description    \
    17     This package provides a straightforward port of monadLib's BaseM typeclass \
    18     to transformers.
     17    MissingH is a library of all sorts of utility functions for Haskell \
     18    programmers. It is written in pure Haskell and thus should be extremely \
     19    portable and easy to use.
    1920
    20 depends_lib-append  port:hs-transformers
     21depends_lib-append  port:hs-hslogger \
     22                    port:hs-hunit \
     23                    port:hs-mtl \
     24                    port:hs-network \
     25                    port:hs-parsec \
     26                    port:hs-random \
     27                    port:hs-regex-compat
  • trunk/dports/devel/missingh/Portfile

    r110940 r114510  
     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            missingh
    6 version         0.16.3
    7 categories      devel
    8 license         GPL-2+
    9 maintainers     nomaintainer
    10 platforms       darwin
    11 description     Haskell utility functions
    12 long_description        \
    13                 MissingH is a library of Haskell utility functions,     \
    14                 including ones for working with lists, logging, I/O     \
    15                 and strings.
    16 
    17 homepage        http://software.complete.org/${name}
    18 master_sites    http://launchpadlibrarian.net/5201191/
    19 
    20 distfiles       ${name}_${version}${extract.suffix}
    21 
    22 checksums       md5 75202f45dbf928d7c112a79ab5028d33
    23 
    24 depends_build   port:ghc
    25 
    26 worksrcdir      ${name}
    27 
    28 pre-configure {
    29     system -W ${worksrcpath} "make setup"
    30 }
    31 
    32 configure {
    33     system -W ${worksrcpath} "./setup configure --prefix=${prefix}"
    34 }
    35 
    36 build {
    37     system -W ${worksrcpath} "./setup build"
    38 }
    39 
    40 test.run        yes
    41 test {
    42     system -W ${worksrcpath} "make test-ghc6"
    43 }
    44 
    45 destroot {
    46     system -W ${worksrcpath} "./setup copy --copy-prefix=${destroot}${prefix}"
    47     system -W ${worksrcpath} "./setup register   --gen-script"
    48     system -W ${worksrcpath} "./setup unregister --gen-script"
    49 
    50                   file mkdir ${destroot}${prefix}/libexec/${name}
    51                   file copy ${worksrcpath}/register.sh \
    52                             ${destroot}${prefix}/libexec/${name}
    53                   file copy ${worksrcpath}/unregister.sh \
    54                             ${destroot}${prefix}/libexec/${name}
    55                 }
    56 
    57 post-activate   { system "${prefix}/libexec/${name}/register.sh" }
    58 
    59 pre-deactivate { system "${prefix}/libexec/${name}/unregister.sh" }
     6name            missingh
     7version         0.16.3
     8categories      devel
     9replaced_by     hs-missingh
     10PortGroup       obsolete 1.0
Note: See TracChangeset for help on using the changeset viewer.