head	1.8;
access;
symbols
	RELEASE_7_3_0:1.6
	RELEASE_8_0_0:1.4
	RELEASE_7_2_0:1.3;
locks; strict;
comment	@# @;


1.8
date	2010.05.24.21.52.35;	author pgj;	state dead;
branches;
next	1.7;

1.7
date	2010.05.12.16.33.53;	author pgj;	state Exp;
branches;
next	1.6;

1.6
date	2009.12.15.20.07.58;	author pgj;	state Exp;
branches;
next	1.5;

1.5
date	2009.12.06.20.56.53;	author pgj;	state Exp;
branches;
next	1.4;

1.4
date	2009.09.02.15.38.42;	author pgj;	state Exp;
branches;
next	1.3;

1.3
date	2009.03.30.13.13.04;	author pgj;	state Exp;
branches;
next	1.2;

1.2
date	2009.03.06.19.50.25;	author pgj;	state Exp;
branches;
next	1.1;

1.1
date	2009.01.23.23.47.58;	author pgj;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Rename the following Haskell ports to bring them in sync with the
HackageDB:

  archivers/hs-zip-archive-ghc -> archivers/hs-zip-archive
  devel/hs-binary-ghc -> devel/hs-binary
  devel/darcs -> devel/hs-darcs
  devel/hs-language-c-ghc -> devel/hs-language-c
  devel/hs-lazysmallcheck-ghc -> devel/hs-lazysmallcheck
  devel/hs-pcre-light-ghc -> devel/hs-pcre-light
  devel/hs-utf8-string-ghc -> devel/hs-utf8-string
  graphics/hs-HGL-ghc -> graphics/hs-HGL
  ports-mgmt/porte -> ports-mgmt/hs-porte
  security/hs-digest-ghc -> security/hs-digest
  textproc/hs-haxml -> textproc/hs-HaXml
  textproc/hs-highlighting-kate-ghc -> textproc/hs-highlighting-kate
  textproc/hs-polyparse-ghc -> textproc/hs-polyparse
  textproc/pandoc -> textproc/hs-pandoc
  x11/hs-x11-ghc -> x11/hs-X11
  x11/hs-x11-xft-ghc -> x11/hs-X11-xft
  x11/xmobar -> x11/hs-xmobar
  x11-toolkits/hs-opengl-ghc -> x11-toolkits/hs-OpenGL
  x11-toolkits/hs-OpenGLRaw-ghc -> x11-toolkits/hs-OpenGLRaw
  x11-toolkits/hs-GLURaw-ghc -> x11-toolkits/hs-GLURaw
  x11-toolkits/hs-glut-ghc -> x11-toolkits/hs-GLUT
  x11-wm/xmonad -> x11-wm/hs-xmonad
  x11-wm/xmonad-contrib -> x11-wm/hs-xmonad-contrib
@
text
@# New ports collection makefile for:	hs-digest-ghc
# Date created:				January 22, 2009
# Whom:					Gabor Pali <pgj@@FreeBSD.org>
#
# $FreeBSD: ports/security/hs-digest-ghc/Makefile,v 1.7 2010/05/12 16:33:53 pgj Exp $
#

PORTNAME=	digest
PORTVERSION=	0.0.0.8
CATEGORIES=	security haskell
PKGNAMESUFFIX=	-ghc

MAINTAINER=	haskell@@FreeBSD.org
COMMENT=	Efficient cryptographic hash implementations in Haskell

CABAL_SETUP=	Setup.hs

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
@


1.7
log
@Introduce a new (and hopefully better) ports infrastructure for Haskell Cabal
ports which makes possible the direct translation of Cabal package
descriptions to FreeBSD ports.  It promises both easier addition and
maintenance for Cabal-based ports.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.6
log
@- Update to 0.0.0.8
@
text
@a10 2
MASTER_SITES=	http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
PKGNAMEPREFIX=	hs-
d16 1
a16 57
BUILD_DEPENDS=	ghc>=6.10:${PORTSDIR}/lang/ghc
RUN_DEPENDS=	ghc>=6.10:${PORTSDIR}/lang/ghc

GHC_VERSION=	6.10.4
DIGEST_VERSION=	${PORTVERSION}

GHC_CMD=	${LOCALBASE}/bin/ghc
SETUP_CMD=	./setup

DOCSDIR=	${PREFIX}/share/doc/${DISTNAME}
DIGEST_LIBDIR_REL=	lib/${DISTNAME}

PLIST_SUB=	GHC_VERSION=${GHC_VERSION} \
		DIGEST_VERSION=${DIGEST_VERSION} \
		DIGEST_LIBDIR_REL=${DIGEST_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}/${DIGEST_LIBDIR_REL}/register.sh

