aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2019-05-28 15:53:04 +0000
committerGleb Popov <arrowd@FreeBSD.org>2019-05-28 15:53:04 +0000
commit0402fd9082f7f0fd534dfd5ad70978505b3eb2e6 (patch)
treec0edf6d4d4a1642a3116f35602a4a8f5692c0503
parente3182c311c86b528b6b9b100416a37de99ec2f4c (diff)
downloadports-0402fd9082f7f0fd534dfd5ad70978505b3eb2e6.tar.gz
ports-0402fd9082f7f0fd534dfd5ad70978505b3eb2e6.zip
Merge lang/ghcXXX ports into lang/ghc.
Remove OPTIONS support from library Haskell ports. Do not install documentation by library Haskell ports. Remove deprecation notice from library ports, that still needed. PR: 224083 Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D20247
Notes
Notes: svn path=/head/; revision=502898
-rw-r--r--MOVED3
-rw-r--r--devel/hs-data-default-class/Makefile5
-rw-r--r--devel/hs-data-default-instances-base/Makefile5
-rw-r--r--devel/hs-data-default-instances-containers/Makefile5
-rw-r--r--devel/hs-data-default-instances-dlist/Makefile5
-rw-r--r--devel/hs-data-default-instances-old-locale/Makefile5
-rw-r--r--devel/hs-data-default/Makefile5
-rw-r--r--devel/hs-dlist/Makefile5
-rw-r--r--devel/hs-extensible-exceptions/Makefile5
-rw-r--r--devel/hs-haddock/Makefile12
-rw-r--r--devel/hs-hashable/Makefile5
-rw-r--r--devel/hs-mtl/Makefile5
-rw-r--r--devel/hs-old-locale/Makefile5
-rw-r--r--devel/hs-old-time/Makefile5
-rw-r--r--devel/hs-random/Makefile5
-rw-r--r--devel/hs-setlocale/Makefile5
-rw-r--r--devel/hs-transformers-compat/Makefile5
-rw-r--r--devel/hs-unordered-containers/Makefile5
-rw-r--r--devel/hs-utf8-string/Makefile5
-rw-r--r--lang/Makefile3
-rw-r--r--lang/ghc/Makefile316
-rw-r--r--lang/ghc/bsd.cabal.mk89
-rw-r--r--lang/ghc/bsd.cabal.options.mk24
-rw-r--r--lang/ghc/bsd.ghc.mk339
-rw-r--r--lang/ghc/distinfo10
-rw-r--r--lang/ghc/files843/build.mk.in (renamed from lang/ghc843/files/build.mk.in)0
-rw-r--r--lang/ghc/files843/extra-patch-aclocal.m4 (renamed from lang/ghc843/files/extra-patch-aclocal.m4)0
-rw-r--r--lang/ghc/files843/patch-configure (renamed from lang/ghc843/files/patch-configure)0
-rw-r--r--lang/ghc/files843/patch-configure.ac (renamed from lang/ghc843/files/patch-configure.ac)0
-rw-r--r--lang/ghc/files843/patch-ghc.mk (renamed from lang/ghc843/files/patch-ghc.mk)0
-rw-r--r--lang/ghc/files843/patch-libraries__Cabal__Cabal__Distribution__Simple__Program__Builtin.hs (renamed from lang/ghc843/files/patch-libraries__Cabal__Cabal__Distribution__Simple__Program__Builtin.hs)0
-rw-r--r--lang/ghc/files843/patch-llvm-targets (renamed from lang/ghc843/files/patch-llvm-targets)0
-rw-r--r--lang/ghc/files843/wrap.c (renamed from lang/ghc843/files/wrap.c)0
-rw-r--r--lang/ghc/files844/build.mk.in (renamed from lang/ghc844/files/build.mk.in)0
-rw-r--r--lang/ghc/files844/extra-patch-aclocal.m4 (renamed from lang/ghc844/files/extra-patch-aclocal.m4)0
-rw-r--r--lang/ghc/files844/patch-configure (renamed from lang/ghc844/files/patch-configure)0
-rw-r--r--lang/ghc/files844/patch-configure.ac (renamed from lang/ghc844/files/patch-configure.ac)0
-rw-r--r--lang/ghc/files844/patch-fix-build-on-arm (renamed from lang/ghc844/files/patch-fix-build-on-arm)0
-rw-r--r--lang/ghc/files844/patch-ghc.mk (renamed from lang/ghc844/files/patch-ghc.mk)0
-rw-r--r--lang/ghc/files844/patch-libraries__Cabal__Cabal__Distribution__Simple__Program__Builtin.hs (renamed from lang/ghc844/files/patch-libraries__Cabal__Cabal__Distribution__Simple__Program__Builtin.hs)0
-rw-r--r--lang/ghc/files844/patch-llvm-targets (renamed from lang/ghc844/files/patch-llvm-targets)0
-rw-r--r--lang/ghc/files844/patch-rts_posix_OSMem.c (renamed from lang/ghc844/files/patch-rts_posix_OSMem.c)0
-rw-r--r--lang/ghc/files844/wrap.c (renamed from lang/ghc844/files/wrap.c)0
-rw-r--r--lang/ghc/files862/build.mk.in (renamed from lang/ghc862/files/build.mk.in)0
-rw-r--r--lang/ghc/files862/extra-patch-aclocal.m4 (renamed from lang/ghc862/files/extra-patch-aclocal.m4)0
-rw-r--r--lang/ghc/files862/patch-configure.ac (renamed from lang/ghc862/files/patch-configure.ac)0
-rw-r--r--lang/ghc/files862/patch-ghc.mk (renamed from lang/ghc862/files/patch-ghc.mk)0
-rw-r--r--lang/ghc/files862/patch-libraries__Cabal__Cabal__Distribution__Simple__Program__Builtin.hs (renamed from lang/ghc862/files/patch-libraries__Cabal__Cabal__Distribution__Simple__Program__Builtin.hs)0
-rw-r--r--lang/ghc/files862/patch-ppc64 (renamed from lang/ghc862/files/patch-ppc64)0
-rw-r--r--lang/ghc/files862/wrap.c (renamed from lang/ghc862/files/wrap.c)0
-rw-r--r--lang/ghc/pkg-plist5
-rw-r--r--lang/ghc843/Makefile31
-rw-r--r--lang/ghc843/distinfo9
-rw-r--r--lang/ghc843/pkg-descr20
-rw-r--r--lang/ghc844/Makefile29
-rw-r--r--lang/ghc844/distinfo9
-rw-r--r--lang/ghc844/pkg-descr20
-rw-r--r--lang/ghc862/Makefile29
-rw-r--r--lang/ghc862/distinfo17
-rw-r--r--lang/ghc862/pkg-descr20
-rw-r--r--math/hs-semigroups/Makefile5
-rw-r--r--net/hs-network/Makefile2
-rw-r--r--x11-wm/hs-xmonad-contrib/Makefile2
-rw-r--r--x11-wm/hs-xmonad/Makefile2
-rw-r--r--x11/hs-X11-xft/Makefile5
-rw-r--r--x11/hs-X11/Makefile5
66 files changed, 348 insertions, 743 deletions
diff --git a/MOVED b/MOVED
index 96b5cda512c4..cda5d25cf059 100644
--- a/MOVED
+++ b/MOVED
@@ -12772,3 +12772,6 @@ devel/rubygem-peek-rblineprof-rails50|devel/rubygem-peek-rblineprof-rails5|2019-
devel/rubygem-peek-redis-rails50|devel/rubygem-peek-redis-rails5|2019-05-28|Obsolete by gitlab-ce upgrade, use devel/rubygem-peek-redis-rails5 instead
mail/rubygem-premailer-rails19-rails50|mail/rubygem-premailer-rails19-rails5|2019-05-28|Obsolete by gitlab-ce upgrade, use mail/rubygem-premailer-rails19-rails5 instead
www/rubygem-webpack-rails-rails50|www/rubygem-webpack-rails-rails5|2019-05-28|Obsolete by gitlab-ce upgrade, use www/rubygem-webpack-rails-rails5 instead
+lang/ghc843||2019-05-28|Old versions of GHC are removed from ports. Use devel/stack and appropriate resolver to install this version of GHC for your user only
+lang/ghc844||2019-05-28|Old versions of GHC are removed from ports. Use devel/stack and appropriate resolver to install this version of GHC for your user only
+lang/ghc862||2019-05-28|Old versions of GHC are removed from ports. Use devel/stack and appropriate resolver to install this version of GHC for your user only
diff --git a/devel/hs-data-default-class/Makefile b/devel/hs-data-default-class/Makefile
index 0d3ba9a29d40..3f3d5015e8f1 100644
--- a/devel/hs-data-default-class/Makefile
+++ b/devel/hs-data-default-class/Makefile
@@ -2,7 +2,7 @@
PORTNAME= data-default-class
PORTVERSION= 0.1.2.0
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
@@ -10,8 +10,5 @@ COMMENT= Class for types with a default value
LICENSE= BSD3CLAUSE
-DEPRECATED= Haskell libraries are getting pushed out of the ports tree. If you are using this port for development, consider switching to cabal sandboxes (old way), cabal new-build (new way), or use devel/stack. If you believe this port shouldn't be removed, contact haskell@FreeBSD.org
-EXPIRATION_DATE= 2019-04-14
-
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
diff --git a/devel/hs-data-default-instances-base/Makefile b/devel/hs-data-default-instances-base/Makefile
index 9812fd48b010..8693dd1ce066 100644
--- a/devel/hs-data-default-instances-base/Makefile
+++ b/devel/hs-data-default-instances-base/Makefile
@@ -2,7 +2,7 @@
PORTNAME= data-default-instances-base
PORTVERSION= 0.1.0.1
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
@@ -10,9 +10,6 @@ COMMENT= Default instances for types in base
LICENSE= BSD3CLAUSE
-DEPRECATED= Haskell libraries are getting pushed out of the ports tree. If you are using this port for development, consider switching to cabal sandboxes (old way), cabal new-build (new way), or use devel/stack. If you believe this port shouldn't be removed, contact haskell@FreeBSD.org
-EXPIRATION_DATE= 2019-04-14
-
USE_CABAL= data-default-class
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
diff --git a/devel/hs-data-default-instances-containers/Makefile b/devel/hs-data-default-instances-containers/Makefile
index b8c673ff9a33..02e3d2dc748a 100644
--- a/devel/hs-data-default-instances-containers/Makefile
+++ b/devel/hs-data-default-instances-containers/Makefile
@@ -2,7 +2,7 @@
PORTNAME= data-default-instances-containers
PORTVERSION= 0.0.1
-PORTREVISION= 12
+PORTREVISION= 13
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
@@ -10,9 +10,6 @@ COMMENT= Default instances for types in containers
LICENSE= BSD3CLAUSE
-DEPRECATED= Haskell libraries are getting pushed out of the ports tree. If you are using this port for development, consider switching to cabal sandboxes (old way), cabal new-build (new way), or use devel/stack. If you believe this port shouldn't be removed, contact haskell@FreeBSD.org
-EXPIRATION_DATE= 2019-04-14
-
USE_CABAL= data-default-class
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
diff --git a/devel/hs-data-default-instances-dlist/Makefile b/devel/hs-data-default-instances-dlist/Makefile
index 6e1a4b3a952d..465c56659312 100644
--- a/devel/hs-data-default-instances-dlist/Makefile
+++ b/devel/hs-data-default-instances-dlist/Makefile
@@ -2,7 +2,7 @@
PORTNAME= data-default-instances-dlist
PORTVERSION= 0.0.1
-PORTREVISION= 12
+PORTREVISION= 13
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
@@ -10,9 +10,6 @@ COMMENT= Default instances for types in dlist
LICENSE= BSD3CLAUSE
-DEPRECATED= Haskell libraries are getting pushed out of the ports tree. If you are using this port for development, consider switching to cabal sandboxes (old way), cabal new-build (new way), or use devel/stack. If you believe this port shouldn't be removed, contact haskell@FreeBSD.org
-EXPIRATION_DATE= 2019-04-14
-
USE_CABAL= data-default-class dlist
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
diff --git a/devel/hs-data-default-instances-old-locale/Makefile b/devel/hs-data-default-instances-old-locale/Makefile
index 9e126430e4aa..9680f4036347 100644
--- a/devel/hs-data-default-instances-old-locale/Makefile
+++ b/devel/hs-data-default-instances-old-locale/Makefile
@@ -2,7 +2,7 @@
PORTNAME= data-default-instances-old-locale
PORTVERSION= 0.0.1
-PORTREVISION= 13
+PORTREVISION= 14
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
@@ -10,9 +10,6 @@ COMMENT= Default instances for types in old-locale
LICENSE= BSD3CLAUSE
-DEPRECATED= Haskell libraries are getting pushed out of the ports tree. If you are using this port for development, consider switching to cabal sandboxes (old way), cabal new-build (new way), or use devel/stack. If you believe this port shouldn't be removed, contact haskell@FreeBSD.org
-EXPIRATION_DATE= 2019-04-14
-
USE_CABAL= data-default-class old-locale
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
diff --git a/devel/hs-data-default/Makefile b/devel/hs-data-default/Makefile
index 77f3f20c22fa..7af483d748b7 100644
--- a/devel/hs-data-default/Makefile
+++ b/devel/hs-data-default/Makefile
@@ -2,7 +2,7 @@
PORTNAME= data-default
PORTVERSION= 0.7.1.1
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
@@ -10,9 +10,6 @@ COMMENT= Class for types with a default value
LICENSE= BSD3CLAUSE
-DEPRECATED= Haskell libraries are getting pushed out of the ports tree. If you are using this port for development, consider switching to cabal sandboxes (old way), cabal new-build (new way), or use devel/stack. If you believe this port shouldn't be removed, contact haskell@FreeBSD.org
-EXPIRATION_DATE= 2019-04-14
-
USE_CABAL= data-default-class data-default-instances-base \
data-default-instances-containers data-default-instances-dlist \
data-default-instances-old-locale
diff --git a/devel/hs-dlist/Makefile b/devel/hs-dlist/Makefile
index 7c327b8dfc76..93081a3803ad 100644
--- a/devel/hs-dlist/Makefile
+++ b/devel/hs-dlist/Makefile
@@ -3,7 +3,7 @@
PORTNAME= dlist
PORTVERSION= 0.8.0.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
@@ -11,8 +11,5 @@ COMMENT= Difference lists
LICENSE= BSD3CLAUSE
-DEPRECATED= Haskell libraries are getting pushed out of the ports tree. If you are using this port for development, consider switching to cabal sandboxes (old way), cabal new-build (new way), or use devel/stack. If you believe this port shouldn't be removed, contact haskell@FreeBSD.org
-EXPIRATION_DATE= 2019-04-14
-
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
diff --git a/devel/hs-extensible-exceptions/Makefile b/devel/hs-extensible-exceptions/Makefile
index 40b2454b41e6..d7817b0a4b7a 100644
--- a/devel/hs-extensible-exceptions/Makefile
+++ b/devel/hs-extensible-exceptions/Makefile
@@ -2,7 +2,7 @@
PORTNAME= extensible-exceptions
PORTVERSION= 0.1.1.4
-PORTREVISION= 12
+PORTREVISION= 13
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
@@ -10,9 +10,6 @@ COMMENT= Extensible exceptions
LICENSE= BSD3CLAUSE
-DEPRECATED= Haskell libraries are getting pushed out of the ports tree. If you are using this port for development, consider switching to cabal sandboxes (old way), cabal new-build (new way), or use devel/stack. If you believe this port shouldn't be removed, contact haskell@FreeBSD.org
-EXPIRATION_DATE= 2019-04-14
-
CABAL_SETUP= Setup.hs
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
diff --git a/devel/hs-haddock/Makefile b/devel/hs-haddock/Makefile
index 63b58988d4a1..6648726980ff 100644
--- a/devel/hs-haddock/Makefile
+++ b/devel/hs-haddock/Makefile
@@ -3,7 +3,7 @@
PORTNAME= haddock
PORTVERSION= 2.21.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
@@ -14,15 +14,5 @@ LICENSE= BSD3CLAUSE
USES= cabal
USE_CABAL= ghc-paths-0.1.0.9_4 haddock-api-2.21.0 haddock-library-1.7.0
-SKIP_CABAL_PLIST= yes
-
-# new-cabal doesn't seem to support this yet
-#CONFIGURE_ARGS+= --program-suffix=-${PORTVERSION}
-
-post-stage:
- ${MV} ${STAGEDIR}/${PREFIX}/bin/haddock ${STAGEDIR}/${PREFIX}/bin/haddock-${PORTVERSION}
-
-post-install-script:
- ${ECHO_CMD} 'bin/haddock-${PORTVERSION}' >> ${TMPPLIST}
.include <bsd.port.mk>
diff --git a/devel/hs-hashable/Makefile b/devel/hs-hashable/Makefile
index d18e283faa0a..58b9b77c7f18 100644
--- a/devel/hs-hashable/Makefile
+++ b/devel/hs-hashable/Makefile
@@ -2,7 +2,7 @@
PORTNAME= hashable
PORTVERSION= 1.2.7.0
-PORTREVISION= 3
+PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= devel haskell
@@ -11,9 +11,6 @@ COMMENT= Class for types that can be converted to a hash value
LICENSE= BSD3CLAUSE
-DEPRECATED= Haskell libraries are getting pushed out of the ports tree. If you are using this port for development, consider switching to cabal sandboxes (old way), cabal new-build (new way), or use devel/stack. If you believe this port shouldn't be removed, contact haskell@FreeBSD.org
-EXPIRATION_DATE= 2019-04-14
-
FLAGS_DEFINE= INTEGER_GMP SSE2 SSE41
FLAGS_DEFAULT_amd64= INTEGER_GMP SSE2
FLAGS_DEFAULT_i386= INTEGER_GMP SSE2
diff --git a/devel/hs-mtl/Makefile b/devel/hs-mtl/Makefile
index 414c19644a5e..aed8d43b85aa 100644
--- a/devel/hs-mtl/Makefile
+++ b/devel/hs-mtl/Makefile
@@ -2,7 +2,7 @@
PORTNAME= mtl
PORTVERSION= 2.2.1
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
@@ -10,8 +10,5 @@ COMMENT= Monad classes, using functional dependencies
LICENSE= BSD3CLAUSE
-DEPRECATED= Haskell libraries are getting pushed out of the ports tree. If you are using this port for development, consider switching to cabal sandboxes (old way), cabal new-build (new way), or use devel/stack. If you believe this port shouldn't be removed, contact haskell@FreeBSD.org
-EXPIRATION_DATE= 2019-04-14
-
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
diff --git a/devel/hs-old-locale/Makefile b/devel/hs-old-locale/Makefile
index 24ef3dc5ed0e..79838e172c50 100644
--- a/devel/hs-old-locale/Makefile
+++ b/devel/hs-old-locale/Makefile
@@ -2,7 +2,7 @@
PORTNAME= old-locale
PORTVERSION= 1.0.0.7
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
@@ -10,8 +10,5 @@ COMMENT= Locale library
LICENSE= BSD3CLAUSE
-DEPRECATED= Haskell libraries are getting pushed out of the ports tree. If you are using this port for development, consider switching to cabal sandboxes (old way), cabal new-build (new way), or use devel/stack. If you believe this port shouldn't be removed, contact haskell@FreeBSD.org
-EXPIRATION_DATE= 2019-04-14
-
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
diff --git a/devel/hs-old-time/Makefile b/devel/hs-old-time/Makefile
index 76077340295f..65c082e1ac47 100644
--- a/devel/hs-old-time/Makefile
+++ b/devel/hs-old-time/Makefile
@@ -2,7 +2,7 @@
PORTNAME= old-time
PORTVERSION= 1.1.0.3
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
@@ -10,9 +10,6 @@ COMMENT= Time library
LICENSE= BSD3CLAUSE
-DEPRECATED= Haskell libraries are getting pushed out of the ports tree. If you are using this port for development, consider switching to cabal sandboxes (old way), cabal new-build (new way), or use devel/stack. If you believe this port shouldn't be removed, contact haskell@FreeBSD.org
-EXPIRATION_DATE= 2019-04-14
-
USE_CABAL= old-locale>=1.0
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
diff --git a/devel/hs-random/Makefile b/devel/hs-random/Makefile
index 104500344e6c..34e8a1847cb5 100644
--- a/devel/hs-random/Makefile
+++ b/devel/hs-random/Makefile
@@ -2,7 +2,7 @@
PORTNAME= random
PORTVERSION= 1.1
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
@@ -10,8 +10,5 @@ COMMENT= Random number library
LICENSE= BSD3CLAUSE
-DEPRECATED= Haskell libraries are getting pushed out of the ports tree. If you are using this port for development, consider switching to cabal sandboxes (old way), cabal new-build (new way), or use devel/stack. If you believe this port shouldn't be removed, contact haskell@FreeBSD.org
-EXPIRATION_DATE= 2019-04-14
-
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
diff --git a/devel/hs-setlocale/Makefile b/devel/hs-setlocale/Makefile
index 16d13a2e0f28..ef1c73474a9e 100644
--- a/devel/hs-setlocale/Makefile
+++ b/devel/hs-setlocale/Makefile
@@ -2,7 +2,7 @@
PORTNAME= setlocale
PORTVERSION= 1.0.0.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
@@ -10,8 +10,5 @@ COMMENT= Haskell setlocale package
LICENSE= BSD3CLAUSE
-DEPRECATED= Haskell libraries are getting pushed out of the ports tree. If you are using this port for development, consider switching to cabal sandboxes (old way), cabal new-build (new way), or use devel/stack. If you believe this port shouldn't be removed, contact haskell@FreeBSD.org
-EXPIRATION_DATE= 2019-04-14
-
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
diff --git a/devel/hs-transformers-compat/Makefile b/devel/hs-transformers-compat/Makefile
index 6e912b621566..b1fd4c2d7f9f 100644
--- a/devel/hs-transformers-compat/Makefile
+++ b/devel/hs-transformers-compat/Makefile
@@ -2,7 +2,7 @@
PORTNAME= transformers-compat
PORTVERSION= 0.5.1.4
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
@@ -10,8 +10,5 @@ COMMENT= Compatibility shim exposing the new types from transformers 0.3 and 0.4
LICENSE= BSD3CLAUSE
-DEPRECATED= Haskell libraries are getting pushed out of the ports tree. If you are using this port for development, consider switching to cabal sandboxes (old way), cabal new-build (new way), or use devel/stack. If you believe this port shouldn't be removed, contact haskell@FreeBSD.org
-EXPIRATION_DATE= 2019-04-14
-
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
diff --git a/devel/hs-unordered-containers/Makefile b/devel/hs-unordered-containers/Makefile
index f53b0c0e5c67..506d1f51f8f0 100644
--- a/devel/hs-unordered-containers/Makefile
+++ b/devel/hs-unordered-containers/Makefile
@@ -2,7 +2,7 @@
PORTNAME= unordered-containers
PORTVERSION= 0.2.9.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
@@ -10,9 +10,6 @@ COMMENT= Efficient hashing-based container types
LICENSE= BSD3CLAUSE
-DEPRECATED= Haskell libraries are getting pushed out of the ports tree. If you are using this port for development, consider switching to cabal sandboxes (old way), cabal new-build (new way), or use devel/stack. If you believe this port shouldn't be removed, contact haskell@FreeBSD.org
-EXPIRATION_DATE= 2019-04-14
-
USE_CABAL= hashable>=1.0.1.1
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
diff --git a/devel/hs-utf8-string/Makefile b/devel/hs-utf8-string/Makefile
index 255666f7d519..485fa7b896b6 100644
--- a/devel/hs-utf8-string/Makefile
+++ b/devel/hs-utf8-string/Makefile
@@ -2,7 +2,7 @@
PORTNAME= utf8-string
PORTVERSION= 1.0.1.1
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
@@ -10,8 +10,5 @@ COMMENT= Support for reading and writing UTF-8 strings
LICENSE= BSD3CLAUSE
-DEPRECATED= Haskell libraries are getting pushed out of the ports tree. If you are using this port for development, consider switching to cabal sandboxes (old way), cabal new-build (new way), or use devel/stack. If you believe this port shouldn't be removed, contact haskell@FreeBSD.org
-EXPIRATION_DATE= 2019-04-14
-
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
diff --git a/lang/Makefile b/lang/Makefile
index 59488f6d1f23..13f37d568d62 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -113,9 +113,6 @@
SUBDIR += gcc9-devel
SUBDIR += gforth
SUBDIR += ghc
- SUBDIR += ghc843
- SUBDIR += ghc844
- SUBDIR += ghc862
SUBDIR += gjs
SUBDIR += gnat_util
SUBDIR += gnatcross-aarch64
diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index 96a9a825c4a4..59e253d8b528 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -3,11 +3,11 @@
PORTNAME= ghc
PORTVERSION= ${GHC_VERSION}
+PORTREVISION= 1
CATEGORIES= lang haskell
-MASTER_SITES= http://www.haskell.org/ghc/dist/${PORTVERSION}/:source \
+MASTER_SITES= https://www.haskell.org/ghc/dist/${PORTVERSION}/:source \
LOCAL/arrowd/:boot \
- ${HACKAGE_SITE}hscolour-${HSCOLOUR_VERSION}/:docs
-
+ https://hackage.haskell.org/package/hscolour-${HSCOLOUR_VERSION}/:docs
DISTFILES= ghc-${PORTVERSION}-src${EXTRACT_SUFX}:source \
hscolour-${HSCOLOUR_VERSION}.tar.gz:docs
EXTRACT_ONLY= ${_DISTFILES:C/hscolour.*$//g}
@@ -18,12 +18,314 @@ COMMENT= Compiler for the functional language Haskell
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-GHC_VERSION= 8.6.3
+# other supported arches are added based on GHC_VERSION below
+ONLY_FOR_ARCHS= amd64 i386
+
+USES= autoreconf gmake iconv:translit localbase:ldflags ncurses perl5 tar:xz
+USE_LOCALE= en_US.UTF-8
+USE_PERL5= build
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-iconv-includes=${LOCALBASE}/include \
+ --with-iconv-libraries=${LOCALBASE}/lib
+CONFIGURE_ENV= CC=${CC} LD=${LD} PATH=${SLAVES_PREFIX}/bin:${PATH}
+MAKE_ENV= PATH=${SLAVES_PREFIX}/bin:${PATH}
+# Turn off for a while, see PR 228727
+CONFIGURE_ARGS+= --enable-dtrace=0
+
+SUB_FILES= build.mk
+SUB_LIST= GHC_VERSION=${GHC_VERSION} \
+ NCURSESINC="${NCURSESBASE}/include" NCURSESLIB="${NCURSESLIB}" \
+ CFLAGS="${CFLAGS}"
+
+OPTIONS_GROUP= BOOTSTRAP
+BOOTSTRAP_DESC= Bootsrap using installed ghc
+OPTIONS_GROUP_BOOTSTRAP=BOOT
+OPTIONS_DEFINE= DYNAMIC GMP PROFILE DOCS
+OPTIONS_SUB= yes
+
+OPTIONS_DEFAULT= DYNAMIC PROFILE GMP
+
+BOOT_DESC= Use installed GHC for bootstrapping
+DOCS_DESC= Install HTML documentation
+DYNAMIC_DESC= Add support for dynamic linking
+GMP_DESC= Use GNU Multi-precision Library for big integers support
+PROFILE_DESC= Add support for performance profiling
+
+DOCS_BUILD_DEPENDS+= sphinx-build:textproc/py-sphinx
+DOCS_SUB_LIST= WITH_DOCS="YES"
+DOCS_SUB_LIST_OFF= WITH_DOCS="NO"
+
+DYNAMIC_CONFIGURE_WITH= system-libffi \
+ ffi-includes=${LOCALBASE}/include \
+ ffi-libraries=${LOCALBASE}/lib
+# The version number is needed as lang/gcc installs a different version
+DYNAMIC_LIB_DEPENDS= libffi.so.6:devel/libffi
+DYNAMIC_SUB_LIST= WITH_DYNAMIC="YES"
+DYNAMIC_SUB_LIST_OFF= WITH_DYNAMIC="NO"
+
+GMP_CONFIGURE_WITH= gmp-includes=${LOCALBASE}/include \
+ gmp-libraries=${LOCALBASE}/lib
+GMP_LIB_DEPENDS= libgmp.so:math/gmp
+GMP_SUB_LIST= INTEGER_LIBRARY="integer-gmp"
+GMP_SUB_LIST_OFF= INTEGER_LIBRARY="integer-simple"
+
+# Append substitutions for build.mk
+BOOT_SUB_LIST= HSC2HS=${LOCALBASE}/bin/hsc2hs
+BOOT_SUB_LIST_OFF= HSC2HS=${BOOT_HSC2HS}
+
+PROFILE_SUB_LIST= WITH_PROFILE="YES"
+PROFILE_SUB_LIST_OFF= WITH_PROFILE="NO"
+
+GHC_VERSION?= ${GHC_VERSION_DEFAULT}
+GHC_VERSION_DEFAULT= 8.6.3
+GHC_VERSION_MAJOR= ${GHC_VERSION:S/./ /g:[1]}
+GHC_VERSION_MINOR= ${GHC_VERSION:S/./ /g:[2]}
+
HSCOLOUR_VERSION= 1.24.4
+
+.if ${GHC_VERSION_MAJOR} >= 8 && ${GHC_VERSION_MINOR} >= 6
+ONLY_FOR_ARCHS+= aarch64 armv6 armv7 powerpc64
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if ${GHC_VERSION_MAJOR} == 8 && ${GHC_VERSION_MINOR} <= 4
+LLVM_VERSION= 50
+.else
LLVM_VERSION= 60
+.endif
+
+.if ${ARCH} == amd64 || ${ARCH} == i386
+BOOT_GHC_VERSION= 8.4.3
+.else
+BOOT_GHC_VERSION= 8.6.3
+.endif
+
+# LLVM version that bootstrap compiler uses
+BOOT_LLVM_VERSION= 60
+
+.if "${GHC_VERSION}" != "${GHC_VERSION_DEFAULT}"
+PATCHDIR= ${.CURDIR}/files${GHC_VERSION:S/.//g}/
+.endif
+
+NO_CCACHE= ccache: error: Failed to create directory /nonexistent/.ccache/tmp: Permission denied
+
+DOCSDIR= ${PREFIX}/share/doc/${DISTNAME}
+DATADIR= ${PREFIX}/share/ghc-${GHC_VERSION}
+EXAMPLESDIR= ${PREFIX}/share/examples/ghc-${GHC_VERSION}
+GHC_ARCH= ${ARCH:S/amd64/x86_64/:C/armv.*/arm/}
+GHC_LIBDIR= ${STAGEDIR}${PREFIX}/lib/ghc-${GHC_VERSION}
+GHC_LIBDIR_REL= lib/ghc-${GHC_VERSION}
+
+_EXECUTABLES= ${GHC_LIBDIR}/bin/unlit \
+ ${GHC_LIBDIR}/bin/hpc \
+ ${GHC_LIBDIR}/bin/ghc-iserv \
+ ${GHC_LIBDIR}/bin/ghc-pkg \
+ ${GHC_LIBDIR}/bin/hsc2hs \
+ ${GHC_LIBDIR}/bin/runghc \
+ ${GHC_LIBDIR}/bin/ghc \
+ ${GHC_LIBDIR}/bin/hp2ps \
+ ${GHC_LIBDIR}/bin/haddock
+
+.if ${PORT_OPTIONS:MPROFILE}
+_EXECUTABLES+= ${GHC_LIBDIR}/bin/ghc-iserv-prof
+.endif
+.if ${PORT_OPTIONS:MDYNAMIC}
+_EXECUTABLES+= ${GHC_LIBDIR}/bin/ghc-iserv-dyn
+.endif
+
+.include <bsd.port.options.mk>
+
+.if empty(PORT_OPTIONS:MBOOT)
+
+DISTFILES+= ghc-${BOOT_GHC_VERSION}-boot-${ARCH}-freebsd${EXTRACT_SUFX}:boot
+.endif # MBOOT
+
+.if ${ARCH} == aarch64 || ${ARCH} == armv6 || ${ARCH} == armv7
+# CONFIGURE_TARGET must to be the same as the llvm triple
+CONFIGURE_TARGET= ${ARCH}-unknown-freebsd${"${ARCH:Maarch64}" != "":?:-gnueabihf}
+EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-aclocal.m4
+BUILD_DEPENDS+= ld.gold:devel/binutils \
+ llc${LLVM_VERSION}:devel/llvm${LLVM_VERSION}
+RUN_DEPENDS+= ld.gold:devel/binutils \
+ llc${LLVM_VERSION}:devel/llvm${LLVM_VERSION}
+USE_GCC= yes
+
+# When GHC being compiled and GHC used for bootstrapping support different
+# LLVM versions, we have to pull in both. Luckily, this is relatively rare.
+. if ${BOOT_LLVM_VERSION} != ${LLVM_VERSION}
+BUILD_DEPENDS+= llc${BOOT_LLVM_VERSION}:devel/llvm${BOOT_LLVM_VERSION}
+RUN_DEPENDS+= llc${BOOT_LLVM_VERSION}:devel/llvm${BOOT_LLVM_VERSION}
+. endif
+
+. if ${OSVERSION} < 1200064
+IGNORE= lang/ghc on ARM requires at least __FreeBSD_version 1200064
+. endif
+
+. ifdef QEMU_EMULATING
+IGNORE= qemu-user-static isn't able to build lang/ghc, but it builds fine on a real hardware
+. endif
+.endif
+
+.if ${ARCH} == powerpc64
+USE_GCC= yes
+
+. if ${OSVERSION} < 1200086
+IGNORE= lang/ghc on powerpc64 requires at least __FreeBSD_version 1200086
+. endif
+.endif
+
+# Use binutils strip if we are using gcc, as it is faster that base one. See PR 234949
+.if defined(USE_GCC)
+CONFIGURE_ENV+= STRIP=${LOCALBASE}/bin/strip
+.endif
+
+PLIST_SUB+= GHC_VERSION=${GHC_VERSION} GHC_LIBDIR=${GHC_LIBDIR_REL}
+
+.if empty(PORT_OPTIONS:MBOOT)
+BOOT_DIR= ${WRKDIR}/ghc-${BOOT_GHC_VERSION}-boot
+BOOT_GHC= ${BOOT_DIR}/bin/ghc-${BOOT_GHC_VERSION}
+BOOT_GHC-PKG= ${BOOT_DIR}/bin/ghc-pkg-${BOOT_GHC_VERSION}
+BOOT_HSC2HS= ${BOOT_DIR}/bin/hsc2hs
+
+SLAVE_ENV= ${SETENV} PATH=${BOOT_DIR}/bin:${PATH}
+
+CONFIGURE_ARGS+= --with-ghc=${BOOT_GHC}
+.else # MBOOT
+SLAVE_ENV= # empty
+CONFIGURE_ARGS+= --with-ghc=${LOCALBASE}/bin/ghc
+.endif # MBOOT
+
+# override TMPDIR because /tmp often doesn't have enough space
+# to build some of the larger libraries.
+#TMPDIR= ${WRKSRC}/tmp
+
+SLAVES_PREFIX= ${WRKDIR}/slaves_prefix
+SLAVES_WRKDIRPREFIX= ${WRKDIR}/slaves_wrkdirprefix
+
+post-extract:
+# Use the "wrap" trick on arches that have to use pre-ino64 bootstrap binaries
+.if empty(PORT_OPTIONS:MBOOT) && ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200031 && \
+ (${ARCH} == amd64 || ${ARCH} == i386)
+ @${REINPLACE_CMD} -e 's|@SettingsCCompilerLinkFlags@|& -Wl,--wrap=readdir_r,--wrap=stat,--wrap=lstat,--wrap=fstat,--wrap=mknod|' ${BOOT_DIR}/settings.in
+.endif
+
+# %%PORTDOCS%%%%DOCSDIR%%/html/libraries/doc-index-V.html
+post-install-script:
+ ${FIND} -ds ${GHC_LIBDIR} -type f -print | ${SED} -E \
+ -e 's,^${STAGEDIR}${PREFIX}/?,,' \
+ -e '/^${GHC_LIBDIR:C/\//\\\//g}\/package.conf.d\/package\.cache/s|^|@comment |g' \
+ >> ${TMPPLIST}
+ ${FIND} -ds ${STAGEDIR}${DOCSDIR} -type f -print | ${SED} -E \
+ -e 's,^${STAGEDIR}${PREFIX}/?,,' \
+ -e '/^${STAGEDIR:C/\//\\\//g}${DOCSDIR:C/\//\\\//g}\/html\/libraries\/doc-index-[^.]+\.html/s|^|@comment |g' \
+ -e '/^${STAGEDIR:C/\//\\\//g}${DOCSDIR:C/\//\\\//g}\/html\/libraries\/index[^\/.]*\.html/s|^|@comment|g' \
+ -e '/^${STAGEDIR:C/\//\\\//g}${DOCSDIR:C/\//\\\//g}\/html\/libraries\/[^\/]+\.png/s|^|@comment |g' \
+ >> ${TMPPLIST}
+.if ${PORT_OPTIONS:MDOCS}
+ # Cleanup the indexen created by gen_contents_index
+ ${ECHO} "@postunexec ${RM} %D/${DOCSDIR_REL}/html/libraries/doc-index-*.html" >> ${TMPPLIST}
+ ${ECHO} "@postunexec ${RM} %D/${DOCSDIR_REL}/html/libraries/index*.html" >> ${TMPPLIST}
+ ${ECHO} "@postunexec ${RM} %D/${DOCSDIR_REL}/html/libraries/*.png" >> ${TMPPLIST}
+.endif
+ ${ECHO} '@postunexec ${RM} %D/${GHC_LIBDIR_REL}/package.conf.d/package.cache' >>${TMPPLIST}
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%CC%%|${CC}|; \
+ s|%%AR%%|${AR}|; \
+ s|%%LD%%|${LD}|' \
+ ${WRKSRC}/libraries/Cabal/Cabal/Distribution/Simple/Program/Builtin.hs
+# we must use binutils:ld on arm
+.if ${ARCH} == aarch64 || ${ARCH} == armv6 || ${ARCH} == armv7
+ @${REINPLACE_CMD} -e 's|LD_NO_GOLD=ld|LD_NO_GOLD=${LOCALBASE}/bin/ld|' \
+ ${WRKSRC}/aclocal.m4
+.endif
+
+ @${REINPLACE_CMD} -e 's/@SettingsLlcCommand@/llc${LLVM_VERSION}/' ${WRKSRC}/settings.in
+ @${REINPLACE_CMD} -e 's/@SettingsOptCommand@/opt${LLVM_VERSION}/' ${WRKSRC}/settings.in
+
+.if empty(PORT_OPTIONS:MBOOT)
+ @${REINPLACE_CMD} -e '/^mandir/d' ${BOOT_DIR}/mk/build.mk
+ @${REINPLACE_CMD} -e '/^infodir/d' ${BOOT_DIR}/mk/build.mk
+ @${REINPLACE_CMD} -e '/^docdir/d' ${BOOT_DIR}/mk/build.mk
+ @${REINPLACE_CMD} -e '/^htmldir/d' ${BOOT_DIR}/mk/build.mk
+.endif
+
+pre-configure: apply-slist
+ # Copy the subbed build.mk to the proper position
+ ${CP} ${WRKDIR}/build.mk ${WRKSRC}/mk/build.mk
+
+# Use the "wrap" trick on arches that have to use pre-ino64 bootstrap binaries
+.if empty(PORT_OPTIONS:MBOOT) && ${OPSYS} == FreeBSD && \
+ ${OSVERSION} >= 1200031 && \
+ (${ARCH} == amd64 || ${ARCH} == i386)
+ ${CC} ${CFLAGS} -c -o ${BOOT_DIR}/wrap.o ${PATCHDIR}/wrap.c
+ for x in ${BOOT_DIR}/rts/dist/build/libCffi*.a; do \
+ ${AR} q $$x ${BOOT_DIR}/wrap.o; ${RANLIB} $$x; \
+ done
+ ${RM} ${BOOT_DIR}/wrap.o
+.endif
+# If we are using bootstrap compiler, configure and install it into ${BOOT_DIR}
+.if empty(PORT_OPTIONS:MBOOT)
+ cd ${BOOT_DIR} && ${CONFIGURE_ENV} ${CONFIGURE_CMD} --prefix=${BOOT_DIR}
+ cd ${BOOT_DIR} && PACKAGES='' ${MAKE_CMD} install
+.endif
+# If DOCS are set, install HsColour in-place
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${SLAVES_PREFIX}
+ ${MKDIR} ${SLAVES_WRKDIRPREFIX}
+
+ cd ${SLAVES_WRKDIRPREFIX} && \
+ ${TAR} xvf ${DISTDIR}/hscolour-${HSCOLOUR_VERSION}.tar.gz && \
+ cd hscolour-${HSCOLOUR_VERSION} && \
+ ${SLAVE_ENV} ghc --make -o Setup Setup.hs -package Cabal && \
+ ${SLAVE_ENV} ./Setup configure --ghc --prefix=${SLAVES_PREFIX} --with-gcc=${CC} --with-ld=${LD} && \
+ ${SLAVE_ENV} ./Setup build && \
+ ${SLAVE_ENV} ./Setup install
+.endif
+
+post-install:
+ (for f in ${_EXECUTABLES} $$(${FIND} ${GHC_LIBDIR} -name '*.so*'); do \
+ ${STRIP_CMD} $$f; done)
+.if ${PORT_OPTIONS:MDOCS}
+ ${MV} ${STAGEDIR}${PREFIX}/bin/haddock ${STAGEDIR}${PREFIX}/bin/haddock-ghc-${GHC_VERSION}
+.endif
+
+# Create a bootstrap compiler tar ball: run this in an interactive poudriere jail
+.PHONY: create-bootstrap
+create-bootstrap:
+ cd ${WRKSRC} \
+ && ${ECHO} "BIN_DIST_NAME=ghc-${GHC_VERSION}-boot" >> mk/build.mk \
+ && ${ECHO} "BIN_DIST_TAR=ghc-${GHC_VERSION}-boot.tar" >> mk/build.mk \
+ && ${GMAKE} binary-dist TAR_COMP=xz \
+ && ${MV} ${WRKSRC}/ghc-${GHC_VERSION}-boot-${GHC_ARCH}-portbld-freebsd.tar.xz /tmp/ghc-${GHC_VERSION}-boot-${ARCH}-freebsd.tar.xz
+
+ cd /tmp \
+ && sha256 ghc-${GHC_VERSION}-boot-${ARCH}-freebsd.tar.xz \
+ && ${ECHO} -n "SIZE (ghc-${GHC_VERSION}-boot-${ARCH}-freebsd.tar.xz) = " \
+ && ${STAT} -f %z ghc-${GHC_VERSION}-boot-${ARCH}-freebsd.tar.xz
+
+# Much like create-bootstrap, just different naming and output format
+.PHONY: create-stack-bindist
+create-stack-bindist:
+ ${REINPLACE_CMD} -e '/^mandir/d' \
+ -e '/^infodir/d' \
+ -e '/^docdir/d' \
+ -e '/^htmldir/d' \
+ ${WRKSRC}/mk/build.mk
-CONFLICTS_INSTALL= ghc-7.4.* ghc-7.6.* ghc-7.8.* ghc-7.10.* ghc-8.0.* ghc-8.4.* ghc-8.6.2
+ cd ${WRKSRC} \
+ && ${GMAKE} binary-dist TAR_COMP=xz \
+ && ${MV} ${WRKSRC}/ghc-${GHC_VERSION}-${GHC_ARCH}-portbld-freebsd.tar.xz /tmp/
-.include "${.CURDIR}/../../lang/ghc/bsd.ghc.mk"
+ cd /tmp \
+ && ${ECHO} "${GHC_VERSION}:" \
+ && ${ECHO} "url: \"http://distcache.FreeBSD.org/local-distfiles/arrowd/stack-bindists/ghc-${GHC_VERSION}-${GHC_ARCH}-portbld-freebsd.tar.xz\"" \
+ && ${ECHO} -n "content-length: " \
+ && ${STAT} -f %z ghc-${GHC_VERSION}-${GHC_ARCH}-portbld-freebsd.tar.xz \
+ && ${ECHO} -n "sha1: " \
+ && sha1 -q ghc-${GHC_VERSION}-${GHC_ARCH}-portbld-freebsd.tar.xz \
+ && ${ECHO} -n "sha256: " \
+ && sha256 -q ghc-${GHC_VERSION}-${GHC_ARCH}-portbld-freebsd.tar.xz
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/lang/ghc/bsd.cabal.mk b/lang/ghc/bsd.cabal.mk
index 5edc00acff11..14996818a278 100644
--- a/lang/ghc/bsd.cabal.mk
+++ b/lang/ghc/bsd.cabal.mk
@@ -151,68 +151,19 @@ IGNORE?= dependency fail: ${__u_h_r_package} is part of lang/ghc
BUILD_DEPENDS+= ${dependencies}
-. if !defined(STANDALONE) || ${PORT_OPTIONS:MDYNAMIC}
+. if !defined(STANDALONE)
RUN_DEPENDS+= ${dependencies}
. endif
.endif
-.if ${PORT_OPTIONS:MDOCS}
-. if !defined(XMLDOCS)
-
-. if defined(HADDOCK_AVAILABLE)
-HADDOCK_OPTS= # empty
-
-. if ${PORT_OPTIONS:MHSCOLOUR}
-BUILD_DEPENDS+= HsColour:print/hs-hscolour
-
-HSCOLOUR_DATADIR= ${LOCALBASE}/share/cabal/ghc-${GHC_VERSION}/hscolour-${HSCOLOUR_VERSION}
-HADDOCK_OPTS+= --hyperlink-source --hscolour-css=${HSCOLOUR_DATADIR}/hscolour.css
-. endif # HSCOLOUR
-. endif # HADDOCK_AVAILABLE
-
-. endif # !XMLDOCS
-
-. if defined(XMLDOCS)
-BUILD_DEPENDS+= docbook-xsl>0:textproc/docbook-xsl \
- ${LOCALBASE}/bin/xsltproc:textproc/libxslt
-
-. if defined(XMLDOCS_CONF)
-BUILD_DEPENDS+= autoconf>0:devel/autoconf
-. endif
-
-USES+= gmake
-
-. endif # XMLDOCS
-
-.endif # DOCS
-
__handle_datadir__= --datadir='${DATADIR}' --datasubdir='' --docdir='${DOCSDIR}'
-.if defined(HADDOCK_AVAILABLE) && !defined(XMLDOCS) && ${PORT_OPTIONS:MDOCS}
-CONFIGURE_ARGS+= --haddock-options=-w --with-haddock=${HADDOCK_CMD}
-.endif
-
-.if ${PORT_OPTIONS:MDYNAMIC}
-CONFIGURE_ARGS+= --enable-shared --enable-executable-dynamic
-.else
-CONFIGURE_ARGS+= --disable-shared --disable-executable-dynamic
-.endif
-
-.if ${PORT_OPTIONS:MPROFILE}
-CONFIGURE_ARGS+= --enable-executable-profiling --enable-library-profiling
-.else
-CONFIGURE_ARGS+= --disable-profiling --disable-library-profiling
-.endif
+CONFIGURE_ARGS+= --disable-executable-dynamic \
+ --disable-profiling --disable-library-profiling
.SILENT:
-post-patch::
-.if defined(XMLDOCS) && defined(XMLDOCS_CONF)
- @${REINPLACE_CMD} -e 's|/usr/local/share/xsl/docbook|${LOCALBASE}/share/xsl/docbook|' \
- ${WRKSRC}/doc/configure.ac
-.endif
-
_BUILD_SETUP= ${GHC_CMD} -o ${SETUP_CMD} -package Cabal --make
.if !defined(METAPORT)
@@ -232,12 +183,6 @@ do-configure:
${ECHO_MSG} "===> ${PKGNAME} configure fails: no setup program could be created."; \
exit 1; \
fi
-
-. if ${PORT_OPTIONS:MDOCS}
-. if defined(XMLDOCS) && defined(XMLDOCS_CONF)
- cd ${WRKSRC}/doc && ${LOCALBASE}/bin/autoconf && ./configure --prefix=${PREFIX}
-. endif
-. endif # DOCS
. endif # target(do-configure)
.endif # !METAPORT
@@ -248,15 +193,6 @@ do-build:
. if !defined(STANDALONE)
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SETUP_CMD} register --gen-script
. endif
-
-. if ${PORT_OPTIONS:MDOCS}
-. if defined(HADDOCK_AVAILABLE) && !defined(XMLDOCS) && !defined(STANDALONE) && ${PORT_OPTIONS:MDOCS}
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SETUP_CMD} haddock ${HADDOCK_OPTS}
-. endif # STANDALONE
-. if defined(XMLDOCS)
- @(cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} html)
-. endif # XMLDOCS
-. endif # DOCS
. endif # target(do-build)
.endif # !METAPORT
@@ -296,13 +232,6 @@ do-install:
. endif # MAN${sect}SRC
. endfor
-. if ${PORT_OPTIONS:MDOCS}
-. if !empty(XMLDOCS)
-. for xmldoc in ${XMLDOCS}
- @(cd ${WRKSRC}/${xmldoc:C/:.*$//g} && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}/${xmldoc:C/^.*://g})
-. endfor
-. endif # XMLDOCS
-. endif # DOCS
. endif # target(do-install)
.endif # !METAPORT
@@ -328,18 +257,6 @@ add-plist-cabal:
@${ECHO_CMD} '@postunexec ${LOCALBASE}/bin/ghc-pkg unregister --no-user-package-db --force ${PORTNAME}-${PORTVERSION}' >> ${TMPPLIST}
. endif
-. if defined(HADDOCK_AVAILABLE) && ${PORT_OPTIONS:MDOCS}
-# GHC_LIB_DOCSDIR_REL= share/doc/ghc-${GHC_VERSION}/html/libraries
- (${ECHO} '@postexec ${LN} -s ${DOCSDIR}/html ${LOCALBASE}/${GHC_LIB_DOCSDIR_REL}/${PACKAGE} && \
- cd ${LOCALBASE}/${GHC_LIB_DOCSDIR_REL} && \
- ${RM} doc-index*.html && ./gen_contents_index') >> ${TMPPLIST}
- (${ECHO} '@postunexec ${RM} -r ${LOCALBASE}/${GHC_LIB_DOCSDIR_REL}/${PACKAGE}' ; \
- ${ECHO} '@postunexec cd ${LOCALBASE}/${GHC_LIB_DOCSDIR_REL} && \
- ${RM} doc-index*.html && ./gen_contents_index') >> ${TMPPLIST}
-# Don't install index files
- ${ECHO} "@comment share/doc/ghc-%%GHC_VERSION%%/html/libraries/index.html" >> ${TMPPLIST}
-. endif
-
. if !defined(STANDALONE)
@${ECHO_CMD} '@postexec ${SH} %D/${CABAL_LIBDIR_REL}/${CABAL_LIBSUBDIR}/register.sh > /dev/null' >> ${TMPPLIST}
. endif
diff --git a/lang/ghc/bsd.cabal.options.mk b/lang/ghc/bsd.cabal.options.mk
index a440bb2039da..382d2cae3083 100644
--- a/lang/ghc/bsd.cabal.options.mk
+++ b/lang/ghc/bsd.cabal.options.mk
@@ -20,30 +20,6 @@ HSCOLOUR_CMD?= ${LOCALBASE}/bin/HsColour
GHC_VERSION?= 8.6.3
-HSCOLOUR_VERSION= 1.24.4
-
-HSCOLOUR_DESC?= Colorize generated documentation by HsColour
-DYNAMIC_DESC?= Add support for dynamic linking
-PROFILE_DESC?= Add support for profiling
-
-.if (!exists(${GHC_CMD}) || exists(${LOCALBASE}/lib/ghc-${GHC_VERSION}/rts/libHSrts-ghc${GHC_VERSION}.so)) && !defined(IGNORE_DYNAMIC)
-OPTIONS_DEFINE+= DYNAMIC
-OPTIONS_DEFAULT+= DYNAMIC
-.endif
-
-.if (!exists(${GHC_CMD}) || exists(${LOCALBASE}/lib/ghc-${GHC_VERSION}/rts/libHSrts_p.a)) && !defined(IGNORE_PROFILE)
-OPTIONS_DEFINE+= PROFILE
-.endif
-
-.if ((!exists(${GHC_CMD}) || exists(${LOCALBASE}/lib/ghc-${GHC_VERSION}/html)) || exists(${HADDOCK_CMD})) && !defined(IGNORE_DOCS)
-OPTIONS_DEFINE+= DOCS
-HADDOCK_AVAILABLE= yes
-
-.if (${PORTNAME} != hscolour || exists(${HSCOLOUR_CMD})) && !defined(IGNORE_HSCOLOUR)
-OPTIONS_DEFINE+= HSCOLOUR
-.endif
-.endif
-
.if defined(OPTIONSMKINCLUDED)
IGNORE?= options fail: bsd.cabal.mk already includes bsd.options.mk
.endif
diff --git a/lang/ghc/bsd.ghc.mk b/lang/ghc/bsd.ghc.mk
deleted file mode 100644
index c275b50ca5aa..000000000000
--- a/lang/ghc/bsd.ghc.mk
+++ /dev/null
@@ -1,339 +0,0 @@
-# $FreeBSD$
-#
-# bsd.ghc.mk -- Common code for various versions of GHC ports.
-#
-# Maintained by: haskell@FreeBSD.org
-#
-
-ONLY_FOR_ARCHS= amd64 i386
-
-GHC_VERSION_MAJOR= ${GHC_VERSION:S/./ /g:[1]}
-GHC_VERSION_MINOR= ${GHC_VERSION:S/./ /g:[2]}
-
-.if ${GHC_VERSION_MAJOR} >= 8 && ${GHC_VERSION_MINOR} >= 6
-ONLY_FOR_ARCHS+= aarch64 armv6 armv7 powerpc64
-.endif
-
-DATADIR= ${PREFIX}/share/ghc-${GHC_VERSION}
-EXAMPLESDIR= ${PREFIX}/share/examples/ghc-${GHC_VERSION}
-
-USES= autoreconf gmake iconv:translit localbase:ldflags ncurses perl5 tar:xz
-USE_LOCALE= en_US.UTF-8
-USE_PERL5= build
-NO_CCACHE= ccache: error: Failed to create directory /nonexistent/.ccache/tmp: Permission denied
-
-# The configure process accepts,filters and canonicalises
-# the CONFIGURE_TARGET variable. You can read the files
-# ${WRKSRC}/configure and ${WRKSRC}/config.sub.
-# This is better fixed in files/build.mk.in
-GNU_CONFIGURE= yes
-
-CONFIGURE_ARGS= --with-iconv-includes=${LOCALBASE}/include \
- --with-iconv-libraries=${LOCALBASE}/lib
-# Turn off for a while, see PR 228727
-CONFIGURE_ARGS+= --enable-dtrace=0
-
-SUB_FILES= build.mk
-SUB_LIST= GHC_VERSION=${GHC_VERSION} \
- NCURSESINC="${NCURSESBASE}/include" NCURSESLIB="${NCURSESLIB}" \
- CFLAGS="${CFLAGS}"
-
-OPTIONS_GROUP= BOOTSTRAP
-BOOTSTRAP_DESC= Bootsrap using installed ghc
-OPTIONS_GROUP_BOOTSTRAP=BOOT
-OPTIONS_DEFINE= DYNAMIC GMP PROFILE DOCS
-OPTIONS_SUB= yes
-
-OPTIONS_DEFAULT= DYNAMIC PROFILE GMP
-
-BOOT_DESC= Use installed GHC for bootstrapping
-DOCS_DESC= Install HTML documentation
-DYNAMIC_DESC= Add support for dynamic linking
-GMP_DESC= Use GNU Multi-precision Library for big integers support
-PROFILE_DESC= Add support for performance profiling
-
-DOCS_BUILD_DEPENDS+= sphinx-build:textproc/py-sphinx
-
-DYNAMIC_CONFIGURE_WITH= system-libffi \
- ffi-includes=${LOCALBASE}/include \
- ffi-libraries=${LOCALBASE}/lib
-# The version number is needed as lang/gcc installs a different version
-DYNAMIC_LIB_DEPENDS= libffi.so.6:devel/libffi
-
-GMP_CONFIGURE_WITH= gmp-includes=${LOCALBASE}/include \
- gmp-libraries=${LOCALBASE}/lib
-GMP_LIB_DEPENDS= libgmp.so:math/gmp
-
-# Append substitutions for build.mk
-BOOT_SUB_LIST= HSC2HS=${LOCALBASE}/bin/hsc2hs
-BOOT_SUB_LIST_OFF= HSC2HS=${BOOT_HSC2HS}
-
-DOCS_SUB_LIST= WITH_DOCS="YES"
-DOCS_SUB_LIST_OFF= WITH_DOCS="NO"
-
-DYNAMIC_SUB_LIST= WITH_DYNAMIC="YES"
-DYNAMIC_SUB_LIST_OFF= WITH_DYNAMIC="NO"
-
-GMP_SUB_LIST= INTEGER_LIBRARY="integer-gmp"
-GMP_SUB_LIST_OFF= INTEGER_LIBRARY="integer-simple"
-
-PROFILE_SUB_LIST= WITH_PROFILE="YES"
-PROFILE_SUB_LIST_OFF= WITH_PROFILE="NO"
-
-LOCALBASE?= /usr/local
-PLIST?= ${.CURDIR}/../../lang/ghc/pkg-plist
-
-GHC_ARCH= ${ARCH:S/amd64/x86_64/:C/armv.*/arm/}
-
-.include <bsd.port.options.mk>
-
-.if empty(PORT_OPTIONS:MBOOT)
-. if ${ARCH} == amd64 || ${ARCH} == i386
-BOOT_GHC_VERSION= 8.4.3
-. else
-BOOT_GHC_VERSION= 8.6.3
-. endif
-
-# When GHC being compiled and GHC used for bootstrapping support different
-# LLVM versions, we have to pull in both. Luckily, this is relatively rare.
-. if ${ARCH} == aarch64 || ${ARCH} == armv6 || ${ARCH} == armv7
-# LLVM version that bootstrap compiler uses
-BOOT_LLVM_VERSION= 60
-
-. if ${BOOT_LLVM_VERSION} != ${LLVM_VERSION}
-BUILD_DEPENDS+= llc${BOOT_LLVM_VERSION}:devel/llvm${BOOT_LLVM_VERSION}
-RUN_DEPENDS+= llc${BOOT_LLVM_VERSION}:devel/llvm${BOOT_LLVM_VERSION}
-. endif
-. endif
-
-DISTFILES+= ghc-${BOOT_GHC_VERSION}-boot-${ARCH}-freebsd${EXTRACT_SUFX}:boot
-.endif # MBOOT
-
-.if ${ARCH} == aarch64 || ${ARCH} == armv6 || ${ARCH} == armv7
-# CONFIGURE_TARGET must to be the same as the llvm triple
-CONFIGURE_TARGET= ${ARCH}-unknown-freebsd${"${ARCH:Maarch64}" != "":?:-gnueabihf}
-CONFIGURE_ENV+= STRIP=${LOCALBASE}/bin/strip
-EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-aclocal.m4
-BUILD_DEPENDS+= ld.gold:devel/binutils \
- llc${LLVM_VERSION}:devel/llvm${LLVM_VERSION}
-RUN_DEPENDS+= ld.gold:devel/binutils \
- llc${LLVM_VERSION}:devel/llvm${LLVM_VERSION}
-USE_GCC= yes
-
-. if ${OSVERSION} < 1200064
-IGNORE= lang/ghc on ARM requires at least __FreeBSD_version 1200064
-. endif
-
-. ifdef QEMU_EMULATING
-IGNORE= qemu-user-static isn't able to build lang/ghc, but it builds fine on a real hardware
-. endif
-.endif
-
-.if ${ARCH} == powerpc64
-USE_GCC= yes
-CONFIGURE_ENV+= STRIP=${LOCALBASE}/bin/strip
-
-. if ${OSVERSION} < 1200086
-IGNORE= lang/ghc on powerpc64 requires at least __FreeBSD_version 1200086
-. endif
-.endif
-
-CONFIGURE_ENV+= CC=${CC} LD=${LD}
-
-DOCSDIR= ${PREFIX}/share/doc/${DISTNAME}
-GHC_LIBDIR= ${STAGEDIR}${PREFIX}/lib/ghc-${GHC_VERSION}
-GHC_LIBDIR_REL= lib/ghc-${GHC_VERSION}
-
-PLIST_SUB+= GHC_VERSION=${GHC_VERSION} GHC_LIBDIR=${GHC_LIBDIR_REL}
-
-HACKAGE_SITE?= http://hackage.haskell.org/package/
-
-.if empty(PORT_OPTIONS:MBOOT)
-BOOT_DIR= ${WRKDIR}/ghc-${BOOT_GHC_VERSION}-boot
-BOOT_GHC= ${BOOT_DIR}/bin/ghc-${BOOT_GHC_VERSION}
-BOOT_GHC-PKG= ${BOOT_DIR}/bin/ghc-pkg-${BOOT_GHC_VERSION}
-BOOT_HSC2HS= ${BOOT_DIR}/bin/hsc2hs
-
-SLAVE_CMD= ${SETENV} PATH=${BOOT_DIR}/bin:${PATH}
-
-CONFIGURE_ARGS_BOOT+= --prefix=${BOOT_DIR}
-CONFIGURE_ARGS+= --with-ghc=${BOOT_GHC}
-.else # MBOOT
-SLAVE_CMD= # empty
-CONFIGURE_ARGS+= --with-ghc=${LOCALBASE}/bin/ghc
-.endif # MBOOT
-
-# override TMPDIR because /tmp often doesn't have enough space
-# to build some of the larger libraries.
-TMPDIR= ${WRKSRC}/tmp
-
-# Defining with documentation:
-# An in place installation and registration of hscolour will be
-# activated. In this way it's possible to use it directly into
-# the build tree, without needing to install it. At the end
-# you could view the output of: ${BOOT_GHC} describe hscolour
-
-SLAVES_PREFIX= ${WRKDIR}/slaves_prefix
-SLAVES_WRKDIRPREFIX= ${WRKDIR}/slaves_wrkdirprefix
-
-MAKE_ENV+= PATH=${SLAVES_PREFIX}/bin:${PATH}
-CONFIGURE_ENV+= PATH=${SLAVES_PREFIX}/bin:${PATH}
-
-post-extract:
-# Use the "wrap" trick on arches that have to use pre-ino64 bootstrap binaries
-.if empty(PORT_OPTIONS:MBOOT) && ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200031 && \
- (${ARCH} == amd64 || ${ARCH} == i386)
- @${REINPLACE_CMD} -e 's|@SettingsCCompilerLinkFlags@|& -Wl,--wrap=readdir_r,--wrap=stat,--wrap=lstat,--wrap=fstat,--wrap=mknod|' ${BOOT_DIR}/settings.in
-.endif
-
-# %%PORTDOCS%%%%DOCSDIR%%/html/libraries/doc-index-V.html
-post-install-script:
- ${FIND} -ds ${GHC_LIBDIR} -type f -print | ${SED} -E \
- -e 's,^${STAGEDIR}${PREFIX}/?,,' \
- -e '/^${GHC_LIBDIR:C/\//\\\//g}\/package.conf.d\/package\.cache/s|^|@comment |g' \
- >> ${TMPPLIST}
- ${FIND} -ds ${STAGEDIR}${DOCSDIR} -type f -print | ${SED} -E \
- -e 's,^${STAGEDIR}${PREFIX}/?,,' \
- -e '/^${STAGEDIR:C/\//\\\//g}${DOCSDIR:C/\//\\\//g}\/html\/libraries\/doc-index-[^.]+\.html/s|^|@comment |g' \
- -e '/^${STAGEDIR:C/\//\\\//g}${DOCSDIR:C/\//\\\//g}\/html\/libraries\/index[^\/.]*\.html/s|^|@comment|g' \
- -e '/^${STAGEDIR:C/\//\\\//g}${DOCSDIR:C/\//\\\//g}\/html\/libraries\/[^\/]+\.png/s|^|@comment |g' \
- >> ${TMPPLIST}
-.if ${PORT_OPTIONS:MDOCS}
- # Cleanup the indexen created by gen_contents_index
- ${ECHO} "@postunexec ${RM} %D/${DOCSDIR_REL}/html/libraries/doc-index-*.html" >> ${TMPPLIST}
- ${ECHO} "@postunexec ${RM} %D/${DOCSDIR_REL}/html/libraries/index*.html" >> ${TMPPLIST}
- ${ECHO} "@postunexec ${RM} %D/${DOCSDIR_REL}/html/libraries/*.png" >> ${TMPPLIST}
-.endif
- ${ECHO} '@postunexec ${RM} %D/${GHC_LIBDIR_REL}/package.conf.d/package.cache' >>${TMPPLIST}
- ${ECHO} "@postexec %D/bin/ghc-pkg recache" >>${TMPPLIST}
-.if ${PORT_OPTIONS:MDOCS}
- ${ECHO} '@postexec ${SH} -c "cd %D/${DOCSDIR_REL}/html/libraries && ./gen_contents_index"' >> ${TMPPLIST}
-.endif
-
-post-patch:
- @${REINPLACE_CMD} -e 's|%%CC%%|${CC}|; \
- s|%%AR%%|${AR}|; \
- s|%%LD%%|${LD}|' \
- ${WRKSRC}/libraries/Cabal/Cabal/Distribution/Simple/Program/Builtin.hs
-# we must use binutils:ld on arm
-.if ${ARCH} == aarch64 || ${ARCH} == armv6 || ${ARCH} == armv7
- @${REINPLACE_CMD} -e 's|LD_NO_GOLD=ld|LD_NO_GOLD=${LOCALBASE}/bin/ld|' \
- ${WRKSRC}/aclocal.m4
-.endif
-
- @${REINPLACE_CMD} -e 's/@SettingsLlcCommand@/llc${LLVM_VERSION}/' ${WRKSRC}/settings.in
- @${REINPLACE_CMD} -e 's/@SettingsOptCommand@/opt${LLVM_VERSION}/' ${WRKSRC}/settings.in
-
-.if empty(PORT_OPTIONS:MBOOT)
- @${REINPLACE_CMD} -e '/^mandir/d' ${BOOT_DIR}/mk/build.mk
- @${REINPLACE_CMD} -e '/^infodir/d' ${BOOT_DIR}/mk/build.mk
- @${REINPLACE_CMD} -e '/^docdir/d' ${BOOT_DIR}/mk/build.mk
- @${REINPLACE_CMD} -e '/^htmldir/d' ${BOOT_DIR}/mk/build.mk
-.endif
-
-pre-configure: apply-slist
- # Copy the subbed build.mk to the proper position
- ${CP} ${WRKDIR}/build.mk ${WRKSRC}/mk/build.mk
-
- @${MKDIR} ${TMPDIR}
-.if empty(PORT_OPTIONS:MBOOT) && ${OPSYS} == FreeBSD && \
- ${OSVERSION} >= 1200031 && \
- (${ARCH} == amd64 || ${ARCH} == i386)
- ${CC} ${CFLAGS} -c -o ${BOOT_DIR}/wrap.o ${PATCHDIR}/wrap.c
- for x in ${BOOT_DIR}/rts/dist/build/libCffi*.a; do \
- ${AR} q $$x ${BOOT_DIR}/wrap.o; ${RANLIB} $$x; \
- done
- rm ${BOOT_DIR}/wrap.o
-.endif # Do not merge, prev condition need to grow OSVER check.
-.if empty(PORT_OPTIONS:MBOOT)
- @(cd ${BOOT_DIR} && ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS_BOOT})
- @(cd ${BOOT_DIR} && PACKAGES='' ${MAKE_CMD} install)
-.endif
-
-.if ${PORT_OPTIONS:MDOCS}
- @${ECHO_MSG} -e "\a"
- @${ECHO_MSG} "======================================================================"
- @${ECHO_MSG} " WARNING: Now HsColour will be built, the respective port will not "
- @${ECHO_MSG} " be installed, but an in-place installation and "
- @${ECHO_MSG} " registration of both takes place. "
- @${ECHO_MSG} "======================================================================"
- @${ECHO_MSG} ""
-. if !(defined(PACKAGE_BUILDING) || defined(BATCH))
- @sleep 3
-. endif
-
- @${MKDIR} ${SLAVES_PREFIX}
- @${MKDIR} ${SLAVES_WRKDIRPREFIX}
-
- @(cd ${SLAVES_WRKDIRPREFIX} && \
- ${TAR} xvf ${DISTDIR}/hscolour-${HSCOLOUR_VERSION}.tar.gz && \
- cd hscolour-${HSCOLOUR_VERSION} && \
- ${SLAVE_CMD} ghc --make -o Setup Setup.hs -package Cabal && \
- ${SLAVE_CMD} ./Setup configure --ghc --prefix=${SLAVES_PREFIX} --with-gcc=${CC} --with-ld=${LD} && \
- ${SLAVE_CMD} ./Setup build && \
- ${SLAVE_CMD} ./Setup install)
-.endif
-
-_EXECUTABLES= ${GHC_LIBDIR}/bin/unlit \
- ${GHC_LIBDIR}/bin/hpc \
- ${GHC_LIBDIR}/bin/ghc-iserv \
- ${GHC_LIBDIR}/bin/ghc-pkg \
- ${GHC_LIBDIR}/bin/hsc2hs \
- ${GHC_LIBDIR}/bin/runghc \
- ${GHC_LIBDIR}/bin/ghc \
- ${GHC_LIBDIR}/bin/hp2ps
-
-.if ${PORT_OPTIONS:MPROFILE}
-_EXECUTABLES+= ${GHC_LIBDIR}/bin/ghc-iserv-prof
-.endif
-.if ${PORT_OPTIONS:MDYNAMIC}
-_EXECUTABLES+= ${GHC_LIBDIR}/bin/ghc-iserv-dyn
-.endif
-.if ${PORT_OPTIONS:MDOCS}
-_EXECUTABLES+= ${GHC_LIBDIR}/bin/haddock
-.endif
-
-post-install:
- ${RM} ${STAGEDIR}${PREFIX}/bin/haddock
-.if ${PORT_OPTIONS:MDOCS}
- ${LN} -sf haddock-ghc-${GHC_VERSION} ${STAGEDIR}${PREFIX}/bin/haddock
-.endif
- (for f in ${_EXECUTABLES} $$(${FIND} ${GHC_LIBDIR} -name '*.so*'); do \
- ${STRIP_CMD} $$f; done)
-
-# Create a bootstrap compiler tar ball: run this in an interactive poudriere jail
-.PHONY: create-bootstrap
-create-bootstrap:
- cd ${WRKSRC} \
- && ${ECHO} "BIN_DIST_NAME=ghc-${GHC_VERSION}-boot" >> mk/build.mk \
- && ${ECHO} "BIN_DIST_TAR=ghc-${GHC_VERSION}-boot.tar" >> mk/build.mk \
- && gmake binary-dist TAR_COMP=xz \
- && ${MV} ${WRKSRC}/ghc-${GHC_VERSION}-boot-${GHC_ARCH}-portbld-freebsd.tar.xz /tmp/ghc-${GHC_VERSION}-boot-${ARCH}-freebsd.tar.xz
-
- cd /tmp \
- && sha256 ghc-${GHC_VERSION}-boot-${ARCH}-freebsd.tar.xz \
- && ${ECHO} -n "SIZE (ghc-${GHC_VERSION}-boot-${ARCH}-freebsd.tar.xz) = " \
- && ${STAT} -f %z ghc-${GHC_VERSION}-boot-${ARCH}-freebsd.tar.xz
-
-# Much like create-bootstrap, just different naming and output format
-.PHONY: create-stack-bindist
-create-stack-bindist:
- ${REINPLACE_CMD} -e '/^mandir/d' \
- -e '/^infodir/d' \
- -e '/^docdir/d' \
- -e '/^htmldir/d' \
- ${WRKSRC}/mk/build.mk
-
- cd ${WRKSRC} \
- && gmake binary-dist TAR_COMP=xz \
- && ${MV} ${WRKSRC}/ghc-${GHC_VERSION}-${GHC_ARCH}-portbld-freebsd.tar.xz /tmp/
-
- cd /tmp \
- && ${ECHO} "${GHC_VERSION}:" \
- && ${ECHO} "url: \"http://distcache.FreeBSD.org/local-distfiles/arrowd/stack-bindists/ghc-${GHC_VERSION}-${GHC_ARCH}-portbld-freebsd.tar.xz\"" \
- && ${ECHO} -n "content-length: " \
- && ${STAT} -f %z ghc-${GHC_VERSION}-${GHC_ARCH}-portbld-freebsd.tar.xz \
- && ${ECHO} -n "sha1: " \
- && sha1 -q ghc-${GHC_VERSION}-${GHC_ARCH}-portbld-freebsd.tar.xz \
- && ${ECHO} -n "sha256: " \
- && sha256 -q ghc-${GHC_VERSION}-${GHC_ARCH}-portbld-freebsd.tar.xz
diff --git a/lang/ghc/distinfo b/lang/ghc/distinfo
index 5aefc73f5abe..3921a2ced2af 100644
--- a/lang/ghc/distinfo
+++ b/lang/ghc/distinfo
@@ -1,12 +1,16 @@
TIMESTAMP = 1541010523
SHA256 (ghc-8.6.3-src.tar.xz) = 9f9e37b7971935d88ba80426c36af14b1e0b3ec1d9c860f44a4391771bc07f23
SIZE (ghc-8.6.3-src.tar.xz) = 19138116
+SHA256 (ghc-8.6.2-src.tar.xz) = caaa819d21280ecde90a4773143dee188711e9ff175a27cfbaee56eb851d76d5
+SIZE (ghc-8.6.2-src.tar.xz) = 19024236
+SHA256 (ghc-8.4.4-src.tar.xz) = 11117735a58e507c481c09f3f39ae5a314e9fbf49fc3109528f99ea7959004b2
+SIZE (ghc-8.4.4-src.tar.xz) = 11319500
+SHA256 (ghc-8.4.3-src.tar.xz) = ae47afda985830de8811243255aa3744dfb9207cb980af74393298b2b62160d6
+SIZE (ghc-8.4.3-src.tar.xz) = 11315068
SHA256 (ghc-8.4.3-boot-amd64-freebsd.tar.xz) = 0e0324a539d471a813ed4d18c537fb19be22a4e250bd5434a3a911b9d5343724
SIZE (ghc-8.4.3-boot-amd64-freebsd.tar.xz) = 67718400
SHA256 (ghc-8.4.3-boot-i386-freebsd.tar.xz) = 65fcd48b1c0166e028b3f6d50ad295525e6b84490da82663ec66165e57e87972
SIZE (ghc-8.4.3-boot-i386-freebsd.tar.xz) = 66143592
-SHA256 (hscolour-1.24.4.tar.gz) = 243332b082294117f37b2c2c68079fa61af68b36223b3fc07594f245e0e5321d
-SIZE (hscolour-1.24.4.tar.gz) = 28729
SHA256 (ghc-8.6.3-boot-aarch64-freebsd.tar.xz) = 5a1f043ada7262cf4eac4a900b7d5af965e5f6f89939e635ad0c10b0185a15b7
SIZE (ghc-8.6.3-boot-aarch64-freebsd.tar.xz) = 104631584
SHA256 (ghc-8.6.3-boot-armv6-freebsd.tar.xz) = 5260987646c9f6102f35a7cdedfde785227c4f317fb3ccc52d06cae6a0950a68
@@ -15,3 +19,5 @@ SHA256 (ghc-8.6.3-boot-armv7-freebsd.tar.xz) = 765d01199ceb0dfa5c84de692cec427e6
SIZE (ghc-8.6.3-boot-armv7-freebsd.tar.xz) = 114046668
SHA256 (ghc-8.6.3-boot-powerpc64-freebsd.tar.xz) = fb9bd4bad3a54722b7012c0a531cbdfe71b3b20a0b92cbd52195a526dc5ccde4
SIZE (ghc-8.6.3-boot-powerpc64-freebsd.tar.xz) = 112652192
+SHA256 (hscolour-1.24.4.tar.gz) = 243332b082294117f37b2c2c68079fa61af68b36223b3fc07594f245e0e5321d
+SIZE (hscolour-1.24.4.tar.gz) = 28729
diff --git a/lang/ghc843/files/build.mk.in b/lang/ghc/files843/build.mk.in
index 88b9aee33cc3..88b9aee33cc3 100644
--- a/lang/ghc843/files/build.mk.in
+++ b/lang/ghc/files843/build.mk.in
diff --git a/lang/ghc843/files/extra-patch-aclocal.m4 b/lang/ghc/files843/extra-patch-aclocal.m4
index 8adc3e28b4e3..8adc3e28b4e3 100644
--- a/lang/ghc843/files/extra-patch-aclocal.m4
+++ b/lang/ghc/files843/extra-patch-aclocal.m4
diff --git a/lang/ghc843/files/patch-configure b/lang/ghc/files843/patch-configure
index a3ff7aea111a..a3ff7aea111a 100644
--- a/lang/ghc843/files/patch-configure
+++ b/lang/ghc/files843/patch-configure
diff --git a/lang/ghc843/files/patch-configure.ac b/lang/ghc/files843/patch-configure.ac
index 4d19057acf95..4d19057acf95 100644
--- a/lang/ghc843/files/patch-configure.ac
+++ b/lang/ghc/files843/patch-configure.ac
diff --git a/lang/ghc843/files/patch-ghc.mk b/lang/ghc/files843/patch-ghc.mk
index 8ab4d6e13130..8ab4d6e13130 100644
--- a/lang/ghc843/files/patch-ghc.mk
+++ b/lang/ghc/files843/patch-ghc.mk
diff --git a/lang/ghc843/files/patch-libraries__Cabal__Cabal__Distribution__Simple__Program__Builtin.hs b/lang/ghc/files843/patch-libraries__Cabal__Cabal__Distribution__Simple__Program__Builtin.hs
index 96b536dc0eab..96b536dc0eab 100644
--- a/lang/ghc843/files/patch-libraries__Cabal__Cabal__Distribution__Simple__Program__Builtin.hs
+++ b/lang/ghc/files843/patch-libraries__Cabal__Cabal__Distribution__Simple__Program__Builtin.hs
diff --git a/lang/ghc843/files/patch-llvm-targets b/lang/ghc/files843/patch-llvm-targets
index 8ea0574f54a7..8ea0574f54a7 100644
--- a/lang/ghc843/files/patch-llvm-targets
+++ b/lang/ghc/files843/patch-llvm-targets
diff --git a/lang/ghc843/files/wrap.c b/lang/ghc/files843/wrap.c
index d818d9a3744b..d818d9a3744b 100644
--- a/lang/ghc843/files/wrap.c
+++ b/lang/ghc/files843/wrap.c
diff --git a/lang/ghc844/files/build.mk.in b/lang/ghc/files844/build.mk.in
index 88b9aee33cc3..88b9aee33cc3 100644
--- a/lang/ghc844/files/build.mk.in
+++ b/lang/ghc/files844/build.mk.in
diff --git a/lang/ghc844/files/extra-patch-aclocal.m4 b/lang/ghc/files844/extra-patch-aclocal.m4
index 8adc3e28b4e3..8adc3e28b4e3 100644
--- a/lang/ghc844/files/extra-patch-aclocal.m4
+++ b/lang/ghc/files844/extra-patch-aclocal.m4
diff --git a/lang/ghc844/files/patch-configure b/lang/ghc/files844/patch-configure
index a3ff7aea111a..a3ff7aea111a 100644
--- a/lang/ghc844/files/patch-configure
+++ b/lang/ghc/files844/patch-configure
diff --git a/lang/ghc844/files/patch-configure.ac b/lang/ghc/files844/patch-configure.ac
index 92938ebf64f9..92938ebf64f9 100644
--- a/lang/ghc844/files/patch-configure.ac
+++ b/lang/ghc/files844/patch-configure.ac
diff --git a/lang/ghc844/files/patch-fix-build-on-arm b/lang/ghc/files844/patch-fix-build-on-arm
index 824d6bae07b5..824d6bae07b5 100644
--- a/lang/ghc844/files/patch-fix-build-on-arm
+++ b/lang/ghc/files844/patch-fix-build-on-arm
diff --git a/lang/ghc844/files/patch-ghc.mk b/lang/ghc/files844/patch-ghc.mk
index 8ab4d6e13130..8ab4d6e13130 100644
--- a/lang/ghc844/files/patch-ghc.mk
+++ b/lang/ghc/files844/patch-ghc.mk
diff --git a/lang/ghc844/files/patch-libraries__Cabal__Cabal__Distribution__Simple__Program__Builtin.hs b/lang/ghc/files844/patch-libraries__Cabal__Cabal__Distribution__Simple__Program__Builtin.hs
index 96b536dc0eab..96b536dc0eab 100644
--- a/lang/ghc844/files/patch-libraries__Cabal__Cabal__Distribution__Simple__Program__Builtin.hs
+++ b/lang/ghc/files844/patch-libraries__Cabal__Cabal__Distribution__Simple__Program__Builtin.hs
diff --git a/lang/ghc844/files/patch-llvm-targets b/lang/ghc/files844/patch-llvm-targets
index c66e44cda054..c66e44cda054 100644
--- a/lang/ghc844/files/patch-llvm-targets
+++ b/lang/ghc/files844/patch-llvm-targets
diff --git a/lang/ghc844/files/patch-rts_posix_OSMem.c b/lang/ghc/files844/patch-rts_posix_OSMem.c
index dce26edcfced..dce26edcfced 100644
--- a/lang/ghc844/files/patch-rts_posix_OSMem.c
+++ b/lang/ghc/files844/patch-rts_posix_OSMem.c
diff --git a/lang/ghc844/files/wrap.c b/lang/ghc/files844/wrap.c
index d818d9a3744b..d818d9a3744b 100644
--- a/lang/ghc844/files/wrap.c
+++ b/lang/ghc/files844/wrap.c
diff --git a/lang/ghc862/files/build.mk.in b/lang/ghc/files862/build.mk.in
index 88b9aee33cc3..88b9aee33cc3 100644
--- a/lang/ghc862/files/build.mk.in
+++ b/lang/ghc/files862/build.mk.in
diff --git a/lang/ghc862/files/extra-patch-aclocal.m4 b/lang/ghc/files862/extra-patch-aclocal.m4
index 5e674d2f9556..5e674d2f9556 100644
--- a/lang/ghc862/files/extra-patch-aclocal.m4
+++ b/lang/ghc/files862/extra-patch-aclocal.m4
diff --git a/lang/ghc862/files/patch-configure.ac b/lang/ghc/files862/patch-configure.ac
index 92938ebf64f9..92938ebf64f9 100644
--- a/lang/ghc862/files/patch-configure.ac
+++ b/lang/ghc/files862/patch-configure.ac
diff --git a/lang/ghc862/files/patch-ghc.mk b/lang/ghc/files862/patch-ghc.mk
index 25e8affef3f9..25e8affef3f9 100644
--- a/lang/ghc862/files/patch-ghc.mk
+++ b/lang/ghc/files862/patch-ghc.mk
diff --git a/lang/ghc862/files/patch-libraries__Cabal__Cabal__Distribution__Simple__Program__Builtin.hs b/lang/ghc/files862/patch-libraries__Cabal__Cabal__Distribution__Simple__Program__Builtin.hs
index 96b536dc0eab..96b536dc0eab 100644
--- a/lang/ghc862/files/patch-libraries__Cabal__Cabal__Distribution__Simple__Program__Builtin.hs
+++ b/lang/ghc/files862/patch-libraries__Cabal__Cabal__Distribution__Simple__Program__Builtin.hs
diff --git a/lang/ghc862/files/patch-ppc64 b/lang/ghc/files862/patch-ppc64
index 59e4bde9ef4a..59e4bde9ef4a 100644
--- a/lang/ghc862/files/patch-ppc64
+++ b/lang/ghc/files862/patch-ppc64
diff --git a/lang/ghc862/files/wrap.c b/lang/ghc/files862/wrap.c
index d818d9a3744b..d818d9a3744b 100644
--- a/lang/ghc862/files/wrap.c
+++ b/lang/ghc/files862/wrap.c
diff --git a/lang/ghc/pkg-plist b/lang/ghc/pkg-plist
index 5f7bb8be6046..2a776933eb6c 100644
--- a/lang/ghc/pkg-plist
+++ b/lang/ghc/pkg-plist
@@ -3,15 +3,12 @@ bin/ghci
bin/ghc-pkg
bin/runhaskell
bin/runghc
-%%DOCS%%bin/haddock
+bin/haddock-ghc-%%GHC_VERSION%%
bin/hp2ps
bin/hpc
bin/hsc2hs
bin/ghc-%%GHC_VERSION%%
bin/ghci-%%GHC_VERSION%%
bin/ghc-pkg-%%GHC_VERSION%%
-%%DOCS%%bin/haddock-ghc-%%GHC_VERSION%%
bin/runghc-%%GHC_VERSION%%
%%DOCS%%man/man1/ghc.1.gz
-%%DOCS%%@postexec /bin/ln -sf %D/bin/haddock-ghc-%%GHC_VERSION%% %D/bin/haddock || return true
-%%DOCS%%@postunexec /bin/rm -f %D/bin/haddock || return true
diff --git a/lang/ghc843/Makefile b/lang/ghc843/Makefile
deleted file mode 100644
index 8a8a17ff4d64..000000000000
--- a/lang/ghc843/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-# Created by: Simon Marlow <simonmar@microsoft.com>
-# $FreeBSD$
-
-PORTNAME= ghc
-PORTVERSION= ${GHC_VERSION}
-PORTREVISION= 1
-CATEGORIES= lang haskell
-MASTER_SITES= http://www.haskell.org/ghc/dist/${PORTVERSION}/:source \
- LOCAL/arrowd/:boot \
- ${HACKAGE_SITE}hscolour-${HSCOLOUR_VERSION}/:docs
-PKGNAMESUFFIX= 843
-
-DISTFILES= ghc-${PORTVERSION}-src${EXTRACT_SUFX}:source \
- hscolour-${HSCOLOUR_VERSION}.tar.gz:docs
-EXTRACT_ONLY= ${_DISTFILES:C/hscolour.*$//g}
-
-MAINTAINER= haskell@FreeBSD.org
-COMMENT= Compiler for the functional language Haskell
-
-LICENSE= BSD3CLAUSE
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-GHC_VERSION= 8.4.3
-HSCOLOUR_VERSION= 1.24.4
-LLVM_VERSION= 60
-
-CONFLICTS_INSTALL= ghc-7.4.* ghc-7.6.* ghc-7.8.* ghc-7.10.* ghc-8.0.* ghc-8.4.4
-
-.include "${.CURDIR}/../../lang/ghc/bsd.ghc.mk"
-
-.include <bsd.port.mk>
diff --git a/lang/ghc843/distinfo b/lang/ghc843/distinfo
deleted file mode 100644
index 0662f4deab03..000000000000
--- a/lang/ghc843/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-TIMESTAMP = 1530033472
-SHA256 (ghc-8.4.3-src.tar.xz) = ae47afda985830de8811243255aa3744dfb9207cb980af74393298b2b62160d6
-SIZE (ghc-8.4.3-src.tar.xz) = 11315068
-SHA256 (ghc-8.4.3-boot-amd64-freebsd.tar.xz) = 0e0324a539d471a813ed4d18c537fb19be22a4e250bd5434a3a911b9d5343724
-SIZE (ghc-8.4.3-boot-amd64-freebsd.tar.xz) = 67718400
-SHA256 (ghc-8.4.3-boot-i386-freebsd.tar.xz) = 65fcd48b1c0166e028b3f6d50ad295525e6b84490da82663ec66165e57e87972
-SIZE (ghc-8.4.3-boot-i386-freebsd.tar.xz) = 66143592
-SHA256 (hscolour-1.24.4.tar.gz) = 243332b082294117f37b2c2c68079fa61af68b36223b3fc07594f245e0e5321d
-SIZE (hscolour-1.24.4.tar.gz) = 28729
diff --git a/lang/ghc843/pkg-descr b/lang/ghc843/pkg-descr
deleted file mode 100644
index 520a29318997..000000000000
--- a/lang/ghc843/pkg-descr
+++ /dev/null
@@ -1,20 +0,0 @@
-The Glasgow Haskell Compiler is a state-of-the-art, open source, compiler and
-interactive environment for the functional language Haskell. Highlights:
-
- * Supports the entire Haskell 2010 language plus a wide variety of
- extensions.
- * Has particularly good support for concurrency and parallelism, including
- support for Software Transactional Memory (STM).
- * Generates fast code, particularly for concurrent programs.
- * Works on several platforms including FreeBSD, Windows, Mac, Linux, most
- varieties of Unix, and several different processor architectures.
- * Has extensive optimisation capabilities, including inter-module optimisation.
- * Compiles Haskell code either directly to native code or using LLVM as a
- back-end. It can also generate C code as an intermediate target for porting
- to new platforms. The interactive environment compiles Haskell to bytecode,
- and supports execution of mixed bytecode/compiled programs.
- * Profiling is supported, both by time/allocation and various kinds of heap
- profiling.
- * Comes with several libraries, and thousands more are available on Hackage.
-
-WWW: http://www.haskell.org/ghc/
diff --git a/lang/ghc844/Makefile b/lang/ghc844/Makefile
deleted file mode 100644
index 12ec6cc27e95..000000000000
--- a/lang/ghc844/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-# $FreeBSD$
-
-PORTNAME= ghc
-PORTVERSION= ${GHC_VERSION}
-CATEGORIES= lang haskell
-MASTER_SITES= http://www.haskell.org/ghc/dist/${PORTVERSION}/:source \
- LOCAL/arrowd/:boot \
- ${HACKAGE_SITE}hscolour-${HSCOLOUR_VERSION}/:docs
-PKGNAMESUFFIX= ${GHC_VERSION:S/.//g}
-
-DISTFILES= ghc-${PORTVERSION}-src${EXTRACT_SUFX}:source \
- hscolour-${HSCOLOUR_VERSION}.tar.gz:docs
-EXTRACT_ONLY= ${_DISTFILES:C/hscolour.*$//g}
-
-MAINTAINER= haskell@FreeBSD.org
-COMMENT= Compiler for the functional language Haskell
-
-LICENSE= BSD3CLAUSE
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-GHC_VERSION= 8.4.4
-HSCOLOUR_VERSION= 1.24.4
-LLVM_VERSION= 60
-
-CONFLICTS_INSTALL= ghc-7.4.* ghc-7.6.* ghc-7.8.* ghc-7.10.* ghc-8.0.* ghc-8.4.3
-
-.include "${.CURDIR}/../../lang/ghc/bsd.ghc.mk"
-
-.include <bsd.port.mk>
diff --git a/lang/ghc844/distinfo b/lang/ghc844/distinfo
deleted file mode 100644
index 06b6a3b0ece1..000000000000
--- a/lang/ghc844/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-TIMESTAMP = 1541010522
-SHA256 (ghc-8.4.4-src.tar.xz) = 11117735a58e507c481c09f3f39ae5a314e9fbf49fc3109528f99ea7959004b2
-SIZE (ghc-8.4.4-src.tar.xz) = 11319500
-SHA256 (ghc-8.4.3-boot-amd64-freebsd.tar.xz) = 0e0324a539d471a813ed4d18c537fb19be22a4e250bd5434a3a911b9d5343724
-SIZE (ghc-8.4.3-boot-amd64-freebsd.tar.xz) = 67718400
-SHA256 (ghc-8.4.3-boot-i386-freebsd.tar.xz) = 65fcd48b1c0166e028b3f6d50ad295525e6b84490da82663ec66165e57e87972
-SIZE (ghc-8.4.3-boot-i386-freebsd.tar.xz) = 66143592
-SHA256 (hscolour-1.24.4.tar.gz) = 243332b082294117f37b2c2c68079fa61af68b36223b3fc07594f245e0e5321d
-SIZE (hscolour-1.24.4.tar.gz) = 28729
diff --git a/lang/ghc844/pkg-descr b/lang/ghc844/pkg-descr
deleted file mode 100644
index 520a29318997..000000000000
--- a/lang/ghc844/pkg-descr
+++ /dev/null
@@ -1,20 +0,0 @@
-The Glasgow Haskell Compiler is a state-of-the-art, open source, compiler and
-interactive environment for the functional language Haskell. Highlights:
-
- * Supports the entire Haskell 2010 language plus a wide variety of
- extensions.
- * Has particularly good support for concurrency and parallelism, including
- support for Software Transactional Memory (STM).
- * Generates fast code, particularly for concurrent programs.
- * Works on several platforms including FreeBSD, Windows, Mac, Linux, most
- varieties of Unix, and several different processor architectures.
- * Has extensive optimisation capabilities, including inter-module optimisation.
- * Compiles Haskell code either directly to native code or using LLVM as a
- back-end. It can also generate C code as an intermediate target for porting
- to new platforms. The interactive environment compiles Haskell to bytecode,
- and supports execution of mixed bytecode/compiled programs.
- * Profiling is supported, both by time/allocation and various kinds of heap
- profiling.
- * Comes with several libraries, and thousands more are available on Hackage.
-
-WWW: http://www.haskell.org/ghc/
diff --git a/lang/ghc862/Makefile b/lang/ghc862/Makefile
deleted file mode 100644
index b978b45df301..000000000000
--- a/lang/ghc862/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-# $FreeBSD$
-
-PORTNAME= ghc
-PORTVERSION= ${GHC_VERSION}
-CATEGORIES= lang haskell
-MASTER_SITES= http://www.haskell.org/ghc/dist/${PORTVERSION}/:source \
- LOCAL/arrowd/:boot \
- ${HACKAGE_SITE}hscolour-${HSCOLOUR_VERSION}/:docs
-PKGNAMESUFFIX= 862
-
-DISTFILES= ghc-${PORTVERSION}-src${EXTRACT_SUFX}:source \
- hscolour-${HSCOLOUR_VERSION}.tar.gz:docs
-EXTRACT_ONLY= ${_DISTFILES:C/hscolour.*$//g}
-
-MAINTAINER= haskell@FreeBSD.org
-COMMENT= Compiler for the functional language Haskell
-
-LICENSE= BSD3CLAUSE
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-GHC_VERSION= 8.6.2
-HSCOLOUR_VERSION= 1.24.4
-LLVM_VERSION= 60
-
-CONFLICTS_INSTALL= ghc-7.4.* ghc-7.6.* ghc-7.8.* ghc-7.10.* ghc-8.0.* ghc-8.4.*
-
-.include "${.CURDIR}/../../lang/ghc/bsd.ghc.mk"
-
-.include <bsd.port.mk>
diff --git a/lang/ghc862/distinfo b/lang/ghc862/distinfo
deleted file mode 100644
index c680bdad6092..000000000000
--- a/lang/ghc862/distinfo
+++ /dev/null
@@ -1,17 +0,0 @@
-TIMESTAMP = 1543568924
-SHA256 (ghc-8.6.2-src.tar.xz) = caaa819d21280ecde90a4773143dee188711e9ff175a27cfbaee56eb851d76d5
-SIZE (ghc-8.6.2-src.tar.xz) = 19024236
-SHA256 (ghc-8.4.3-boot-amd64-freebsd.tar.xz) = 0e0324a539d471a813ed4d18c537fb19be22a4e250bd5434a3a911b9d5343724
-SIZE (ghc-8.4.3-boot-amd64-freebsd.tar.xz) = 67718400
-SHA256 (ghc-8.4.3-boot-i386-freebsd.tar.xz) = 65fcd48b1c0166e028b3f6d50ad295525e6b84490da82663ec66165e57e87972
-SIZE (ghc-8.4.3-boot-i386-freebsd.tar.xz) = 66143592
-SHA256 (hscolour-1.24.4.tar.gz) = 243332b082294117f37b2c2c68079fa61af68b36223b3fc07594f245e0e5321d
-SIZE (hscolour-1.24.4.tar.gz) = 28729
-SHA256 (ghc-8.6.3-boot-aarch64-freebsd.tar.xz) = 5a1f043ada7262cf4eac4a900b7d5af965e5f6f89939e635ad0c10b0185a15b7
-SIZE (ghc-8.6.3-boot-aarch64-freebsd.tar.xz) = 104631584
-SHA256 (ghc-8.6.3-boot-armv6-freebsd.tar.xz) = 5260987646c9f6102f35a7cdedfde785227c4f317fb3ccc52d06cae6a0950a68
-SIZE (ghc-8.6.3-boot-armv6-freebsd.tar.xz) = 113748008
-SHA256 (ghc-8.6.3-boot-armv7-freebsd.tar.xz) = 765d01199ceb0dfa5c84de692cec427e67ae1cf1ba6e1fc20e7ca854c6ceb556
-SIZE (ghc-8.6.3-boot-armv7-freebsd.tar.xz) = 114046668
-SHA256 (ghc-8.6.3-boot-powerpc64-freebsd.tar.xz) = fb9bd4bad3a54722b7012c0a531cbdfe71b3b20a0b92cbd52195a526dc5ccde4
-SIZE (ghc-8.6.3-boot-powerpc64-freebsd.tar.xz) = 112652192
diff --git a/lang/ghc862/pkg-descr b/lang/ghc862/pkg-descr
deleted file mode 100644
index 520a29318997..000000000000
--- a/lang/ghc862/pkg-descr
+++ /dev/null
@@ -1,20 +0,0 @@
-The Glasgow Haskell Compiler is a state-of-the-art, open source, compiler and
-interactive environment for the functional language Haskell. Highlights:
-
- * Supports the entire Haskell 2010 language plus a wide variety of
- extensions.
- * Has particularly good support for concurrency and parallelism, including
- support for Software Transactional Memory (STM).
- * Generates fast code, particularly for concurrent programs.
- * Works on several platforms including FreeBSD, Windows, Mac, Linux, most
- varieties of Unix, and several different processor architectures.
- * Has extensive optimisation capabilities, including inter-module optimisation.
- * Compiles Haskell code either directly to native code or using LLVM as a
- back-end. It can also generate C code as an intermediate target for porting
- to new platforms. The interactive environment compiles Haskell to bytecode,
- and supports execution of mixed bytecode/compiled programs.
- * Profiling is supported, both by time/allocation and various kinds of heap
- profiling.
- * Comes with several libraries, and thousands more are available on Hackage.
-
-WWW: http://www.haskell.org/ghc/
diff --git a/math/hs-semigroups/Makefile b/math/hs-semigroups/Makefile
index 017728accc20..ad4a9cb72c27 100644
--- a/math/hs-semigroups/Makefile
+++ b/math/hs-semigroups/Makefile
@@ -2,7 +2,7 @@
PORTNAME= semigroups
PORTVERSION= 0.18.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= math haskell
MAINTAINER= haskell@FreeBSD.org
@@ -10,9 +10,6 @@ COMMENT= Anything that associates
LICENSE= BSD3CLAUSE
-DEPRECATED= Haskell libraries are getting pushed out of the ports tree. If you are using this port for development, consider switching to cabal sandboxes (old way), cabal new-build (new way), or use devel/stack. If you believe this port shouldn't be removed, contact haskell@FreeBSD.org
-EXPIRATION_DATE= 2019-04-14
-
USE_CABAL= hashable>=1.1 transformers-compat>=0.3 unordered-containers>=0.2
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
diff --git a/net/hs-network/Makefile b/net/hs-network/Makefile
index a0df2e673a75..afb68011dcbf 100644
--- a/net/hs-network/Makefile
+++ b/net/hs-network/Makefile
@@ -2,7 +2,7 @@
PORTNAME= network
PORTVERSION= 2.6.3.2
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= net haskell
MAINTAINER= haskell@FreeBSD.org
diff --git a/x11-wm/hs-xmonad-contrib/Makefile b/x11-wm/hs-xmonad-contrib/Makefile
index 02c23b3929e9..bfb2062b463c 100644
--- a/x11-wm/hs-xmonad-contrib/Makefile
+++ b/x11-wm/hs-xmonad-contrib/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xmonad-contrib
PORTVERSION= 0.15
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-wm haskell
MAINTAINER= haskell@FreeBSD.org
diff --git a/x11-wm/hs-xmonad/Makefile b/x11-wm/hs-xmonad/Makefile
index 8a4dc1b332b6..563fd9c34f56 100644
--- a/x11-wm/hs-xmonad/Makefile
+++ b/x11-wm/hs-xmonad/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xmonad
PORTVERSION= 0.15
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-wm haskell
MAINTAINER= haskell@FreeBSD.org
diff --git a/x11/hs-X11-xft/Makefile b/x11/hs-X11-xft/Makefile
index 316376e418aa..b231d2addbd6 100644
--- a/x11/hs-X11-xft/Makefile
+++ b/x11/hs-X11-xft/Makefile
@@ -2,7 +2,7 @@
PORTNAME= X11-xft
PORTVERSION= 0.3.1
-PORTREVISION= 19
+PORTREVISION= 20
CATEGORIES= x11 haskell
MAINTAINER= haskell@FreeBSD.org
@@ -10,9 +10,6 @@ COMMENT= Bindings to the Xft, Xrender and Freetype for Haskell programs
LICENSE= LGPL21
-DEPRECATED= Haskell libraries are getting pushed out of the ports tree. If you are using this port for development, consider switching to cabal sandboxes (old way), cabal new-build (new way), or use devel/stack. If you believe this port shouldn't be removed, contact haskell@FreeBSD.org
-EXPIRATION_DATE= 2019-04-14
-
USES= pkgconfig
USE_CABAL= utf8-string>=0.1 X11>=1.2.1
USE_XORG= xft xrender
diff --git a/x11/hs-X11/Makefile b/x11/hs-X11/Makefile
index 8fe0e12ee0b0..e240372a75b3 100644
--- a/x11/hs-X11/Makefile
+++ b/x11/hs-X11/Makefile
@@ -3,7 +3,7 @@
PORTNAME= X11
PORTVERSION= 1.8
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= x11 haskell
MAINTAINER= haskell@FreeBSD.org
@@ -11,9 +11,6 @@ COMMENT= Binding to the X11 graphics library
LICENSE= BSD3CLAUSE
-DEPRECATED= Haskell libraries are getting pushed out of the ports tree. If you are using this port for development, consider switching to cabal sandboxes (old way), cabal new-build (new way), or use devel/stack. If you believe this port shouldn't be removed, contact haskell@FreeBSD.org
-EXPIRATION_DATE= 2019-04-14
-
USE_CABAL= data-default
USE_XORG= x11 xrandr xext