MissingH is a library of all sorts of utility functions for
Haskell programmers. It is written in pure Haskell and thus should be extremely portable and easy to use. WWW: http://software.complete.org/missingh PR: ports/142485 Submitted by: Jacula Modyun <jacula(at)gmail.com>
This commit is contained in:
parent
0fca7ec260
commit
74150cd30b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247740
5 changed files with 180 additions and 0 deletions
|
@ -528,6 +528,7 @@
|
|||
SUBDIR += hp48xgcc
|
||||
SUBDIR += hptools
|
||||
SUBDIR += hs-DeepArrow
|
||||
SUBDIR += hs-MissingH
|
||||
SUBDIR += hs-MonadCatchIO-mtl
|
||||
SUBDIR += hs-ObjectName
|
||||
SUBDIR += hs-QuickCheck
|
||||
|
|
79
devel/hs-MissingH/Makefile
Normal file
79
devel/hs-MissingH/Makefile
Normal file
|
@ -0,0 +1,79 @@
|
|||
# New ports collection makefile for: hs-MissingH
|
||||
# Date created: December 20 2009
|
||||
# Whom: Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= MissingH
|
||||
PORTVERSION= 1.1.0.1
|
||||
CATEGORIES= devel haskell
|
||||
MASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
|
||||
PKGNAMEPREFIX= hs-
|
||||
|
||||
MAINTAINER= jacula@gmail.com
|
||||
COMMENT= Large Haskell utility library
|
||||
|
||||
BUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc \
|
||||
hs-testpack>=1.0.2:${PORTSDIR}/devel/hs-testpack \
|
||||
hs-hslogger>=1.0.7:${PORTSDIR}/devel/hs-hslogger
|
||||
RUN_DEPENDS+= ghc:${PORTSDIR}/lang/ghc \
|
||||
hs-testpack>=1.0.2:${PORTSDIR}/devel/hs-testpack \
|
||||
hs-hslogger>=1.0.7:${PORTSDIR}/devel/hs-hslogger
|
||||
|
||||
GHC_VERSION= 6.10.4
|
||||
MISSINGH_VERSION= ${PORTVERSION}
|
||||
|
||||
GHC_CMD= ${LOCALBASE}/bin/ghc
|
||||
SETUP_CMD= ./setup
|
||||
|
||||
DOCSDIR= ${PREFIX}/share/doc/${DISTNAME}
|
||||
MISSINGH_LIBDIR_REL= lib/${DISTNAME}
|
||||
|
||||
PLIST_SUB= GHC_VERSION=${GHC_VERSION} \
|
||||
MISSINGH_VERSION=${MISSINGH_VERSION} \
|
||||
MISSINGH_LIBDIR_REL=${MISSINGH_LIBDIR_REL}
|
||||
|
||||
.if defined(NOPORTDOCS)
|
||||
PLIST_SUB+= NOPORTDOCS=""
|
||||
.else
|
||||
PLIST_SUB+= NOPORTDOCS="@comment "
|
||||
.endif
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
|
||||
PORT_HADDOCK!= (cd ${.CURDIR}/../../lang/ghc && ${MAKE} -V PORT_HADDOCK)
|
||||
.if !empty(PORT_HADDOCK:M?0)
|
||||
BUILD_DEPENDS+= haddock:${PORTSDIR}/devel/hs-haddock
|
||||
.endif
|
||||
BUILD_DEPENDS+= HsColour:${PORTSDIR}/print/hs-hscolour
|
||||
|
||||
HSCOLOUR_VERSION= 1.15
|
||||
HSCOLOUR_DATADIR= ${PREFIX}/share/hscolour-${HSCOLOUR_VERSION}
|
||||
|
||||
PORTDOCS= *
|
||||
.endif
|
||||
|
||||
.SILENT:
|
||||
|
||||
do-configure:
|
||||
cd ${WRKSRC} && ${GHC_CMD} --make Setup.hs -o setup -package Cabal \
|
||||
&& ${SETUP_CMD} configure --haddock-options=-w --prefix=${PREFIX}
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${SETUP_CMD} build \
|
||||
&& ${SETUP_CMD} register --gen-script
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
cd ${WRKSRC} && ${SETUP_CMD} haddock --hyperlink-source \
|
||||
--hscolour-css=${HSCOLOUR_DATADIR}/hscolour.css
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC} && ${SETUP_CMD} install \
|
||||
&& ${INSTALL_SCRIPT} register.sh ${PREFIX}/${MISSINGH_LIBDIR_REL}/register.sh
|
||||
|
||||
post-install:
|
||||
${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/hs-MissingH/distinfo
Normal file
3
devel/hs-MissingH/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (MissingH-1.1.0.1.tar.gz) = dcbdaf7a33e524934f7749f7facc5a40
|
||||
SHA256 (MissingH-1.1.0.1.tar.gz) = 897d2bb76377215e061938c5e46fce53c30acea0cb025d94c879eee379ff53f3
|
||||
SIZE (MissingH-1.1.0.1.tar.gz) = 96865
|
5
devel/hs-MissingH/pkg-descr
Normal file
5
devel/hs-MissingH/pkg-descr
Normal file
|
@ -0,0 +1,5 @@
|
|||
MissingH is a library of all sorts of utility functions for
|
||||
Haskell programmers. It is written in pure Haskell and thus
|
||||
should be extremely portable and easy to use.
|
||||
|
||||
WWW: http://software.complete.org/missingh
|
92
devel/hs-MissingH/pkg-plist
Normal file
92
devel/hs-MissingH/pkg-plist
Normal file
|
@ -0,0 +1,92 @@
|
|||
@comment $FreeBSD$
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Control/Concurrent/Thread/Utils.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/BinPacking.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Bits/Utils.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/CSV.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Compression/Inflate.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Either/Utils.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Hash/CRC32/GZip.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Hash/CRC32/Posix.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Hash/MD5.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Hash/MD5/Zord64_HARD.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/List/Utils.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/MIME/Types.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Map/Utils.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Maybe/Utils.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Progress/Meter.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Progress/Tracker.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Quantity.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/String/Utils.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Tuple/Utils.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HSMissingH-%%MISSINGH_VERSION%%.o
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/Email/Mailbox.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/Email/Sendmail.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/SocketServer.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/Utils.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/Cmd/Utils.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/Console/GetOpt/Utils.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/Daemon.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/Debian.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/Debian/ControlParser.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/FileArchive/GZip.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/IO/Binary.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/IO/HVFS.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/IO/HVFS/Combinators.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/IO/HVFS/InstanceHelpers.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/IO/HVFS/Utils.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/IO/HVIO.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/IO/PlafCompat.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/IO/StatCompat.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/IO/Utils.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/IO/WindowsCompat.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/Path.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/Path/Glob.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/Path/NameManip.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/Path/WildMatch.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/Posix/Consts.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/Time/ParseDate.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/Time/Utils.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/ParserCombinators/Parsec/Utils.hi
|
||||
%%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHSMissingH-%%MISSINGH_VERSION%%.a
|
||||
%%MISSINGH_LIBDIR_REL%%/register.sh
|
||||
%%NOPORTDOCS%%%%DOCSDIR%%/COPYRIGHT
|
||||
%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/ParserCombinators/Parsec
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/ParserCombinators
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/Time
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/Posix
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/Path
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/IO/HVFS
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/IO
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/FileArchive
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/Debian
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/Console/GetOpt
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/Console
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/Cmd
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/Email
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Tuple
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/String
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Progress
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Maybe
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Map
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/MIME
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/List
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Hash/MD5
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Hash/CRC32
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Hash
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Either
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Compression
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Bits
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Control/Concurrent/Thread
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Control/Concurrent
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Control
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%/ghc-%%GHC_VERSION%%
|
||||
@dirrm %%MISSINGH_LIBDIR_REL%%
|
||||
@exec /bin/sh %D/%%MISSINGH_LIBDIR_REL%%/register.sh
|
||||
@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
|
||||
@unexec %D/bin/ghc-pkg unregister MissingH
|
||||
@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
|
Loading…
Reference in a new issue