head	1.14;
access;
symbols
	RELEASE_6_0_0:1.13
	RELEASE_5_4_0:1.11
	RELEASE_4_11_0:1.9
	RELEASE_5_3_0:1.9
	RELEASE_4_10_0:1.9
	RELEASE_5_2_1:1.5
	RELEASE_5_2_0:1.5
	RELEASE_4_9_0:1.5
	RELEASE_5_1_0:1.5
	RELEASE_4_8_0:1.5
	RELEASE_5_0_0:1.4
	RELEASE_4_7_0:1.1;
locks; strict;
comment	@# @;


1.14
date	2005.11.05.09.07.32;	author kris;	state dead;
branches;
next	1.13;

1.13
date	2005.07.23.02.53.29;	author kris;	state Exp;
branches;
next	1.12;

1.12
date	2005.04.22.07.22.34;	author vs;	state Exp;
branches;
next	1.11;

1.11
date	2005.02.10.08.08.59;	author vs;	state Exp;
branches;
next	1.10;

1.10
date	2005.02.08.15.58.21;	author vs;	state Exp;
branches;
next	1.9;

1.9
date	2004.03.11.07.48.12;	author obraun;	state Exp;
branches;
next	1.8;

1.8
date	2004.03.06.21.29.57;	author obraun;	state Exp;
branches;
next	1.7;

1.7
date	2004.02.04.05.21.36;	author marcus;	state Exp;
branches;
next	1.6;

1.6
date	2004.01.31.11.16.44;	author obraun;	state Exp;
branches;
next	1.5;

1.5
date	2003.02.18.10.50.46;	author obraun;	state Exp;
branches;
next	1.4;

1.4
date	2002.11.20.09.10.54;	author obraun;	state Exp;
branches;
next	1.3;

1.3
date	2002.11.10.16.46.51;	author lioux;	state Exp;
branches;
next	1.2;

1.2
date	2002.11.05.21.55.20;	author obraun;	state Exp;
branches;
next	1.1;

1.1
date	2002.08.22.15.31.43;	author obraun;	state Exp;
branches;
next	;


desc
@@


1.14
log
@Remove expired ports
@
text
@# New ports collection makefile for:	generic-haskell
# Date created:				05 July 2002
# Whom:					Oliver Braun <obraun@@informatik.unibw-muenchen.de>
#
# $FreeBSD: ports/lang/generic-haskell/Makefile,v 1.13 2005/07/23 02:53:29 kris Exp $

PORTNAME=	generic-haskell
PORTVERSION=	1.42
CATEGORIES=	lang haskell
MASTER_SITES=	http://www.cs.uu.nl/research/projects/generic-haskell/compiler/coral/
DISTNAME=	gh-${PORTVERSION}-source

MAINTAINER=	haskell@@FreeBSD.org
COMMENT=	The Generic Haskell compiler

BROKEN=		"Not compatible with latest GHC yet"
DEPRECATED=	${BROKEN}
EXPIRATION_DATE=2005-09-22

BUILD_DEPENDS=	ghc:${PORTSDIR}/lang/ghc \
		bash:${PORTSDIR}/shells/bash

.if !defined(WITHOUT_HUGS)	# otherwise the gh-hugs-wrapper won't work
BUILD_DEPENDS+=	hugs:${PORTSDIR}/lang/hugs
PLIST_SUB+=	HUGS=""
.else
PLIST_SUB+=	HUGS="@@comment "
.endif

RUN_DEPENDS=	${BUILD_DEPENDS}

.include <bsd.port.pre.mk>

.if exists(${LOCALBASE}/bin/DrIFT)
BROKEN=		"Does not build with devel/hs-drift installed"
.endif

GNU_CONFIGURE=	yes
CONFIGURE_SCRIPT=	../configure
CONFIGURE_ARGS=	--without-upx
USE_GMAKE=	yes
ALL_TARGET=
INSTALL_TARGET=	install

GHC_VERSION=    `${LOCALBASE}/bin/ghc --numeric-version`
PLIST_SUB+=     GHC_VERSION="${GHC_VERSION}"

