This is a pretty printing library based on Wadler's paper "A Prettier
Printer". It has been enhanced with support for ANSI terminal colored output using the ansi-terminal package. WWW: http://github.com/batterseapower/ansi-wl-pprint
This commit is contained in:
parent
fd3b774de3
commit
a541b24598
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254757
6 changed files with 58 additions and 0 deletions
|
@ -554,6 +554,7 @@
|
|||
SUBDIR += hs-TypeCompose
|
||||
SUBDIR += hs-alex
|
||||
SUBDIR += hs-ansi-terminal
|
||||
SUBDIR += hs-ansi-wl-pprint
|
||||
SUBDIR += hs-arrows
|
||||
SUBDIR += hs-binary-ghc
|
||||
SUBDIR += hs-bsd-sysctl
|
||||
|
|
31
devel/hs-ansi-wl-pprint/Makefile
Normal file
31
devel/hs-ansi-wl-pprint/Makefile
Normal file
|
@ -0,0 +1,31 @@
|
|||
# New ports collection makefile for: hs-ansi-wl-pprint
|
||||
# Date created: May 21, 2010
|
||||
# Whom: Gabor Pali <pgj@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ansi-wl-pprint
|
||||
PORTVERSION= 0.5.1
|
||||
CATEGORIES= devel haskell
|
||||
|
||||
MAINTAINER= haskell@FreeBSD.org
|
||||
COMMENT= The Wadler/Leijen Pretty Printer for colored ANSI terminal output
|
||||
|
||||
USE_HACKAGE= ansi-terminal>=0.4.0
|
||||
|
||||
OPTIONS= EXAMPLE "Build the example application" off
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if defined(WITH_EXAMPLE)
|
||||
CONFIGURE_ARGS+= --flags="Example"
|
||||
EXECUTABLE= ansi-wl-pprint-example
|
||||
PLIST_SUB+= MAYBE_EXAMPLE=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --flags="-Example"
|
||||
PLIST_SUB+= MAYBE_EXAMPLE="@comment "
|
||||
.endif
|
||||
|
||||
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
|
||||
.include <bsd.port.mk>
|
3
devel/hs-ansi-wl-pprint/distinfo
Normal file
3
devel/hs-ansi-wl-pprint/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (ansi-wl-pprint-0.5.1.tar.gz) = d427a18a5a071b8dbcdff28633f4b800
|
||||
SHA256 (ansi-wl-pprint-0.5.1.tar.gz) = aa5e0ba85c46f2f71970645066a8efeeea2c663f222185968fda8e09383ef7e0
|
||||
SIZE (ansi-wl-pprint-0.5.1.tar.gz) = 13492
|
5
devel/hs-ansi-wl-pprint/pkg-descr
Normal file
5
devel/hs-ansi-wl-pprint/pkg-descr
Normal file
|
@ -0,0 +1,5 @@
|
|||
This is a pretty printing library based on Wadler's paper "A Prettier
|
||||
Printer". It has been enhanced with support for ANSI terminal colored
|
||||
output using the ansi-terminal package.
|
||||
|
||||
WWW: http://github.com/batterseapower/ansi-wl-pprint
|
17
devel/hs-ansi-wl-pprint/pkg-plist
Normal file
17
devel/hs-ansi-wl-pprint/pkg-plist
Normal file
|
@ -0,0 +1,17 @@
|
|||
@comment $FreeBSD$
|
||||
%%MAYBE_EXAMPLE%%bin/ansi-wl-pprint-example
|
||||
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/PrettyPrint/ANSI/Leijen.hi
|
||||
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HS%%PORTNAME%%-%%PORTVERSION%%.o
|
||||
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHS%%PORTNAME%%-%%PORTVERSION%%.a
|
||||
%%LIBDIR_REL%%/register.sh
|
||||
%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE
|
||||
%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
|
||||
@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/PrettyPrint/ANSI
|
||||
@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/PrettyPrint
|
||||
@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text
|
||||
@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%
|
||||
@dirrm %%LIBDIR_REL%%
|
||||
@exec /bin/sh %D/%%LIBDIR_REL%%/register.sh
|
||||
@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
|
||||
@unexec %D/bin/ghc-pkg unregister %%PORTNAME%%-%%PORTVERSION%%
|
||||
@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
|
|
@ -16,6 +16,7 @@ Agda_port= math/hs-Agda # executable
|
|||
Agda-executable_port= math/hs-Agda-executable # executable
|
||||
ALUT_port= audio/hs-ALUT
|
||||
ansi-terminal_port= devel/hs-ansi-terminal
|
||||
ansi-wl-pprint_port= devel/hs-ansi-wl-pprint
|
||||
arrows_port= devel/hs-arrows
|
||||
binary_port= devel/hs-binary-ghc
|
||||
bio_port= science/hs-bio
|
||||
|
|
Loading…
Reference in a new issue