Ignore:
Timestamp:
Jun 8, 2013, 11:25:32 PM (6 years ago)
Author:
cal@…
Message:

haskell platform: update to 2013.2.0.0

Since this updates ghc, every haskell port needs to be revbumped. In order to
avoid a huge monster commit and due to the number of revbumps required I will
do this as time permits.

This change also renames all ports provided by the platform to hs-$pkgname
instead of hs-platform-$pkgname. We should rather have one well-maintained and
high-quality release rather than two conflicting and hardly interoperable
versions. This change will break all ports that currently depend on
a haskell-platform-$pkgname port.

This change also merges all ports provided by the haskell platform (except for
GHC) into a single Portfile using subports. This should simplify further
updates of the platform.

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/haskellplatform-2.0.tcl

    r106705 r106818  
    3131#
    3232# Usage:
    33 # PortGroup                 haskell-platform 1.0
     33# PortGroup                 haskell-platform 2.0
    3434# haskellplatform.setup     haskell_package version [register_scripts]
    3535# where haskell_package is the name of the package (eg, digest), version is the
     
    4646    global homepage prefix configure.cmd configure.cc destroot worksrcpath name master_sites
    4747
    48     name                hs-platform-[string tolower ${package}]
     48        # don't set name, that will prevent using this in subports
    4949    version             ${version}
    5050    categories          devel haskell
     
    7272            system "cd ${worksrcpath} && ${configure.cmd} Setup register --gen-script"
    7373            system "cd ${worksrcpath} && ${configure.cmd} Setup unregister --gen-script"
    74             xinstall -m 755 -d ${destroot}${prefix}/libexec/${name}
     74            xinstall -m 755 -d ${destroot}${prefix}/libexec/${subport}
    7575            xinstall -m 755 -W ${worksrcpath} register.sh unregister.sh \
    76                 ${destroot}${prefix}/libexec/${name}
     76                ${destroot}${prefix}/libexec/${subport}
    7777        }
    78         post-activate {
    79             system "${prefix}/libexec/${name}/register.sh"
     78                post-activate {
     79            system "${prefix}/libexec/${subport}/register.sh"
    8080        }
    8181        pre-deactivate {
    82             system "${prefix}/libexec/${name}/unregister.sh"
     82            system "${prefix}/libexec/${subport}/unregister.sh"
    8383        }
    8484        }
     
    8787    livecheck.type      none
    8888}
    89 
Note: See TracChangeset for help on using the changeset viewer.