Bug 120975 - Hyperlinkable documentation for port: lang/ghc
Summary: Hyperlinkable documentation for port: lang/ghc
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-haskell (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-22 20:30 UTC by Jacula Modyun
Modified: 2008-02-29 21:20 UTC (History)
0 users

See Also:


Attachments
patch-lang-ghc (201.32 KB, text/plain)
2008-02-22 20:30 UTC, Jacula Modyun
no flags Details
hs-haddock-docs.shar (8.60 KB, text/plain)
2008-02-22 20:30 UTC, Jacula Modyun
no flags Details
hs-hscolour-docs.shar (5.72 KB, text/plain)
2008-02-22 20:30 UTC, Jacula Modyun
no flags Details
patch-devel-ghc (200.87 KB, text/plain; charset=us-ascii)
2008-02-25 09:40 UTC, Jacula Modyun
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jacula Modyun 2008-02-22 20:30:02 UTC
Hi all again (view http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/120838)

First of all, I'm sorry for this my very long pr, and for posting
patches for five different ports, but this patchset is one only
thing, for how I imagined it and also all this port are maintained
by the same maintainers.

These patcheset address many different kind of problems.
But the two principal reasons for them are:

1) Building the hyperlinkable documentation of ghc
libraries directly, without to have to rebuild
ghc itself and so razoring the chicken-egg problem
for ghc/haddock/HsColour.

2) Solving the central problem for the port lang/ghc-doc
about the haddock interface files (the files *.haddock).
In fact these are architecture dependent and unless
this port doesn't supply with the right files for a
FreeBSD system, it's impossible to use these ones
to hyperlink the documentation with haddock.
At this moment, for example, the haddock interface files
lang/ghc-doc install are dos files. Another problem
of a binay port, like lang/ghc-doc, is that you have
to update, in any case, the registered paths for the
documentation if these are different from the standard
of the port lang/ghc.

I commit two patches for lang/ghc and devel/hs-haddock and
three new ports print/hs-hscolour, print/hs-hscolour-docs and
devel/hs-haddock-docs.

The solutions adopted are cheapest that I could imagine, and
don't break any update process with circular dependences:
for example to use a already installed version of haddock
to compile the documentation of ghc could break down this
process and I don't add it like an option.

A skeleton for these problems is this:

lang/ghc:

- A new knob WITH_DOCS is been introduced to install the user
  documentation and the hyperlinkable documentation, generated
  by haddock and HsColour.

- The problem of the hidden CONFIGURE_TARGET variable is been solved.

- The DOCSDIR is been changed.

- Now ghc knows about MANDIR and INFODIR.

- A man page of ghc will be installed, in any case.

- Also the DOCSDIR, with an subdirectory "cabal"  is been cabalised
  for the libraries documentation that, at this moment, no ghc
  related port installs. Actually no haskell port installs any
  documentation of their own libraries. This is a pity.

- A pkg-message.haddock about the problem of the HSghc
  libraries, related to the WITH_DOCS, is been add.

- The patch libraries-Cabal-Distribution-Simple-Haddock.hs is been
  added to correct a bug in Cabal (this patch is already in the last
  Cabal tree) related to HsColour and haddock (the patch is self
  explanatory).

devel/hs-haddock:

- It's been introduced the internal option SLAVE to install
  the lang/ghc with the hyperlinkable documentation.

- The option NOPORTDOCS is been eliminated, and the documentation
  is been delegated to the port devel/hs-haddock-docs.

- The DOCSDIR is been changed.

- The devel/readline dependence is been add, when the devel/readline
  port is been installed.

- The problem of an unregistered installation, using the package system, 
  is been correct. Also Installing a register.sh file permit to reregister
  haddock if, for example, ghc is deinstalled and reinstalled, without
  to have to reinstall haddock: lang/ghc is not a run dependency for the
  devel/haddock port.

The pkg-descr files are been integrated for both.

devel/hs-haddock-docs:

 - This port installs both the user documentation and the hyperlinkable
   documentation related to devel/hs-haddock, generated  by haddock
   and HsColour.

- The pkg-message related to the generating hyperlinkable documentation is
  been added.

