Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 2008 15:40:03 GMT
From:      Jacula Modyun <jacula@gmail.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/121081: [NEW PORT]: graphics/hs-HGL-ghc
Message-ID:  <200803011540.m21Fe3Hj081018@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/121081; it has been noted by GNATS.

From: Jacula Modyun <jacula@gmail.com>
To: bug-followup@FreeBSD.org, jacula@gmail.com
Cc:  
Subject: Re: ports/121081: [NEW PORT]: graphics/hs-HGL-ghc
Date: Sat, 1 Mar 2008 15:36:28 +0000

 --W/nzBZO5zC0uMSeA
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 
 Hi,
 
 In this last archive is been add the documentation, and changed a little the
 installation process.
 
 Best Regards
 
 JM
 
 --W/nzBZO5zC0uMSeA
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="hs-HGL-ghc.shar"
 
 # 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-HGL-ghc
 #	hs-HGL-ghc/Makefile
 #	hs-HGL-ghc/pkg-descr
 #	hs-HGL-ghc/distinfo
 #	hs-HGL-ghc/pkg-plist
 #
 echo c - hs-HGL-ghc
 mkdir -p hs-HGL-ghc > /dev/null 2>&1
 echo x - hs-HGL-ghc/Makefile
 sed 's/^X//' >hs-HGL-ghc/Makefile << 'END-of-hs-HGL-ghc/Makefile'
 X# New ports collection makefile for: hs-HGL-ghc
 X# Date created:        February 25 2008
 X# Whom:                Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>
 X#
 X# $FreeBSD
 X#
 X
 XPORTNAME=	HGL
 XPORTVERSION=	3.2.0.0
 XCATEGORIES=	graphics haskell
 XMASTER_SITES=	http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
 XPKGNAMEPREFIX=	hs-
 XPKGNAMESUFFIX=	-ghc
 X
 XMAINTAINER=	jacula@gmail.com
 XCOMMENT=	A simple graphics library based on X11 or Win32
 X
 XBUILD_DEPENDS+=	ghc:${PORTSDIR}/lang/ghc \
 X		hs-x11-ghc>=1.2.1:${PORTSDIR}/x11/hs-x11-ghc
 X
 XGHC_VERSION=	6.8.2
 XHGL_VERSION=	${PORTVERSION}
 X
 XGHC_CMD=	${LOCALBASE}/bin/ghc
 XSETUP_CMD=	./setup
 X
 XHGL_LIBDIR_REL=	lib/${DISTNAME}
 XDOCSDIR=	${PREFIX}/share/doc/${DISTNAME}
 X
 XPLIST_SUB=	GHC_VERSION=${GHC_VERSION} \
 X		HGL_VERSION=${HGL_VERSION} \
 X		HGL_LIBDIR_REL=${HGL_LIBDIR_REL}
 X
 X.if !defined(NOPORTDOCS)
 XBUILD_DEPENDS+=	haddock:${PORTSDIR}/devel/hs-haddock \
 X		HsColour:${PORTSDIR}/print/hs-hscolour
 X
 XHSCOLOUR_VERSION=	1.9
 XHSCOLOUR_DATADIR=	${LOCALBASE}/share/hscolour-${HSCOLOUR_VERSION}
 X.endif
 X
 X.SILENT:
 X
 Xdo-configure:
 X	cd ${WRKSRC} && ${GHC_CMD} --make Setup.hs -o setup -package Cabal \
 X		     && ${SETUP_CMD} configure --prefix=${PREFIX}
 X
 Xdo-build:
 X	cd ${WRKSRC} && ${SETUP_CMD} build \
 X		     && ${SETUP_CMD} register --gen-script
 X
 X.if !defined(NOPORTDOCS)
 X	cd ${WRKSRC} && ${SETUP_CMD} haddock --executables --hyperlink-source \
 X	                                     --hscolour-css=${HSCOLOUR_DATADIR}/hscolour.css
 X.endif
 X
 Xdo-install:
 X	cd ${WRKSRC} && ${SETUP_CMD} install \
 X		     && ${INSTALL_SCRIPT} register.sh ${PREFIX}/${HGL_LIBDIR_REL}/register.sh
 X
 Xpost-install:
 X	${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old
 X
 X.include <bsd.port.mk>
 END-of-hs-HGL-ghc/Makefile
 echo x - hs-HGL-ghc/pkg-descr
 sed 's/^X//' >hs-HGL-ghc/pkg-descr << 'END-of-hs-HGL-ghc/pkg-descr'
 XA simple graphics library, designed to give the programmer access
 Xto most interesting parts of the Win32 Graphics Device Interface
 Xand X11 library without exposing the programmer to the pain and
 Xanguish usually associated with using these interfaces.
 XThe library also includes a module Graphics.SOE providing the
 Xinterface used in "The Haskell School of Expression", by Paul
 XHudak, cf <http://www.haskell.org/soe/>.
 X
 Xauthor: 	Alastair Reid
 Xmaintainer:	<libraries@haskell.org>
 Xlicense:	BSD3
 XWWW:		http://www.haskell.org/graphics/index.html
 X
 Xexposed-modules:
 X	Graphics.HGL.Core, Graphics.HGL.Draw, Graphics.HGL.Units,
 X	Graphics.HGL.Key, Graphics.HGL.Run, Graphics.HGL.Draw.Brush,
 X	Graphics.HGL.Draw.Font, Graphics.HGL.Draw.Monad, Graphics.HGL.Draw.Pen,
 X	Graphics.HGL.Draw.Picture, Graphics.HGL.Draw.Region, Graphics.HGL.Draw.Text,
 X	Graphics.HGL.Utils, Graphics.HGL.Window, Graphics.HGL, Graphics.SOE
 END-of-hs-HGL-ghc/pkg-descr
 echo x - hs-HGL-ghc/distinfo
 sed 's/^X//' >hs-HGL-ghc/distinfo << 'END-of-hs-HGL-ghc/distinfo'
 XMD5 (HGL-3.2.0.0.tar.gz) = 9d3858e5d76e10cdbaf9f5dabf3287e7
 XSHA256 (HGL-3.2.0.0.tar.gz) = fa7cb1981f6e5a89b35e0fc2593c0945175a0d97fc3bc356cc8724fa1c881e86
 XSIZE (HGL-3.2.0.0.tar.gz) = 38824
 END-of-hs-HGL-ghc/distinfo
 echo x - hs-HGL-ghc/pkg-plist
 sed 's/^X//' >hs-HGL-ghc/pkg-plist << 'END-of-hs-HGL-ghc/pkg-plist'
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/Core.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/Draw.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/Draw/Brush.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/Draw/Font.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/Draw/Monad.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/Draw/Pen.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/Draw/Picture.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/Draw/Region.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/Draw/Text.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/Internals/Draw.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/Internals/Event.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/Internals/Events.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/Internals/Flag.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/Internals/Types.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/Internals/Utilities.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/Key.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/Run.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/Units.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/Utils.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/Window.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/X11/DC.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/X11/Display.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/X11/Timer.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/X11/Types.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/X11/Window.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/SOE.hi
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HSHGL-%%HGL_VERSION%%.o
 X%%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHSHGL-%%HGL_VERSION%%.a
 X%%HGL_LIBDIR_REL%%/register.sh
 X%%DOCSDIR%%/LICENSE
 X%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-HGL-Core.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-HGL-Draw-Brush.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-HGL-Draw-Font.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-HGL-Draw-Monad.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-HGL-Draw-Pen.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-HGL-Draw-Picture.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-HGL-Draw-Region.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-HGL-Draw-Text.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-HGL-Draw.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-HGL-Key.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-HGL-Run.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-HGL-Units.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-HGL-Utils.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-HGL-Window.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-HGL.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-SOE.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/HGL.haddock
 X%%PORTDOCS%%%%DOCSDIR%%/html/doc-index.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/haddock-util.js
 X%%PORTDOCS%%%%DOCSDIR%%/html/haddock.css
 X%%PORTDOCS%%%%DOCSDIR%%/html/haskell_icon.gif
 X%%PORTDOCS%%%%DOCSDIR%%/html/index.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/minus.gif
 X%%PORTDOCS%%%%DOCSDIR%%/html/plus.gif
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL-Core.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL-Draw-Brush.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL-Draw-Font.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL-Draw-Monad.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL-Draw-Pen.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL-Draw-Picture.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL-Draw-Region.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL-Draw-Text.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL-Draw.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL-Internals-Draw.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL-Internals-Event.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL-Internals-Events.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL-Internals-Flag.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL-Internals-Types.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL-Internals-Utilities.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL-Key.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL-Run.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL-Units.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL-Utils.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL-Window.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL-X11-DC.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL-X11-Display.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL-X11-Timer.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL-X11-Types.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL-X11-Window.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-HGL.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/Graphics-SOE.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/src/hscolour.css
 X%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/src
 X%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
 X@dirrm %%DOCSDIR%%
 X@dirrm %%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/X11
 X@dirrm %%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/Internals
 X@dirrm %%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL/Draw
 X@dirrm %%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/HGL
 X@dirrm %%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics
 X@dirrm %%HGL_LIBDIR_REL%%/ghc-%%GHC_VERSION%%
 X@dirrm %%HGL_LIBDIR_REL%%
 X@exec /bin/sh %D/%%HGL_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 HGL || /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-HGL-ghc/pkg-plist
 exit
 
 
 --W/nzBZO5zC0uMSeA--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803011540.m21Fe3Hj081018>