# 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:
#
#	happy
#	happy/files
#	happy/files/md5
#	happy/pkg
#	happy/pkg/COMMENT
#	happy/pkg/DESCR
#	happy/pkg/PLIST
#	happy/Makefile
#
echo c - happy
mkdir -p happy > /dev/null 2>&1
echo c - happy/files
mkdir -p happy/files > /dev/null 2>&1
echo x - happy/files/md5
sed 's/^X//' >happy/files/md5 << 'END-of-happy/files/md5'
XMD5 (happy-1.8-src.tar.gz) = 04db583e59e22a0b8f59deaad45405dd
END-of-happy/files/md5
echo c - happy/pkg
mkdir -p happy/pkg > /dev/null 2>&1
echo x - happy/pkg/COMMENT
sed 's/^X//' >happy/pkg/COMMENT << 'END-of-happy/pkg/COMMENT'
XThe Happy Haskell parser generator
END-of-happy/pkg/COMMENT
echo x - happy/pkg/DESCR
sed 's/^X//' >happy/pkg/DESCR << 'END-of-happy/pkg/DESCR'
XHappy is a parser generator system for Haskell, similar to the tool
X`yacc' for C. Like `yacc', it takes a file containing an annotated BNF
Xspecification of a grammar and produces a Haskell module containing a
Xparser for the grammar.
X
XHappy is flexible; unlike `yacc', you can have several Happy parsers
Xin the same program. Happy can work in conjunction with a lexical
Xanalyser supplied by the user (either hand-written or generated by
Xanother program), or it can parse a stream of characters directly
X(but this isn't practical in most cases).
X
XWWW: http://www.haskell.org/happy/
END-of-happy/pkg/DESCR
echo x - happy/pkg/PLIST
sed 's/^X//' >happy/pkg/PLIST << 'END-of-happy/pkg/PLIST'
Xbin/happy
Xbin/happy-1.8
Xlib/happy.bin
Xlib/happy/HappyTemplate
Xlib/happy/HappyTemplate-arrays
Xlib/happy/HappyTemplate-arrays-coerce
Xlib/happy/HappyTemplate-arrays-debug
Xlib/happy/HappyTemplate-arrays-ghc
Xlib/happy/HappyTemplate-arrays-coerce-debug
Xlib/happy/HappyTemplate-arrays-ghc-debug
Xlib/happy/HappyTemplate-coerce
Xlib/happy/HappyTemplate-ghc
X@dirrm lib/happy
END-of-happy/pkg/PLIST
echo x - happy/Makefile
sed 's/^X//' >happy/Makefile << 'END-of-happy/Makefile'
X# New ports collection makefile for:	happy
X# Date created:				27 July 2000
X# Whom:					onoue@ipl.t.u-tokyo.ac.jp
X#
X# $FreeBSD$
X
XPORTNAME=	happy
XPORTVERSION=	1.8
XCATEGORIES=	lang
XMASTER_SITES=	http://www.haskell.org/happy/dist/${PORTVERSION}/
XDISTNAME=	${PORTNAME}-${PORTVERSION}-src
X
XMAINTAINER=	ports@FreeBSD.org
X
XBUILD_DEPENDS=	ghc:${PORTSDIR}/lang/ghc
X
XUSE_GMAKE=	yes
XUSE_AUTOCONF=	yes
XGNU_CONFIGURE=	yes
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
X
Xpre-build:
X	@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} boot)
X
X.include <bsd.port.mk>
END-of-happy/Makefile
exit