print/hs-hscolour:

- hscolour is a small Haskell script to colourise Haskell
  code. It currently has four output formats: 

  ANSI terminal codes, HTML 3.2 with <font> tags,
  HTML 4.01 with CSS, and LaTeX.

- It's been introduced the internal option SLAVE to install
  the lang/ghc with the hyperlinkable documentation.

print/hs-hscolour-docs:

 - This port installs the hyperlinkable documentation related
   to print/hs-hscolour, generated  by haddock and HsColour.

Best Regards

Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>

Fix: diff -uNr hs-haddock.orig/Makefile hs-haddock/Makefile
--- hs-haddock.orig/Makefile	2008-01-12 17:49:07.000000000 +0000
+++ hs-haddock/Makefile	2008-02-22 17:24:12.000000000 +0000
@@ -7,59 +7,60 @@
 PORTNAME=	haddock
 PORTVERSION=	2.0.0.0
 CATEGORIES=	devel haskell
-MASTER_SITES=	http://www.haskell.org/haddock/dist/
 PKGNAMEPREFIX=	hs-
 
+MASTER_SITES=	http://www.haskell.org/haddock/dist/
+
 MAINTAINER=	haskell@FreeBSD.org
 COMMENT=	A documentation tool for Haskell
 
+.if !defined(SLAVE)
 BUILD_DEPENDS=	ghc:${PORTSDIR}/lang/ghc
 
-.if !defined(NOPORTDOCS)
-BUILD_DEPENDS+=	${LOCALBASE}/share/sgml/docbook/dsssl/modular:${PORTSDIR}/textproc/dsssl-docbook-modular \
-		docbook<2:${PORTSDIR}/textproc/docbook \
-		${LOCALBASE}/share/sgml/iso8879:${PORTSDIR}/textproc/iso8879 \
-		${LOCALBASE}/share/sgml/docbook/3.1:${PORTSDIR}/textproc/docbook-310 \
-		${LOCALBASE}/share/xsl/docbook/catalog:${PORTSDIR}/textproc/docbook-xsl \
-		jade:${PORTSDIR}/textproc/jade \
-		xsltproc:${PORTSDIR}/textproc/libxslt
+.if exists(${LOCALBASE}/lib/libreadline.so.5)
+LIB_DEPENDS+=	readline.5:${PORTSDIR}/devel/readline
+.endif
+
+.else
+NO_PKG_REGISTER=
 .endif
 
 WRKSRC=		${WRKDIR}/${DISTNAME:S/-src//g}
-CONFIGURE_ARGS=	--prefix=${PREFIX}
-USE_GMAKE=	yes
-USE_AUTOTOOLS=	autoconf:261:env
 
-GHC_VERSION=	6.8.2
+GHC_VERSION=	 6.8.2
+HADDOCK_VERSION= ${PORTVERSION}
 
-PLIST_SUB+=	HADDOCK_VERSION=${PORTVERSION} GHC_VERSION=${GHC_VERSION}
-PORTDOCS=	*
+CABAL_CMD= runghc Setup.lhs
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|/usr/local/share/sgml/catalog||' ${WRKSRC}/doc/configure.ac
+DATADIR=		${PREFIX}/share/${DISTNAME}
+HADDOCK_LIBDIR_REL=	lib/${DISTNAME}
+DOCSDIR=		${PREFIX}/share/doc/${DISTNAME}
+
+PLIST_SUB=	GHC_VERSION=${GHC_VERSION} \
+		DATADIR_REL=${DATADIR_REL} \
+		HADDOCK_LIBDIR_REL=${HADDOCK_LIBDIR_REL} \
+		HADDOCK_VERSION=${HADDOCK_VERSION} \
+		DOCSDIR_REL=${DOCSDIR_REL}
+
+.SILENT:
 
 do-configure:
-	cd ${WRKSRC} && runhaskell Setup.lhs configure --ghc ${CONFIGURE_ARGS}
-.if !defined(NOPORTDOCS)
-	cd ${WRKSRC}/doc && ${AUTOCONF} && ./configure ${CONFIGURE_ARGS}
-.endif
+	cd ${WRKSRC} && ${CABAL_CMD} configure --ghc --prefix=${PREFIX}
 
 do-build:
-	cd ${WRKSRC} && runhaskell Setup.lhs build
-
-post-build:
-.if !defined(NOPORTDOCS)
-	@(cd ${WRKSRC}/doc && \
-	 ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} html)
+	cd ${WRKSRC} && ${CABAL_CMD} build
+.if !defined(SLAVE)
+	cd ${WRKSRC} && ${CABAL_CMD} register --gen-script
 .endif
 
 do-install:
