Ticket #16504: hs-plugins-1.3.diff

File hs-plugins-1.3.diff, 1.9 KB (added by ryandesign (Ryan Carsten Schmidt), 16 years ago)
  • Portfile

     
    22
    33PortSystem 1.0
    44name            hs-plugins
    5 version         20050407
    6 revision        1
    7 epoch           20050407
     5version         1.3
     6epoch           20080825
    87categories      devel
    98maintainers     nomaintainer
    109platforms       darwin
    1110
    12 #bugs           Now builds from a snapshot to be compatible with
    13 #               ghc-6.4.  The previous 0.9.8 release was incompatible
    14 #               with the new library packing system introduced with
    15 #               6.4, the Common Architecture for Builing Applications
    16 #               and Libraries (Cabal).  Will track releases again once
    17 #               support for ghc-6.4 is introduced.
    18 
    1911description     A plugin library for Haskell
    2012long_description        \
    2113                hs-plugins was originally designed as a system          \
     
    2315                in existence (particularly mutt and vim) but developed  \
    2416                to be very suitable for plugins in general.
    2517
    26 homepage        http://www.cse.unsw.edu.au/~dons/hs-plugins/hs-plugins.html
    27 master_sites    ftp://ftp.cse.unsw.edu.au/pub/users/dons/hs-plugins/snapshots
     18homepage        http://hackage.haskell.org/cgi-bin/hackage-scripts/package/plugins
     19master_sites    http://hackage.haskell.org/packages/archive/plugins/${version}/
    2820
    29 checksums       md5 c53af7d0563a8473da41c940e20922f3
     21checksums       md5 c95cd2a6d5fea80845dbb30d52e731ef \
     22                sha1 eba8e657c06c5ee70b15191c55a6a1b8e3edab9e \
     23                rmd160 17a614e90f7df5a21abfa2b1fbdf112a3de5ae46
    3024
    31 depends_build   bin:ghc:ghc
     25distname        plugins-${version}
    3226
    33 use_autoconf    yes
     27post-extract    {
     28                  file attributes ${worksrcpath}/Setup.lhs -permissions +x
     29                }
    3430
    35 destroot.destdir        PREFIX=${destroot}${prefix}
     31configure.cmd   "./Setup.lhs configure"
    3632
     33build.cmd       ./Setup.lhs
     34build.target    build
     35
     36depends_build   path:${prefix}/bin/ghc:ghc
     37
     38destroot.target         copy
     39destroot.destdir        --copy-prefix=${destroot}${prefix}
     40
    3741post-activate   { cd ${worksrcpath}
    3842
    3943                  # start by unregistering old versions