On Wed, Dec 11, 2013 at 9:41 PM, Matthias Kilian <[email protected]> wrote:
> Remove postscript and pdf documentation.
>
> The haddock manual and the ghc users guide are already available
> as HTML, and everything else in Haskell land (especially all the
> libraries) is HTML only, so there's no point in keeping them.
>
> This may help edd@ to work on even more minimal minimalistic texlive
> packages.
>
> (And I've no idea wether that LATEX_DOCS=NO in MAKE_FLAGS used for
> the no_doc flavor actually does anything, but the *normal* build
> succeeds without dblatex and even texlive installed)

Less is more.
OK with me.

ciao,
David

> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/lang/ghc/Makefile,v
> retrieving revision 1.106
> diff -u -p -r1.106 Makefile
> --- Makefile    25 Nov 2013 14:16:23 -0000      1.106
> +++ Makefile    11 Dec 2013 20:30:22 -0000
> @@ -13,6 +13,7 @@ DISTNAME =            ghc-${MODGHC_VER}
>  PKGNAME-main =         ghc-${MODGHC_VER}
>  REVISION-main =                1
>  PKGNAME-doc =          ghc-doc-${MODGHC_VER}
> +REVISION-doc =         0
>  CATEGORIES =           lang devel
>  HOMEPAGE =             http://www.haskell.org/ghc/
>
> @@ -79,16 +80,14 @@ CONFIGURE_ENV +=    CONF_CC_OPTS_STAGE0="-f
>
>  MAKE_FLAGS +=          StripLibraries=YES \
>                         INSTALL_BIN_OPTS=-s \
> -                       HSCOLOUR_SRCS=NO
> +                       HSCOLOUR_SRCS=NO \
> +                       BUILD_DOCBOOK_PDF=NO \
> +                       BUILD_DOCBOOK_PS=NO
>
>  .if ${FLAVOR:Mno_doc}
>  MAKE_FLAGS +=          HADDOCK_DOCS=NO \
>                         LATEX_DOCS=NO \
> -                       BUILD_DOCBOOK_HTML=NO \
> -                       BUILD_DOCBOOK_PDF=NO \
> -                       BUILD_DOCBOOK_PS=NO
> -.else
> -BUILD_DEPENDS +=       textproc/dblatex
> +                       BUILD_DOCBOOK_HTML=NO
>  .endif
>
>  # Thank god that they're only building compilers and no nuclear
> Index: pkg/PLIST-doc
> ===================================================================
> RCS file: /cvs/ports/lang/ghc/pkg/PLIST-doc,v
> retrieving revision 1.18
> diff -u -p -r1.18 PLIST-doc
> --- pkg/PLIST-doc       18 Jul 2013 21:43:24 -0000      1.18
> +++ pkg/PLIST-doc       11 Dec 2013 18:45:38 -0000
> @@ -1,7 +1,5 @@
>  @comment $OpenBSD: PLIST-doc,v 1.18 2013/07/18 21:43:24 kili Exp $
>  share/doc/ghc/
> -share/doc/ghc/haddock.pdf
> -share/doc/ghc/haddock.ps
>  share/doc/ghc/html/
>  share/doc/ghc/html/haddock/
>  share/doc/ghc/html/haddock/ch01s03.html
> @@ -2535,5 +2533,3 @@ share/doc/ghc/html/users_guide/win32-dll
>  share/doc/ghc/html/users_guide/win32.html
>  share/doc/ghc/html/users_guide/wrong-compilee.html
>  share/doc/ghc/html/users_guide/wrong.html
> -share/doc/ghc/users_guide.pdf
> -share/doc/ghc/users_guide.ps
>

Reply via email to