-	cd ${WRKSRC} && runhaskell Setup.lhs install
+	cd ${WRKSRC} && ${CABAL_CMD} install
 
 post-install:
-	@${STRIP_CMD} ${PREFIX}/bin/haddock
-.if !defined(NOPORTDOCS)
-	@(cd ${WRKSRC}/doc && ${CP} -R haddock ${PREFIX}/share/doc)
+	${STRIP_CMD} ${PREFIX}/bin/haddock
+.if !defined(SLAVE)
+	${INSTALL_SCRIPT} ${WRKSRC}/register.sh ${PREFIX}/${HADDOCK_LIBDIR_REL}/register.sh 
 .endif
 
+
 .include <bsd.port.mk>
diff -uNr hs-haddock.orig/pkg-descr hs-haddock/pkg-descr
--- hs-haddock.orig/pkg-descr	2002-05-21 18:46:56.000000000 +0000
+++ hs-haddock/pkg-descr	2008-02-22 16:44:49.000000000 +0000
@@ -1,8 +1,15 @@
 Haddock is a tool for automatically generating documentation from
 annotated Haskell source code. The documentation generated by Haddock
 is fully hyperlinked.
+Haddock can generate documentation in multiple formats; currently HTML
+is implemented, and there is partial support for generating DocBook.
 
-WWW:	http://www.haskell.org/haddock/
+author:		Simon Marlow, David Waern
+maintainer:	David Waern <david.waern@gmail.com>
+homepage:	http://www.haskell.org/haddock/
+license:	BSD3
+
+exposed-modules:	Distribution.Haddock
 
 -- Oliver Braun
 obraun@informatik.unibw-muenchen.de
diff -uNr hs-haddock.orig/pkg-plist hs-haddock/pkg-plist
--- hs-haddock.orig/pkg-plist	2008-01-12 17:49:08.000000000 +0000
+++ hs-haddock/pkg-plist	2008-02-22 09:01:31.000000000 +0000
@@ -1,23 +1,26 @@
 bin/haddock
