bsd.cabal.mk: Minor cleanup
security/hs-SHA: Fix configure with the EXE option enabled

PR:			192872
Submitted by:	ahktenzero+freebsd@mohorovi.cc
Add graphics/hs-JuicyPixels
Add devel/hs-haddock-library
textproc/hs-texmath: 0.6.7 --> 0.8
archivers/hs-zip-archive: 0.2.3.2 --> 0.2.3.4
textproc/hs-pandoc: 1.12.4.2 --> 1.13.0.1
www/hs-gitit: Enable building with a newer pandoc
www/hs-activehs: Enable building with a newer pandoc
bsd.cabal.mk: Add support for specifying TMPDIR when building hs- ports

PR:			192940
Reported by:	marino
bsd.cabal.mk: Work around a probable bug in pkg(8)

pkg(8) keeps the last file in the packaging list open for writing when
executing the post-install actions.  Thus, when this last file is a binary
which is to be executed on post-install, it will fail with ETXTBSY.  And, as a
result, the post-install script will also fail.  For example, this happens
with devel/hs-haddock, where the gen_contents_index script wants to invoke the
freshly installed version of haddock at post-install.

Solve this problem by moving the binaries in the package list up.
devel/hs-haddock: Fix build with staging

Reported by:	Andrzej Tobola <ato@iem.pw.edu.pl>
devel/hs-haddock: 2.14.2 --> 2.14.3
Integrate from the Ports Collection.