post-install:
	${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old
d18 1
@


1.5
log
@- Update HsColour to 1.15
- Bump PORTREVISION for all affected ports

PR:		ports/138567, ports/138568
Submitted by:	Ashish Shukla <wahjava (at) gmail.com>
Approved by:	maintainer
@
text
@d9 1
a9 2
PORTVERSION=	0.0.0.6
PORTREVISION=	1
d18 2
a19 2
BUILD_DEPENDS=	ghc>=6.8:${PORTSDIR}/lang/ghc
RUN_DEPENDS=	ghc>=6.8:${PORTSDIR}/lang/ghc
@


1.4
log
@- Update GHC and Haskell ports to 6.10.4 (for both i386 and amd64), bump
  port revision where appropriate
- Add devel/hs-ghc-paths
- Add devel/hs-QuickCheck
- Add devel/hs-readline
- Add devel/hs-haskeline
- Add devel/hs-mmap
- Remove lang/ghc-doc
- Mark devel/lhs2TeX broken as it does not compile with GHC 6.10.4
- Set NHC98 as default compiler for devel/hs-hat as it does not compile
  with GHC 6.10.4

PR:		ports/137055, ports/137058, ports/137059, ports/137060, ports/137061,
   		ports/137062, ports/137063, ports/137063, ports/137064, ports/137065,
   		ports/137066, ports/137067, ports/137068, ports/137069, ports/137070,
   		ports/137071, ports/137072, ports/137074, ports/137075, ports/137076,
   		ports/137077, ports/137078, ports/137079, ports/137080, ports/137081,
   		ports/137082, ports/137083, ports/137084, ports/137085, ports/137086,
   		ports/137087, ports/137088, ports/137090, ports/137091, ports/137092,
   		ports/137093, ports/137094, ports/137095, ports/137096, ports/137097,
   		ports/137098, ports/137099, ports/137102, ports/137103, ports/137104,
   		ports/137107, ports/137108, ports/137109, ports/137110, ports/137111

Submitted by:	Jacula Modyun (jacula (at) gmail (dot) com),
             	Ashish Shukla (wahjava (at) gmail (dot) com) (amd64 support)
Supported by:	wxs (review, amd64 testing), tabthorpe (8.x testing)
Approved by:	tabthorpe (mentor), respective maintainers
@
text
@d10 1
d49 1
a49 1
HSCOLOUR_VERSION=	1.13
@


1.3
log
@- Update to 0.0.0.5

Approved by:	gabor
@
text
@d9 1
a9 1
PORTVERSION=	0.0.0.5
d21 2
a22 11
GHC_VERSION=	6.8.3
CABALCMD=	${LOCALBASE}/bin/runghc Setup.hs
CABALDIR=	lib/ghc-${GHC_VERSION}/cabal

SUBDIR=		lib/${PORTNAME}-${PORTVERSION}
PLIST_SUB=	GHC_VERSION=${GHC_VERSION}		\
		PORTNAME=${PORTNAME}			\
		PORTVERSION=${PORTVERSION}		\
		SUBDIR=${CABALDIR}
DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS=	LICENSE html
d24 15
a38 1
CONFIGURE_ARGS=	--ghc --prefix=${PREFIX} --libdir=${PREFIX}/${CABALDIR} --libsubdir='' --datasubdir=''
d41 3
d45 7
a51 3
PLIST_SUB+=	RMLIC="@@comment "
.else
PLIST_SUB+=	RMLIC=""
d54 2
d57 2
a58 1
	cd ${WRKSRC} && ${CABALCMD} configure ${CONFIGURE_ARGS}
d61 3
a63 1
	cd ${WRKSRC} && ${CABALCMD} build && ${CABALCMD} --gen-script register
d65 2
a66 1
	cd ${WRKSRC} && ${CABALCMD} haddock
d70 5
a74 2
	cd ${WRKSRC} && ${CABALCMD} install
	${INSTALL_SCRIPT} ${WRKSRC}/register.sh ${PREFIX}/${CABALDIR}/${PORTNAME}-register.sh
@


1.2
log
@- Update to 0.0.0.4

Approved by:	tabthorpe
@
text
@d9 1
a9 1
PORTVERSION=	0.0.0.4
@


1.1
log
@This package provides efficient cryptographic hash implementations for
strict and lazy bytestrings for the functional programming language
Haskell.

WWW: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/digest

Reviewed by:	gabor
Approved by:	tabthorpe
@
text
@d9 1
a9 1
PORTVERSION=	0.0.0.2
@