-lib/haddock-%%HADDOCK_VERSION%%/ghc-%%GHC_VERSION%%/Distribution/Haddock.hi
-lib/haddock-%%HADDOCK_VERSION%%/ghc-%%GHC_VERSION%%/HShaddock-%%HADDOCK_VERSION%%.o
-lib/haddock-%%HADDOCK_VERSION%%/ghc-%%GHC_VERSION%%/Haddock/Exception.hi
-lib/haddock-%%HADDOCK_VERSION%%/ghc-%%GHC_VERSION%%/Haddock/InterfaceFile.hi
-lib/haddock-%%HADDOCK_VERSION%%/ghc-%%GHC_VERSION%%/Haddock/Types.hi
-lib/haddock-%%HADDOCK_VERSION%%/ghc-%%GHC_VERSION%%/libHShaddock-%%HADDOCK_VERSION%%.a
-share/doc/haddock-%%HADDOCK_VERSION%%/LICENSE
-share/haddock-%%HADDOCK_VERSION%%/html/haddock-DEBUG.css
-share/haddock-%%HADDOCK_VERSION%%/html/haddock-util.js
-share/haddock-%%HADDOCK_VERSION%%/html/haddock.css
-share/haddock-%%HADDOCK_VERSION%%/html/haskell_icon.gif
-share/haddock-%%HADDOCK_VERSION%%/html/minus.gif
-share/haddock-%%HADDOCK_VERSION%%/html/plus.gif
-@dirrm lib/haddock-%%HADDOCK_VERSION%%/ghc-%%GHC_VERSION%%/Haddock
-@dirrm lib/haddock-%%HADDOCK_VERSION%%/ghc-%%GHC_VERSION%%/Distribution
-@dirrm lib/haddock-%%HADDOCK_VERSION%%/ghc-%%GHC_VERSION%%
-@dirrm lib/haddock-%%HADDOCK_VERSION%%
-@dirrm share/doc/haddock-%%HADDOCK_VERSION%%
-@dirrm share/haddock-%%HADDOCK_VERSION%%/html
-@dirrm share/haddock-%%HADDOCK_VERSION%%
+%%HADDOCK_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution/Haddock.hi
+%%HADDOCK_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HShaddock-%%HADDOCK_VERSION%%.o
+%%HADDOCK_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Haddock/Exception.hi
+%%HADDOCK_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Haddock/InterfaceFile.hi
+%%HADDOCK_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Haddock/Types.hi
+%%HADDOCK_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHShaddock-%%HADDOCK_VERSION%%.a
+%%HADDOCK_LIBDIR_REL%%/register.sh
+%%DOCSDIR%%/LICENSE
+%%DATADIR_REL%%/html/haddock-DEBUG.css
+%%DATADIR_REL%%/html/haddock-util.js
+%%DATADIR_REL%%/html/haddock.css
+%%DATADIR_REL%%/html/haskell_icon.gif
+%%DATADIR_REL%%/html/minus.gif
+%%DATADIR_REL%%/html/plus.gif
+@dirrm %%DATADIR_REL%%/html
+@dirrm %%DATADIR_REL%%
+@dirrm %%DOCSDIR%%
+@dirrm %%HADDOCK_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Haddock
+@dirrm %%HADDOCK_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Distribution
+@dirrm %%HADDOCK_LIBDIR_REL%%/ghc-%%GHC_VERSION%%
+@dirrm %%HADDOCK_LIBDIR_REL%%
+@exec /bin/sh %D/%%HADDOCK_LIBDIR_REL%%/register.sh
 @exec rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
