Changeset 131199


Ignore:
Timestamp:
Jan 6, 2015, 7:48:29 PM (3 years ago)
Author:
cal@…
Message:

haskell-platform: update to 2014.2.0.0, closes #44891, includes GHC 7.8.3 built with clang and newer bootstrap GHC, requires revbump of all haskell ports (to follow)

Obsoletes the hs-transformers and hs-xhtml ports, since these packages are installed by the GHC port now.

Location:
trunk/dports
Files:
5 added
3 deleted
5 edited
2 copied

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/haskell-platform/Portfile

    r128856 r131199  
    77
    88if {$subport == $name} {
    9     version         2013.2.0.0
     9    version         2014.2.0.0
    1010    categories      devel haskell
    1111    maintainers     cal openmaintainer
     
    8080        }
    8181
    82         if {\${subport} == \${name}} {
     82        if {\${subport} eq \${name}} {
    8383            depends_run-append  port:hs-[string tolower ${pkgname}]
    8484        }
     
    118118        }
    119119
    120         if {\${subport} == \${name}} {
     120        if {\${subport} eq \${name}} {
    121121            depends_run-append  port:hs-[string tolower ${pkgname}]
    122122        }
     
    129129#################################
    130130
    131 haskell_platform_port async 2.0.1.4 1 {
    132     checksums               rmd160  8a28038e3193ee6de2212afb42f25fc444a2ef1d \
    133                             sha256  41ddfe012d98f3ef101651fb529753bca5bb4c804f03f9cfafc5d0cbe50224c2
     131haskell_platform_port async 2.0.1.5 0 {
     132    checksums               rmd160  0ec360bc373c4ca0b3c7617ec611f2414804e9cd \
     133                            sha256  cd13ac558f4f63e567100805770648e89307a3210852b17038c9be4fcc3aa83c
    134134
    135135    depends_lib-append      port:hs-stm
     
    149149}
    150150
    151 haskell_platform_port attoparsec 0.10.4.0 2 {
     151haskell_platform_port attoparsec 0.10.4.0 3 {
    152152    checksums               rmd160  1fc9845e60fb0cddc9ffa8838c446b3046cd3522 \
    153153                            sha256  b6b84e0dbd1c3beec1dedea578ac2f4d62afbe66b383582b7b3349406866d346
     
    162162}
    163163
    164 haskell_platform_port case-insensitive 1.0.0.1 1 {
    165     checksums               rmd160  890cc0d0c3d8e0470956f7bce2da70c3adf8e90c \
    166                             sha256  b58f62516779580a41cdc67a979c509125adf139b8f50d415495f58d4b42e8fa
     164haskell_platform_port case-insensitive 1.1.0.3 0 {
     165    checksums               rmd160  351ebf0ae84c4c580b910dbd3ed0828b309874c7 \
     166                            sha256  7b255fe63155d53ab84b248ab5ba9306fd4bec47a6198e3275cf9cb41c4d263b
    167167
    168168    depends_lib-append      port:hs-hashable \
     
    177177}
    178178
    179 haskell_platform_port cgi 3001.1.7.5 1 {
    180     checksums               rmd160  76823f125e750f648d967f833a5c6a11814d8b56 \
    181                             sha256  5126e2eaa53cd5de59572981c00aedae5790882afda67545228eb29fe76faffd
    182 
    183     depends_lib-append      port:hs-mtl \
    184                             port:hs-parsec \
    185                             port:hs-network \
    186                             port:hs-xhtml
    187 
    188     description             A library for writing CGI programs
    189     long_description        This is a Haskell library for writing CGI programs.
    190 }
    191 
    192 haskell_platform_port fgl 5.4.2.4 3 {
    193     checksums               rmd160  e2b9e0d1d43e69b250719a34c6de9344b38264bf \
    194                             sha256  ce98ccb83e2d271a7b3266426a0762a0e902252f07ec09b7bef50c67d0110266
     179haskell_platform_port fgl 5.5.0.1 0 {
     180    checksums               rmd160  c6c1f89db51d8d3ce6687dab13109c7f40c9c10c \
     181                            sha256  aa61664ba38db3e54124b702b1ee92a72a569c981b759e48cfb567078b038763
    195182
    196183    depends_lib-append      port:hs-mtl
     
    200187}
    201188
    202 haskell_platform_port GLUT 2.4.0.0 1 {
    203     checksums               rmd160  b1f4449f2bacbbbf51ffd5146c1f7ccafd6d0348 \
    204                             sha256  100df2d724dfad26b0c8d47b17d4cef9dcbc12a75cce7a096046c27485b4cbbc
     189haskell_platform_port GLUT 2.5.1.1 0 {
     190    checksums               rmd160  b6e4bad4109307a614c3ba93aa1f3f8857ae45dc \
     191                            sha256  4a8177e154ead5a7bcc110f8fe408f9cf720783dde024ac1936cd95b659b2d59
    205192
    206193    depends_lib-append      port:hs-opengl
     
    212199}
    213200
    214 haskell_platform_port GLURaw 1.3.0.0 1 {
    215     checksums               rmd160  2aa60cb5a779ee858a9e1bcadfe3b2bfccfbd167 \
    216                             sha256  e03905710043eb2e9878e5fc75f969c4f120321bc6a7709cde3a9890be3c08ea
     201haskell_platform_port GLURaw 1.4.0.1 0 {
     202    checksums               rmd160  1fa7a906c6f99d9540b200de038a2a734e576cea \
     203                            sha256  9655644beb54ff8fac68f2e0fd8a8e9a1e8409272e2e4c963ccce9bcd60e0ecc
    217204
    218205    depends_lib-append      port:hs-openglraw
     
    225212}
    226213
    227 haskell_platform_port hashable 1.1.2.5 1 {
    228     checksums               rmd160  93b4faee93a046445458e9f9c67820b458242aac \
    229                             sha256  3fb5d430c9289ebada4991a76fd78f028aaaf17957dc666ddc7b89c98a54713d
     214haskell_platform_port hashable 1.2.2.0 0 {
     215    checksums               rmd160  33f9040f2afcb93d6475d8872aef4c164a4cff5e \
     216                            sha256  033a90b0369af59bf922d0c2af8d73a18432b46b0a47607f436d38f873a88e21
    230217
    231218    depends_lib-append      port:hs-text
     
    239226}
    240227
    241 haskell_platform_port haskell-src 1.0.1.5 3 {
    242     checksums               rmd160  32a53bab9f1e150565cbed0c926816e4089dd966 \
    243                             sha256  9f3726902247cc955d085997254bb58c16cc337ee83de5ccfb17dcbcb488c3ab
     228haskell_platform_port haskell-src 1.0.1.6 0 {
     229    checksums               rmd160  649a0f9f116cb90f03411a9e8d53b17409c38134 \
     230                            sha256  c7c556366025d9895d1110ecfa30a29e29d7d0a8cb447716fe601e4ff5da4cef
    244231
    245232    depends_lib-append      port:hs-syb
     
    253240}
    254241
    255 haskell_platform_port html 1.0.1.2 4 {
     242haskell_platform_port html 1.0.1.2 5 {
    256243    checksums               rmd160  55d95a42c297c9c4b0b0c3bbd077a5ed59e48878 \
    257244                            sha256  0c35495ea33d65e69c69bc7441ec8e1af69fbb43433c2aa3406c0a13a3ab3061
     
    262249}
    263250
    264 haskell_platform_port HTTP 4000.2.8 4 {
    265     checksums               rmd160  844041fdfb257c19cf35be24976925bc9c0c43c6 \
    266                             sha256  086a2aa771a31845b190e2f9651ab4d8e85116aa463de5bc5e0204c1e5e70c5c
     251haskell_platform_port HTTP 4000.2.10 0 {
     252    checksums               rmd160  b1e3a1aec27c3e09fe1f93f93ab717cc4e576504 \
     253                            sha256  efde6d9f2e8cd7b72068579f0a75449703c0fa7aee76dfc0f3af175295a127d1
    267254
    268255    depends_lib-append      port:hs-network \
     
    279266}
    280267
    281 haskell_platform_port HUnit 1.2.5.2 1 {
     268haskell_platform_port HUnit 1.2.5.2 2 {
    282269    checksums               rmd160  f6ac9ac12c152609174ea80a3a0c694210c81594 \
    283270                            sha256  0af5ad34dba27de48b94ce6d5f7ee3aa6af6183bdc4a3967b811e28520369a41
     
    289276}
    290277
    291 haskell_platform_port mtl 2.1.2 3 {
    292     checksums               rmd160  aa5c576c124b602a605cf3931ac42c1c1eb27cda \
    293                             sha256  8c775764333420a4391823f9cb9b640306a262552280ea9bbdd2ca11194a8bef
    294 
    295     depends_lib-append      port:hs-transformers
     278haskell_platform_port mtl 2.1.3.1 0 {
     279    checksums               rmd160  f6432fb7e64d66eff69f02ccca9fc30ac5dce502 \
     280                            sha256  77af766957fb49361fe63446f272a698bddb13398669edc363022e5c2517f6f6
    296281
    297282    description             Monad classes, using functional dependencies
     
    303288}
    304289
    305 haskell_platform_port network 2.4.1.2 2 {
    306     checksums               rmd160  27461d006ac9580d55a0f1377774c1ac9c20a024 \
    307                             sha256  b04dc56542428bc92f11263f500b3ad82e6a0787805601472d59af7e769bfe38
     290haskell_platform_port network 2.4.2.3 0 {
     291    checksums               rmd160  38f20be22e51a902a00416bad1e63480316e8348 \
     292                            sha256  801b9c652dae626bf4a96175162b1290e7fe7ff20d802d62434d5ae1d363c16d
    308293
    309294    depends_lib-append      port:hs-parsec
     
    313298}
    314299
    315 haskell_platform_port OpenGL 2.8.0.0 1 {
    316     checksums               rmd160  3be0a47aea270ce184da50007dd729814ef99aaa \
    317                             sha256  ce753d8db75b5096e030422765193c4975779b42bfffa467408a40d8c43965f1
     300haskell_platform_port OpenGL 2.9.2.0 0 {
     301    checksums               rmd160  b238630bd16d37485c58835a643d965ac6c61ef2 \
     302                            sha256  1758f6cacc9ea8f0d410fd0abc1a19f2a50dffdb62736d66d4e62b20619545e9
    318303
    319304    depends_lib-append      port:hs-gluraw \
    320                             port:hs-openglraw
     305                            port:hs-openglraw \
     306                            port:hs-text
    321307
    322308    description             A binding for the OpenGL graphics system
    323309    long_description        \
    324         A Haskell binding for the OpenGL graphics system (GL, version 3.2) and \
    325         its accompanying utility library (GLU, version 1.3).
    326 }
    327 
    328 haskell_platform_port OpenGLRaw 1.3.0.0 1 {
    329     checksums               rmd160  09c08ce9f45acdabdef46e397e72814f5a86e71b \
    330                             sha256  6228ca9ac967350fcb6abac25b8027660ad8599914a60ef0fd10919a6d2cd745
     310        A Haskell binding for the OpenGL graphics system (GL, version 4.4) and \
     311        its accompanying utility library (GLU, version 1.3). 
     312}
     313
     314haskell_platform_port OpenGLRaw 1.5.0.0 0 {
     315    checksums               rmd160  6ede61cb59090ede7d3ec1df41311a8e14496080 \
     316                            sha256  852aa5229722269d70daed3c04b95e9dc7b7013efd62ebc4f2873a81768b9a12
    331317
    332318    description             A raw binding for the OpenGL graphics system
     
    344330}
    345331
    346 haskell_platform_port parallel 3.2.0.3 2 {
    347     checksums               rmd160  a358225292a80bb4223e6ea2f6e0d502e41cab02 \
    348                             sha256  163a40ef3c6258c623abe690a9837c9de2bf7fe87d3fac7d0758229d7efb6dcd
     332haskell_platform_port parallel 3.2.0.4 0 {
     333    checksums               rmd160  4bc31de0b3dd63ca8d24c967f32a2ee40f0a2d64 \
     334                            sha256  8cdb637fc04e4dd62f9deb0fe3c191b8068526009960f297f54dc9cf5616146d
    349335
    350336    description             Parallel programming library
     
    352338}
    353339
    354 haskell_platform_port parsec 3.1.3 4 {
    355     checksums               rmd160  b1b407b27f5642142bfa619b31abd7a8cafe11ce \
    356                             sha256  9f14bb4da77eb9b0e4dbe8112559ed49409b0af8e9aef5d08941dd97e37fc4a8
     340haskell_platform_port parsec 3.1.5 0 {
     341    checksums               rmd160  4d27dffd266c38cc3266ea17b792e00f180b3968 \
     342                            sha256  c572245d72bc3aff3491ce4f89215fcaa1e01c5e7b280d4c105a87db31793cb8
    357343
    358344    depends_lib-append      port:hs-mtl \
     
    368354}
    369355
    370 haskell_platform_port QuickCheck 2.6 1 {
     356haskell_platform_port primitive 0.5.2.1 0 {
     357    checksums               rmd160  b456047baa641acc897a871cc2212f9f3a2c576f \
     358                            sha256  0e516b81c2ef2c96d47dc40561663cc2cbfece0f135948e77e9b53025ff1c3ee
     359
     360    description             Primitive memory-related operations
     361    long_description        This package provides various primitive memory-related operations.
     362}
     363
     364haskell_platform_port QuickCheck 2.6 2 {
    371365    checksums               rmd160  94bab2dcefdd7a6eddd5af7211db1babf39e0df8 \
    372366                            sha256  8001c00a1892714d914e5007ba72cdd428c1ea4c6b8418c6cb5e7809753d970d
     
    382376}
    383377
    384 haskell_platform_port random 1.0.1.1 3 {
     378haskell_platform_port random 1.0.1.1 4 {
    385379    checksums               rmd160  a13a4d7fefd15611cf863f11caf212efede320c3 \
    386380                            sha256  df7c3b405de0ac27a2ee8fdc8dad87cb42e8eac01fef53861e43bc47c8111559
     
    392386}
    393387
    394 haskell_platform_port regex-base 0.93.2 3 {
     388haskell_platform_port regex-base 0.93.2 4 {
    395389    checksums               rmd160  c009e193dd453666c7c3b585a25f3a8add7ec6b6 \
    396390                            sha256  20dc5713a16f3d5e2e6d056b4beb9cfdc4368cd09fd56f47414c847705243278
     
    402396}
    403397
    404 haskell_platform_port regex-compat 0.95.1 3 {
     398haskell_platform_port regex-compat 0.95.1 4 {
    405399    checksums               rmd160  b2fe02ca3c4e9027b2d433c8a265b19a85c8bd17 \
    406400                            sha256  d57cb1a5a4d66753b18eaa37a1621246f660472243b001894f970037548d953b
     
    413407}
    414408
    415 haskell_platform_port regex-posix 0.95.2 2 {
     409haskell_platform_port regex-posix 0.95.2 3 {
    416410    checksums               rmd160  7ee59eb760bb8c0c7fe17e17d90eb0623b9fd5bb \
    417411                            sha256  56019921cd4a4c9682b81ec614236fea816ba8ed8785a1640cd66d8b24fc703e
     
    423417}
    424418
    425 haskell_platform_port split 0.2.2 1 {
     419haskell_platform_port split 0.2.2 2 {
    426420    checksums               rmd160  7d4fe221283836386807f0e73a90df1255061f6f \
    427421                            sha256  f9cf9e571357f227aed5be9a78f5bbf78ef55c99df2edf7fdc659acc1f904375
     
    433427}
    434428
    435 haskell_platform_port stm 2.4.2 1 {
     429haskell_platform_port stm 2.4.2 2 {
    436430    checksums               rmd160  7d49257f7e2de7cf18e02dc3ceeb4619d7980dd8 \
    437431                            sha256  c8ee3cd64c266133902619cfff2d04e5f66206f91dbce8dd1182037fbe4858db
     
    441435}
    442436
    443 haskell_platform_port syb 0.4.0 3 {
    444     checksums               rmd160  7814875c994d34b0dd11e378c3d16e009a843d4d \
    445                             sha256  f201089aa7e74b6cbca7fc73a259596b2a9628e31a9b54e801844ad68447bff3
     437haskell_platform_port syb 0.4.1 0 {
     438    checksums               rmd160  4ed2329f3c915adb91fb5b1f6b3735e219d1fdd6 \
     439                            sha256  aa32cb3d9a0cbcfb24ac1c5d567886e8908dd017fd009ffd446bff86732670d2
    446440
    447441    description             Scrap Your Boilerplate
     
    455449}
    456450
    457 haskell_platform_port text 0.11.3.1 1 {
    458     checksums               rmd160  544b6be80db9432dd4c149f81a2c0603e2e67205 \
    459                             sha256  76aad4a647cad7099b5a693eb9a4bc5263f7751392d8d1f87b14c78e2069559f
     451haskell_platform_port text 1.1.0.0 0 {
     452    checksums               rmd160  b57efc9cbf277cd914a9e148129e42ae861771b8 \
     453                            sha256  80f1ada824f0e3886bb49dc7fd128707ca1a34e06bbf4419873b1677c4d7ba92
    460454
    461455    description             An efficient packed Unicode text type
     
    465459}
    466460
    467 haskell_platform_port transformers 0.3.0.0 3 {
    468     checksums               rmd160  110bd7eb44609d8db44d85f8367db323576545dc \
    469                             sha256  e5aa0c1ec97ad98c389e78f59aca25ab028980a7068a3e585e39564662739591
    470 
    471      description            Concrete functor and monad transformers
    472      long_description       \
    473         A portable library of functor and monad transformers, inspired by the \
    474         paper \"Functional Programming with Overloading and Higher-Order \
    475         Polymorphism\", by Mark P Jones, in Advanced School of Functional \
    476         Programming, 1995 \
    477         (http://web.cecs.pdx.edu/~mpj/pubs/springschool.html).
    478 }
    479 
    480 haskell_platform_port unordered-containers 0.2.3.0 2 {
    481     checksums               rmd160  91b7d7c2138de34b3b690efe294d90022e04d8b3 \
    482                             sha256  edb6a442ef9fcf4ce59f66871d51df5c012345fce95970127e75b62e5396efef
     461haskell_platform_port unordered-containers 0.2.4.0 0 {
     462    checksums               rmd160  0d62b6b8f95e65890e07934413cd1377ed1e85e5 \
     463                            sha256  34eaeb0c96d84169aca7085cf21f89bedb4bdb4de2ac78358a087faeea93cdf4
    483464
    484465    depends_lib-append      port:hs-hashable
     
    491472}
    492473
    493 haskell_platform_port vector 0.10.0.1 3 {
    494     checksums               rmd160  e00adaf6b4a9634df2feb1a805f4adf51d1870ae \
    495                             sha256  ece945058b01a77c5fff31e89bbea76ac619677041c41286a2da5e8b515508af
     474haskell_platform_port vector 0.10.9.1 0 {
     475    checksums               rmd160  885ba057a05219ae6a35170539c68996d2074668 \
     476                            sha256  205656e9741aad406e427e988dbf1665bf5dbdf3e9d574e309c274be4e06bde5
    496477
    497478    depends_lib-append      port:hs-primitive
     
    503484}
    504485
    505 haskell_platform_port xhtml 3000.2.1 3 {
    506     checksums               rmd160  72e1095df0a8111ea696749d219df4ea78da1b4f \
    507                             sha256  33020782170c1c083bc59fc3bfcb72cec2db223e02d1181c07ae23b9fa7fdcd8
    508 
    509     description             An XHTML combinator library
    510     long_description        \
    511         This package provides combinators for producing XHTML 1.0, including the \
    512         Strict, Transitional and Frameset variants.
    513 }
    514 
    515 haskell_platform_port zlib 0.5.4.1 2 {
     486haskell_platform_port zlib 0.5.4.1 3 {
    516487    checksums               rmd160  9ed49e79e239604958a9c385cca75747fafc2713 \
    517488                            sha256  cca365e4c52c90be41a5754943134da5ce6c60bb52fa00c128fd118e0505a550
     
    531502######################
    532503
    533 haskell_platform_tool cabal-install 1.16.0.2 1 {
    534     checksums               rmd160  2e19f5086cbf7f4ea9c17bf804ec6da886cd2f51 \
    535                             sha256  66dfacc9f33e668e56904072cadb8a36bd9d6522ba5464c6a36a5de7e65c5698
     504haskell_platform_tool cabal-install 1.18.0.5 0 {
     505    checksums               rmd160  f07279510e03678ad5e3720d9e01707681f874ea \
     506                            sha256  477df8ef73916e8bc23c727280a1700939131a3e2809a057668c883b0b521782
    536507
    537508    depends_lib-append      port:hs-http \
     
    539510                            port:hs-network \
    540511                            port:hs-random \
     512                            port:hs-stm \
    541513                            port:hs-zlib
    542514
     
    548520}
    549521
    550 haskell_platform_tool alex 3.0.5 2 {
    551     checksums               rmd160  3f543c6af966f6200f84f408022d62beaefb875f \
    552                             sha256  c3326417a0538e355e5ad1871ab931b9c8145391e8b2ff79668eb643d9b99659
     522haskell_platform_tool alex 3.1.3 0 {
     523    checksums               rmd160  2325ccfc770264c517d2dfa38cece9376d4e252d \
     524                            sha256  8d41a6e72a016155f00c846f7146ab4b27fe9640668a4b592d6a9b856f970a92
    553525
    554526    depends_lib-append      port:hs-quickcheck
    555527
    556     description             A lexical analyser generator for Haskell
    557     long_description        \
    558         Alex is a tool for generating lexical analysers in Haskell, given \
    559         a description of the tokens to be recognised in the form of regular \
    560         expressions. It is similar to the tool lex or flex for C/C++.
    561 }
    562 
    563 haskell_platform_tool happy 1.18.10 3 {
    564     checksums               rmd160  3c113721ccacbe33bfbc25287bfe9bf74cc365f7 \
    565                             sha256  c1c920f77906740252e261e2baec5b7519e584344d6080aa5a9cc0b677b9064b
     528    description             A tool for generating lexical analysers in Haskell
     529    long_description        \
     530        Alex is a tool for generating lexical analysers in Haskell. It takes \
     531        a description of tokens based on regular expressions and generates \
     532        a Haskell module containing code for scanning text efficiently. It is \
     533        similar to the tool lex or flex for C/C++.
     534}
     535
     536haskell_platform_tool happy 1.19.4 0 {
     537    checksums               rmd160  8ec09c4743d85ae493354e49df07f0ee423267cf \
     538                            sha256  6be499f66c61f8c48cbbbcb70515eb8e62c2bfa08adcc8c9474e7ae343a6936d
    566539
    567540    depends_lib-append      port:hs-mtl
    568     description             \
    569         Happy is a parser generator system for Haskell, similar to the tool `yacc' \
    570         for C. Like `yacc', it takes a file containing an annotated BNF \
    571         specification of a grammar and produces a Haskell module containing \
    572         a parser for the grammar.
    573     long_description        ${description} \
    574         Happy is flexible: you can have several Happy parsers in the same program, \
    575         and several entry points to a single grammar. Happy can work in conjunction \
    576         with a lexical analyser supplied by the user (either hand-written or \
    577         generated by another program), or it can parse a stream of characters \
    578         directly (but this isn't practical in most cases).
    579 }
     541    description             A parser generator for Haskell
     542    long_description        \
     543        Happy is a parser generator for Haskell. Given a grammar specification \
     544        in BNF, Happy generates Haskell code to parse the grammar. Happy works \
     545        in a similar way to the yacc tool for C.
     546}
     547
     548haskell_platform_tool hscolour 1.20.3 0 {
     549    checksums               rmd160  2d875ecdb910a5955a5ec049935a74c60edbc4cc \
     550                            sha256  3adb816fba3ecdf9f1ee5fb23feb0611b0762f7e8c2a282c2def5cc2f5483d96
     551
     552    license                 GPL-2+
     553
     554    description             Colourise Haskell code
     555    long_description        \
     556        hscolour is a small Haskell script to colourise Haskell code. It \
     557        currently has six output formats: ANSI terminal codes (optionally \
     558        XTerm-256colour codes), HTML 3.2 with font tags, HTML 4.01 with CSS, \
     559        HTML 4.01 with CSS and mouseover annotations, XHTML 1.0 with inline CSS \
     560        styling, LaTeX, and mIRC chat codes.
     561}
  • trunk/dports/devel/hs-transformers/Portfile

    r106818 r131199  
    44PortSystem              1.0
    55
    6 name                    hs-platform-transformers
     6name                    hs-transformers
    77version                 0.3.0.0
    8 revision                1
     8revision                4
    99license                 Permissive
    1010categories              devel haskell
    11 replaced_by             hs-transformers
     11replaced_by             ghc
    1212PortGroup               obsolete 1.0
  • trunk/dports/devel/hs-xhtml/Portfile

    r106818 r131199  
    44PortSystem              1.0
    55
    6 name                    hs-platform-transformers
    7 version                 0.3.0.0
    8 revision                1
     6name                    hs-xhtml
     7version                 3000.2.1
     8revision                4
    99license                 Permissive
    1010categories              devel haskell
    11 replaced_by             hs-transformers
     11replaced_by             ghc
    1212PortGroup               obsolete 1.0
  • trunk/dports/lang/ghc-bootstrap/Portfile

    r125437 r131199  
    66name                ghc-bootstrap
    77set canonicalname   ghc
    8 version             7.0.4
    9 revision            1
     8# Note: 7.6.3 doesn't have a i386 darwin version at http://www.haskell.org/ghc/dist/7.6.3
     9version             7.6.2
    1010categories          lang haskell
    1111maintainers         gmail.com:kitchen.andy cal openmaintainer
     
    2828
    2929checksums           ${canonicalname}-${version}-i386-apple-darwin${extract.suffix} \
    30                         rmd160  ed4cb136a30455e57ca4526d89b019fe4ce638f3 \
    31                         sha256  c316fcd59166f1075675d7365b06cca973aec6623254a4a7fb28e74c352c4462 \
     30                        rmd160  232b3aa4ed9e2ff09d520f4ae02fa572a671178a \
     31                        sha256  c1da502fa7d99f3d87370c65d705a7e8ee4c900fdb62df6f71696c5432047059 \
    3232                    ${canonicalname}-${version}-x86_64-apple-darwin${extract.suffix} \
    33                         rmd160  14f4c6a044eaa3d04f1645324f9255eebff9a49d \
    34                         sha256  74580b919b5205007901d15da88635e4b2dcc887086fb16d238eeb7011a255d4
     33                        rmd160  b0870a4a292fae7248f9b0be485affa4a5a76a2d \
     34                        sha256  eb0dd19bd5a6eede332d58de219437b9c2b186c72a1fc0c60fa1095b0c2d2789
    3535
    36 # -- BEGIN gcc variants
    37 
    38 variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 gcc48 gcc49 description {Compile with gcc 4.3} {
    39     configure.compiler      macports-gcc-4.3
     36post-extract {
     37    # Copy clang-wrapper for re-inplace during configure
     38    xinstall -m 644 ${filespath}/clang-wrapper ${workpath}/clang-wrapper
    4039}
    4140
    42 variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 gcc48 gcc49 description {Compile with gcc 4.4} {
    43     configure.compiler      macports-gcc-4.4
    44 }
    45 
    46 variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 gcc48 gcc49 description {Compile with gcc 4.5} {
    47     configure.compiler      macports-gcc-4.5
    48 }
    49 
    50 variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 gcc48 gcc49 description {Compile with gcc 4.6} {
    51     configure.compiler      macports-gcc-4.6
    52 }
    53 
    54 variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 gcc48 gcc49 description {Compile with gcc 4.7} {
    55     configure.compiler      macports-gcc-4.7
    56 }
    57 
    58 variant gcc48 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 gcc49 description {Compile with gcc 4.8} {
    59     configure.compiler      macports-gcc-4.8
    60 }
    61 
    62 variant gcc49 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 gcc48 description {Compile with gcc 4.9} {
    63     configure.compiler      macports-gcc-4.9
    64 }
    65 
    66 if {![variant_isset gcc43] && ![variant_isset gcc44] &&
    67     ![variant_isset gcc45] && ![variant_isset gcc46] &&
    68     ![variant_isset gcc47] && ![variant_isset gcc49]} {
    69     default_variants +gcc48
    70 }
    71 
    72 # -- END gcc variants
    73 
    7441configure.pre_args  --prefix=${prefix}/share/ghc-bootstrap
     42configure.args      --with-gcc=${configure.cc}
    7543
    7644pre-configure {
     
    8048    configure.ldflags  -L/usr/lib
    8149    configure.cppflags -I/usr/include
     50
     51    # patch clang-wrapper and make sure it is used by patching settings.in
     52    reinplace "s#@clang@#${configure.cc}#g" ${workpath}/clang-wrapper
     53    reinplace "s#@SettingsCCompilerCommand@#${prefix}/share/ghc-bootstrap/libexec/clang-wrapper#g" ${worksrcpath}/settings.in
    8254}
    8355
     
    8557
    8658post-destroot {
    87     # Delete dylibs; they aren't used by the bootstrap ghc and are incorrectly
    88     # linked against /usr/local, causing rev-upgrade to complain.
    89     # This problem might only be reproducible in i386; the x86_64 version
    90     # apparently doesn't ship any dylibs.
     59    # install clang-wrapper to libexec
     60    xinstall -d -m 755 ${destroot}${prefix}/share/ghc-bootstrap/libexec
     61    xinstall -m 755 ${workpath}/clang-wrapper ${destroot}${prefix}/share/ghc-bootstrap/libexec
     62
     63    # Delete all .dylib files, because their load commands would have to be
     64    # fixed or rev-upgrade complains and tries to rebuild the port. However, we
     65    # cannot correctly fix all .dylibs, because the have not been built with
     66    # -headerpad_max_install_names. Deleting them fixes the problem and GHC
     67    # still seems to compile correctly.
     68
     69    # We also delete all the .html files, because we really don't need the
     70    # documentation in a bootstrap port.
     71
    9172    fs-traverse f ${destroot}${prefix} {
    9273        if {[file isfile ${f}]} {
    93             if {[file extension ${f}] == ".dylib"} {
     74            set ext [file extension ${f}]
     75            if {${ext} eq ".html" || ${ext} eq ".dylib"} {
    9476                delete ${f}
    9577            }
     
    9880}
    9981
    100 # TODO don't install documentation
    101 
    10282livecheck.type      none
  • trunk/dports/lang/ghc/Portfile

    r114724 r131199  
    66
    77name                ghc
    8 set canonicalname   ghc
    98# Do not update GHC separate from Haskell Platform.
    109# When updating GHC, make sure to revbump all Haskell ports.
    11 version             7.6.3
    12 revision            4
     10version             7.8.3
    1311categories          lang haskell
    1412maintainers         gmail.com:kitchen.andy cal openmaintainer
     
    3028        and a space and time profiler.
    3129
    32 homepage        http://haskell.org/${canonicalname}
     30homepage        http://haskell.org/${name}
    3331master_sites    ${homepage}/dist/${version}/
    34 distname        ${canonicalname}-${version}-src
    35 worksrcdir      ${canonicalname}-${version}
     32distname        ${name}-${version}-src
     33worksrcdir      ${name}-${version}
    3634
    3735use_bzip2       yes
    3836
    39 distfiles       ${canonicalname}-${version}-src${extract.suffix} \
    40                 ${canonicalname}-${version}-testsuite${extract.suffix}
     37distfiles       ${name}-${version}-src${extract.suffix} \
     38                ${name}-${version}-testsuite${extract.suffix}
    4139
    42 checksums       ghc-7.6.3-src.tar.bz2 \
    43                 rmd160  82a673ed38b7cf9a59afeb01057625fc761a822b \
    44                 sha256  bd43823d31f6b5d0b2ca7b74151a8f98336ab0800be85f45bb591c9c26aac998 \
    45                 ghc-7.6.3-testsuite.tar.bz2 \
    46                 rmd160  e1d7536b1b0799a6c069eb89be41ceb56692b68d \
    47                 sha256  870d8f50a1b569b0f93d0c7c6b80225280841988f1d779aafe847bcf02d76256
     40checksums       ghc-7.8.3-src.tar.bz2 \
     41                rmd160  464d31d924a8c1e23e94b3cae810c4e41dad4b75 \
     42                sha256  2358826f8424bf571dcc313bd882422fe108a340d6e37db4339ff6d5d6ac3f37 \
     43                ghc-7.8.3-testsuite.tar.bz2 \
     44                rmd160  abc39b71e2f3926b80c681428c447f39599d7d83 \
     45                sha256  9cfef874adf5b895701ae52e507f07049a64246af120ac15200e7bf612521122
    4846
    4947depends_build   port:ghc-bootstrap \
     
    5250depends_lib     port:gmp           \
    5351                port:ncurses       \
    54                 port:libiconv
     52                port:libiconv      \
     53                port:llvm-3.5
    5554
    56 patchfiles      patch-configure-disable-docbook-ps-and-pdf.diff \
    57                 patch-utils__mkdirhier__mkdirhier.sh.diff \
    58                 patch-includes_HsFFI.h.diff
    59 
     55patchfiles      patch-configure-workaround-bsdsed-incompatibility.diff \
     56                patch-configure-disable-docs.diff \
     57                patch-unix_lib_osx_sandbox_compatibility.diff
    6058
    6159livecheck.type  none
    6260test.run        yes
    63 use_parallel_build no
    64 
    65 # -- BEGIN gcc variants
    66 
    67 variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 gcc48 gcc49 description {Compile with gcc 4.3} {
    68     configure.compiler      macports-gcc-4.3
    69     configure.args-append   --with-gcc=${configure.cc}
    70     require_active_variants ghc-bootstrap gcc43
    71 }
    72 
    73 variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 gcc48 gcc49 description {Compile with gcc 4.4} {
    74     configure.compiler      macports-gcc-4.4
    75     configure.args-append   --with-gcc=${configure.cc}
    76     require_active_variants ghc-bootstrap gcc44
    77 }
    78 
    79 variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 gcc48 gcc49 description {Compile with gcc 4.5} {
    80     configure.compiler      macports-gcc-4.5
    81     configure.args-append   --with-gcc=${configure.cc}
    82     require_active_variants ghc-bootstrap gcc45
    83 }
    84 
    85 variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 gcc48 gcc49 description {Compile with gcc 4.6} {
    86     configure.compiler      macports-gcc-4.6
    87     configure.args-append   --with-gcc=${configure.cc}
    88     require_active_variants ghc-bootstrap gcc46
    89 }
    90 
    91 variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 gcc48 gcc49 description {Compile with gcc 4.7} {
    92     configure.compiler      macports-gcc-4.7
    93     configure.args-append   --with-gcc=${configure.cc}
    94     require_active_variants ghc-bootstrap gcc47
    95 }
    96 
    97 variant gcc48 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 gcc49 description {Compile with gcc 4.8} {
    98     configure.compiler      macports-gcc-4.8
    99     configure.args-append   --with-gcc=${configure.cc}
    100     require_active_variants ghc-bootstrap gcc48
    101 }
    102 
    103 variant gcc49 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 gcc48 description {Compile with gcc 4.9} {
    104     configure.compiler      macports-gcc-4.9
    105     configure.args-append   --with-gcc=${configure.cc}
    106     require_active_variants ghc-bootstrap gcc49
    107 }
    108 
    109 if {![variant_isset gcc43] && ![variant_isset gcc44] &&
    110     ![variant_isset gcc45] && ![variant_isset gcc46] &&
    111     ![variant_isset gcc47] && ![variant_isset gcc49]} {
    112     default_variants +gcc48
    113 }
    114 
    115 # -- END gcc variants
    11661
    11762set bootstraproot ${prefix}/share/ghc-bootstrap
     63set llvmPrefix  ${prefix}/libexec/llvm-3.5
    11864configure.args  --with-ghc=${bootstraproot}/bin/ghc     \
    11965                --with-iconv-includes=${prefix}/include \
    12066                --with-iconv-libraries=${prefix}/lib    \
    12167                --with-gmp-includes=${prefix}/include   \
    122                 --with-gmp-libraries=${prefix}/lib
     68                --with-gmp-libraries=${prefix}/lib      \
     69                --with-gcc="${configure.cc}"            \
     70                --with-llc=${llvmPrefix}/bin/llc        \
     71                --with-opt=${llvmPrefix}/bin/opt
     72
    12373
    12474# OK so because the bootstrap binary has been prebuilt for libraries
     
    12979compiler.library_path /usr/lib
    13080
    131 post-destroot {
    132     set prefixlib ${prefix}/lib/${worksrcdir}
    133     set destlib   ${destroot}/${prefixlib}
    134     set libver    ${canonicalname}${version}
    135 
    136     variable libs [ list                               \
    137                     libHSrts-${libver}.dylib           \
    138                     libHSrts_debug-${libver}.dylib     \
    139                     libHSrts_thr-${libver}.dylib       \
    140                     libHSrts_thr_debug-${libver}.dylib ]
    141 
    142     system "install_name_tool -id ${prefixlib}/libffi.dylib ${destlib}/libffi.dylib"
    143 
    144     foreach lib $libs {
    145       regexp -line {[^[:space:]]*/libffi.*\.dylib} [exec otool -L ${destlib}/${lib}] oldlib
    146       system "install_name_tool -change ${oldlib} ${prefixlib}/libffi.dylib ${destlib}/$lib"
    147     }
    148 }
     81build.args      VERBOSE=1
     82destroot.args   VERBOSE=1
    14983
    15084pre-activate {
    151     # Legacy port deactivation hack added 2012-12-08
    152     if {![catch {set platform_ghc_installed [lindex [registry_active hs-platform-ghc] 0]}]} {
    153         # hs-platform-ghc is installed and active
    154         # force deactivation
    155         registry_deactivate_composite hs-platform-ghc "" [list ports_nodepcheck 1]
    156     }
     85    set obsoletes [list]
     86
     87    # Legacy port deactivation hack added 2012-12-08, hs-platform-ghc no longer exists
     88    lappend obsoletes hs-platform-ghc
    15789    # Legacy port deactivation hack added 2013-08-11, hs-process is provided by base
    158     if {![catch {set hs_process_installed [lindex [registry_active hs-process] 0]}]} {
    159         # hs-process is installed and active
    160         # force deactivation
    161         registry_deactivate_composite hs-process "" [list ports_nodepcheck 1]
    162     }
     90    lappend obsoletes hs-process
    16391    # Legacy port deactivation hack added 2013-08-14, hs-template-haskell is provided by base
    164     if {![catch {set hs_template_haskell_installed [lindex [registry_active hs-template-haskell] 0]}]} {
    165         # hs-template-haskell is installed and active
    166         # force deactivation
    167         registry_deactivate_composite hs-template-haskell "" [list ports_nodepcheck 1]
     92    lappend obsoletes hs-template-haskell
     93    # Legacy port deactivation hack added 2015-01-05, hs-transformers and hs-xhtml are provided by base
     94    lappend obsoletes hs-transformers
     95    lappend obsoletes hs-xhtml
     96
     97    foreach obsolete $obsoletes {
     98        if {![catch {set obsolete_installed [lindex [registry_active $obsolete] 0]}]} {
     99            # $obsolete is installed and active
     100            # force deactivation
     101            registry_deactivate_composite $obsolete "" [list ports_nodepcheck 1]
     102        }
    168103    }
    169104}
     
    171106post-activate {
    172107    set libprefix "${prefix}/lib/${name}-${version}"
    173     # delete old ${prefix}/lib/ghc-${version} directories
    174     foreach fullpath [glob -directory ${prefix}/lib ghc-*] {
    175         if {$fullpath ne $libprefix} {
    176             ui_debug "Cleaning up remnant GHC library directory ${fullpath}"
    177             delete $fullpath
    178         }
    179     }
    180 
    181     set packageconfd "${libprefix}/package.conf.d"
    182     set deletefiles [list]
    183 
    184     # files that were not correctly unregistered due to --force missing in the
    185     # haskell portgroup, leaving package registrations of packages that still
    186     # had dependents in place
    187 
    188     # added 2013-12-14
    189     lappend deletefiles "${packageconfd}/Cabal-1.16.0.3-*.conf"
    190     lappend deletefiles "${packageconfd}/cereal-0.3.5.2-*.conf"
    191     lappend deletefiles "${packageconfd}/cpphs-1.16-*.conf"
    192     lappend deletefiles "${packageconfd}/entropy-0.2.2.2-*.conf"
    193     lappend deletefiles "${packageconfd}/highlighting-kate-0.5.3.9-*.conf"
    194     lappend deletefiles "${packageconfd}/language-c-0.3.2.1-*.conf"
    195     lappend deletefiles "${packageconfd}/nats-0.1-*.conf"
    196     lappend deletefiles "${packageconfd}/primitive-0.5.0.1-*.conf"
    197     lappend deletefiles "${packageconfd}/semigroups-0.11-*.conf"
    198     lappend deletefiles "${packageconfd}/semigroups-0.9.2-*.conf"
    199     lappend deletefiles "${packageconfd}/template-haskell-2.8.0.0-10af654f73a6befd48e3430f5bf44c21.conf"
    200     lappend deletefiles "${packageconfd}/uniplate-1.6.10-*.conf"
    201 
    202     fs-traverse file $packageconfd {
    203         foreach pattern $deletefiles {
    204             if {[string match $pattern $file]} {
    205                 ui_debug "Removing remnant package registration file ${file}"
    206                 delete $file
    207             }
    208         }
    209     }
     108    ## delete old ${prefix}/lib/ghc-${version} directories
     109    #foreach fullpath [glob -directory ${prefix}/lib ghc-*] {
     110    #    if {$fullpath ne $libprefix} {
     111    #        ui_info "Cleaning up remnant GHC library directory ${fullpath}"
     112    #        delete $fullpath
     113    #    }
     114    #}
    210115
    211116    catch {system "${prefix}/bin/ghc-pkg -v recache"}
Note: See TracChangeset for help on using the changeset viewer.