PATCH_WRKSRC=	${WRKDIR}/${DISTNAME:S/-source//}
WRKSRC=		${WRKDIR}/${DISTNAME:S/-source//}/build
GHLIBDIR=	${PREFIX}/${DISTNAME:S/-source//}
PLIST_SUB+=	GH=${DISTNAME:S/-source//}

post-install:
.if defined(WITHOUT_HUGS)
	@@${RM} ${PREFIX}/bin/gh-hugs
.endif
	@@${SH} ${PKGINSTALL} generic-haskell POST-INSTALL
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	@@${CP} -R ${WRKDIR}/${DISTNAME:S/-source//}/doc/* ${DOCSDIR}
.endif

.include <bsd.port.post.mk>
@


1.13
log
@This port is scheduled for deletion on 2005-09-22 if it is still broken
at that time and no PRs have been submitted to fix it.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.12
log
@Mark as BROKEN: Not compatible with latest GHC yet
@
text
@d17 2
@


1.11
log
@Eliminate /bin/bash-Linuxism

Noticed by: cluster via kris
@
text
@d16 2
@


1.10
log
@Update to 1.42
@
text
@d16 3
a18 1
BUILD_DEPENDS=	ghc:${PORTSDIR}/lang/ghc
d44 1
@


1.9
log
@deUSE_SIZEify.
@
text
@d8 1
a8 2
PORTVERSION=	1.23
PORTREVISION=	1
d10 1
a10 1
MASTER_SITES=	http://www.cs.uu.nl/research/projects/generic-haskell/compiler/beryl/
d17 8
d26 9
a34 2
USE_REINPLACE=	yes
HAS_CONFIGURE=	yes
d36 2
a37 1
ALL_TARGET=	gh
d39 2
a40 2
WRKSRC=		${WRKDIR}/${DISTNAME:S/-source//}
GHLIBDIR=	${PREFIX}/lib/generic-haskell
d42 9
a50 12
post-patch:
	@@${REINPLACE_CMD} -e 's|@@prefix@@|${PREFIX}|' ${WRKSRC}/src/Makefile.in

do-install:
	@@${INSTALL_PROGRAM} ${WRKSRC}/src/gh ${PREFIX}/bin
	@@${MKDIR} ${GHLIBDIR}
	@@${CP} -R ${WRKSRC}/lib/*.gh[is] ${GHLIBDIR}
	@@${CP} -R ${WRKSRC}/lib/*.h[is] ${GHLIBDIR}
	@@${MKDIR} ${GHLIBDIR}/Exts
	@@${CP} -R ${WRKSRC}/lib/Exts/*.gh[is] ${GHLIBDIR}/Exts
	@@${MKDIR} ${GHLIBDIR}/Std
	@@${CP} -R ${WRKSRC}/lib/Std/*.gh[is] ${GHLIBDIR}/Std
d53 1
a53 1
	@@${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}
d56 1
a56 1
.include <bsd.port.mk>
@


1.8
log
@Set maintainer to the new created haskell@@ mail alias.
@
text
@a18 1
USE_SIZE=	yes
@


1.7
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 2)
@
text
@d14 1
a14 1
MAINTAINER=	obraun@@FreeBSD.org
@


1.6
log
@SIZE-ify
@
text
@d9 1
@


1.5
log
@De-pkg-comment and make portlint a little bit happier.
@
text
@d18 1
@


1.4
log
@Add the new virtual category haskell.
@
text
@d14 1
@


1.3
log
@o Rollback PORTCOMMENT modifications while this feature's implementation
  is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
@
text
@d9 1
a9 1
CATEGORIES=	lang
@


1.2
log
@Use PORTCOMMENT variable instead of pkg-comment file.
@
text
@a8 1
PORTCOMMENT=	The Generic Haskell compiler
@


1.1
log
@Add generic-haskell 1.23, the Generic Haskell compiler.

PR:		ports/40239
Approved by:	dwcjr (mentor)
@
text
@d9 1
@