-@unexec rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
+@unexec if [ -x %D/bin/ghc-pkg ]; then %D/bin/ghc-pkg unregister haddock || /usr/bin/true; fi
+@unexec if [ -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old ]; then rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old || /usr/bin/true; fi
--- patch-devel-hs-haddock ends here ---

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./hs-hscolour
#	./hs-hscolour/Makefile
#	./hs-hscolour/distinfo
#	./hs-hscolour/pkg-descr
#	./hs-hscolour/pkg-plist
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo c - ./hs-hscolour
mkdir -p ./hs-hscolour > /dev/null 2>&1
echo x - ./hs-hscolour/Makefile
sed 's/^X//' >./hs-hscolour/Makefile << 'END-of-./hs-hscolour/Makefile'
X# New ports collection makefile for: hs-hscolour
X# Date created:        February 22 2008
X# Whom:                Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>
X#
X# $FreeBSD
X#
X
XPORTNAME=	hscolour
XPORTVERSION=	1.9
XCATEGORIES=	print haskell
XPKGNAMEPREFIX=	hs-
X
XMASTER_SITES=	ftp://ftp.cs.york.ac.uk/pub/haskell/contrib/
X
XMAINTAINER=	jacula@gmail.com
XCOMMENT=	Colourise Haskell code
X
X.if !defined(SLAVE)
XBUILD_DEPENDS+=	ghc:${PORTSDIR}/lang/ghc
X.else
XNO_PKG_REGISTER=
X.endif
X
XGHC_VERSION=	6.8.2
XHSCOLOUR_VERSION= ${PORTVERSION}
X
XCABAL_CMD= runghc Setup.hs
X
XDATADIR=		${PREFIX}/share/${DISTNAME}
XHSCOLOUR_LIBDIR_REL=	lib/${DISTNAME}
XDOCSDIR=		${PREFIX}/share/doc/${DISTNAME}
X
XPLIST_SUB=	GHC_VERSION=${GHC_VERSION} \
X		DATADIR_REL=${DATADIR_REL} \
X		HSCOLOUR_LIBDIR_REL=${HSCOLOUR_LIBDIR_REL} \
X		HSCOLOUR_VERSION=${HSCOLOUR_VERSION} \
X		DOCSDIR_REL=${DOCSDIR_REL}
X
X.SILENT:
X
Xdo-configure:
X	cd ${WRKSRC} && ${CABAL_CMD} configure --ghc --prefix=${PREFIX}
X
Xdo-build:
X	cd ${WRKSRC} && ${CABAL_CMD} build
X.if !defined(SLAVE)
X	cd ${WRKSRC} && ${CABAL_CMD} register --gen-script
X.endif
X
Xdo-install:
X	cd ${WRKSRC} && ${CABAL_CMD} install
X
Xpost-install:
X	${STRIP_CMD} ${PREFIX}/bin/HsColour
X.if !defined(SLAVE)
X	cd ${WRKSRC} && ${INSTALL_SCRIPT} register.sh ${PREFIX}/${HSCOLOUR_LIBDIR_REL}/register.sh  && \
X		${INSTALL_DATA} README ${DOCSDIR}/README
X.endif
X
X.include <bsd.port.mk>
END-of-./hs-hscolour/Makefile
echo x - ./hs-hscolour/distinfo
sed 's/^X//' >./hs-hscolour/distinfo << 'END-of-./hs-hscolour/distinfo'
XMD5 (hscolour-1.9.tar.gz) = badfe50d4215f23d0e17928b24f80773
XSHA256 (hscolour-1.9.tar.gz) = 9d961264fe86f7128673c624943062ea0af19b1c80e303fcdb6957cadc5ac774
XSIZE (hscolour-1.9.tar.gz) = 43119
END-of-./hs-hscolour/distinfo
echo x - ./hs-hscolour/pkg-descr
sed 's/^X//' >./hs-hscolour/pkg-descr << 'END-of-./hs-hscolour/pkg-descr'
Xhscolour is a small Haskell script to colourise Haskell
Xcode. It currently has four output formats: 
X
X  ANSI terminal codes, HTML 3.2 with <font> tags,
X  HTML 4.01 with CSS, and LaTeX.
X
Xauthor:		Malcolm Wallace
Xmaintainer:	Malcolm Wallace
Xlicense:	GPL
Xhomepage:	http://www.cs.york.ac.uk/fp/darcs/hscolour
Xpackage-url:	ftp://ftp.cs.york.ac.uk/pub/haskell/contrib/
X
XExposed-Modules: 
X  Language.Haskell.HsColour,
X  Language.Haskell.HsColour.ANSI,
X  Language.Haskell.HsColour.Anchors,
X  Language.Haskell.HsColour.Classify,
X  Language.Haskell.HsColour.ColourHighlight,
X  Language.Haskell.HsColour.Colourise,
X  Language.Haskell.HsColour.TTY,
X  Language.Haskell.HsColour.HTML,
X  Language.Haskell.HsColour.LaTeX,
X  Language.Haskell.HsColour.General,
X  Language.Haskell.HsColour.MIRC,
X  Language.Haskell.HsColour.CSS
END-of-./hs-hscolour/pkg-descr
echo x - ./hs-hscolour/pkg-plist
sed 's/^X//' >./hs-hscolour/pkg-plist << 'END-of-./hs-hscolour/pkg-plist'
Xbin/HsColour
X%%HSCOLOUR_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HShscolour-%%HSCOLOUR_VERSION%%.o
X%%HSCOLOUR_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/HsColour.hi
X%%HSCOLOUR_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/HsColour/ANSI.hi
X%%HSCOLOUR_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/HsColour/Anchors.hi
X%%HSCOLOUR_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/HsColour/CSS.hi
X%%HSCOLOUR_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/HsColour/Classify.hi
X%%HSCOLOUR_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/HsColour/ColourHighlight.hi
X%%HSCOLOUR_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/HsColour/Colourise.hi
X%%HSCOLOUR_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/HsColour/General.hi
X%%HSCOLOUR_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/HsColour/HTML.hi
X%%HSCOLOUR_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/HsColour/LaTeX.hi
X%%HSCOLOUR_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/HsColour/MIRC.hi
X%%HSCOLOUR_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/HsColour/TTY.hi
X%%HSCOLOUR_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHShscolour-%%HSCOLOUR_VERSION%%.a
X%%HSCOLOUR_LIBDIR_REL%%/register.sh
X%%DOCSDIR_REL%%/LICENCE-GPL
X%%DOCSDIR_REL%%/README
X%%DATADIR_REL%%/hscolour.css
X@dirrm %%DATADIR_REL%%
X@dirrm %%DOCSDIR_REL%%
X@dirrm %%HSCOLOUR_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell/HsColour
X@dirrm %%HSCOLOUR_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Haskell
X@dirrm %%HSCOLOUR_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language
X@dirrm %%HSCOLOUR_LIBDIR_REL%%/ghc-%%GHC_VERSION%%
X@dirrm %%HSCOLOUR_LIBDIR_REL%%
X@exec /bin/sh %D/%%HSCOLOUR_LIBDIR_REL%%/register.sh
X@exec rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
X@unexec if [ -x %D/bin/ghc-pkg ]; then %D/bin/ghc-pkg unregister hscolour || /usr/bin/true; fi
X@unexec if [ -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old ]; then rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old || /usr/bin/true; fi
END-of-./hs-hscolour/pkg-plist
exit
--- hs-hscolour.shar ends here ---
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-02-22 20:30:43 UTC
Responsible Changed
From-To: freebsd-ports-bugs->haskell

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jacula Modyun 2008-02-25 09:40:55 UTC
Hi,

Unfortunately I was too much optimistic about the problem of the
CONFIGURE_TARGET variable. In fact forcing the target causes some
problem to the assembler, and for example the port x11-toolkits/hs-gtk2hs
doesn't build. Then I corrected the last patch-lang-ghc patch above.

Best Regards

Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>

Comment 3 dfilter service freebsd_committer freebsd_triage 2008-02-29 19:54:26 UTC
obraun      2008-02-29 19:54:21 UTC

  FreeBSD ports repository

  Modified files:
    print                Makefile 
  Added files:
    print/hs-hscolour    Makefile distinfo pkg-descr pkg-plist 
  Log:
  hscolour is a small Haskell script to colourise Haskell
  code. It currently has four output formats:
  
    ANSI terminal codes, HTML 3.2 with <font> tags,
    HTML 4.01 with CSS, and LaTeX.
  
  author:         Malcolm Wallace
  maintainer:     Malcolm Wallace
  license:        GPL
  WWW:            http://www.cs.york.ac.uk/fp/darcs/hscolour
  package-url:    ftp://ftp.cs.york.ac.uk/pub/haskell/contrib/
  Exposed-Modules:
    Language.Haskell.HsColour,
    Language.Haskell.HsColour.ANSI,
    Language.Haskell.HsColour.Anchors,
    Language.Haskell.HsColour.Classify,
    Language.Haskell.HsColour.ColourHighlight,
    Language.Haskell.HsColour.Colourise,
    Language.Haskell.HsColour.TTY,
    Language.Haskell.HsColour.HTML,
    Language.Haskell.HsColour.LaTeX,
    Language.Haskell.HsColour.General,
    Language.Haskell.HsColour.MIRC,
    Language.Haskell.HsColour.CSS
  
  PR:             ports/120975
  Submitted by:   Giuseppe Pilichi aka Jacula Modyun <jacula at gmail.com>
  
  Revision  Changes    Path
  1.446     +1 -0      ports/print/Makefile
  1.1       +60 -0     ports/print/hs-hscolour/Makefile (new)
  1.1       +3 -0      ports/print/hs-hscolour/distinfo (new)
  1.1       +24 -0     ports/print/hs-hscolour/pkg-descr (new)
  1.1       +30 -0     ports/print/hs-hscolour/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 dfilter service freebsd_committer freebsd_triage 2008-02-29 20:36:22 UTC
obraun      2008-02-29 20:35:17 UTC

  FreeBSD ports repository

  Modified files:
    devel                Makefile 
  Added files:
    devel/hs-haddock-docs Makefile distinfo pkg-descr pkg-message 
                          pkg-plist 
  Log:
  User documentation and hyperlinked documentation for the
  haddock libraries. This last documentaion is generated by
  HsColour and haddock.
  
  PR:             ports/120975
  Submitted by:   Giuseppe Pilichi aka Jacula Modyun <jacula at gmail.com>
  
  Revision  Changes    Path
  1.3014    +1 -0      ports/devel/Makefile
  1.1       +70 -0     ports/devel/hs-haddock-docs/Makefile (new)
  1.1       +3 -0      ports/devel/hs-haddock-docs/distinfo (new)
  1.1       +3 -0      ports/devel/hs-haddock-docs/pkg-descr (new)
  1.1       +13 -0     ports/devel/hs-haddock-docs/pkg-message (new)
  1.1       +94 -0     ports/devel/hs-haddock-docs/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 dfilter service freebsd_committer freebsd_triage 2008-02-29 20:50:50 UTC
obraun      2008-02-29 20:50:33 UTC

  FreeBSD ports repository

  Modified files:
    print                Makefile 
  Added files:
    print/hs-hscolour-docs Makefile distinfo pkg-descr pkg-plist 
  Log:
  Hyperlinked documentation for the HsColour libraries.
  This documentaion is generated by HsColour and haddock.
  
  PR:             ports/120975
  Submitted by:   Giuseppe Pilichi aka Jacula Modyun <jacula at gmail.com>
  
  Revision  Changes    Path
  1.447     +1 -0      ports/print/Makefile
  1.1       +43 -0     ports/print/hs-hscolour-docs/Makefile (new)
  1.1       +3 -0      ports/print/hs-hscolour-docs/distinfo (new)
  1.1       +2 -0      ports/print/hs-hscolour-docs/pkg-descr (new)
  1.1       +60 -0     ports/print/hs-hscolour-docs/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 6 dfilter service freebsd_committer freebsd_triage 2008-02-29 21:09:07 UTC
obraun      2008-02-29 21:08:51 UTC

  FreeBSD ports repository

  Modified files:
    devel/hs-haddock     Makefile pkg-descr pkg-plist 
  Log:
  * Add SLAVE option in order to install documentation for lang/ghc.
  * Remove documentation. It's now available through devel/hs-haddock-docs.
  * add devel/readline dependency if already installed.
  
  PR:             ports/120975
  Submitted by:   Jacula Modyun <jacula@gmail.com>
  
  Revision  Changes    Path
  1.31      +30 -30    ports/devel/hs-haddock/Makefile
  1.2       +6 -3      ports/devel/hs-haddock/pkg-descr
  1.10      +24 -21    ports/devel/hs-haddock/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 7 Oliver Braun freebsd_committer freebsd_triage 2008-02-29 21:10:31 UTC
State Changed
From-To: open->closed

Committed, thanks! 
Great work!
Comment 8 dfilter service freebsd_committer freebsd_triage 2008-02-29 21:16:02 UTC
obraun      2008-02-29 21:15:51 UTC

  FreeBSD ports repository

  Modified files:
    lang/ghc             Makefile distinfo pkg-descr pkg-plist 
  Added files:
    lang/ghc/files       
                         patch-libraries-Cabal-Distribution-Simple-Haddock.hs 
                         pkg-message.haddock.in 
  Log:
  * Add new knob WITH_DOCS to install the user
    documentation and the hyperlinkable documentation, generated
    by haddock and HsColour.
  * Build haddock and HsColour for building documentaion only.
  * Install manpage.
  
  PR:             ports/120975
  Submitted by:   Jacula Modyun <jacula@gmail.com>
  
  Revision  Changes      Path
  1.62      +98 -9       ports/lang/ghc/Makefile
  1.30      +6 -0        ports/lang/ghc/distinfo
  1.1       +11 -0       ports/lang/ghc/files/patch-libraries-Cabal-Distribution-Simple-Haddock.hs (new)
  1.1       +9 -0        ports/lang/ghc/files/pkg-message.haddock.in (new)
  1.2       +17 -7       ports/lang/ghc/pkg-descr
  1.27      +1514 -1581  ports/lang/ghc/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"