From 34f7aaa2ab45dde5e60aa236405b0de4d7127094 Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Tue, 26 Dec 2000 05:25:48 +0000 Subject: Add happy 1.9, a parser generator for the functional language Haskell. PR: 23750 Submitted by: Simon Marlow --- devel/happy/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++ devel/happy/distinfo | 1 + devel/happy/pkg-comment | 1 + devel/happy/pkg-descr | 5 +++++ devel/happy/pkg-plist | 51 +++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 103 insertions(+) create mode 100644 devel/happy/Makefile create mode 100644 devel/happy/distinfo create mode 100644 devel/happy/pkg-comment create mode 100644 devel/happy/pkg-descr create mode 100644 devel/happy/pkg-plist (limited to 'devel/happy') diff --git a/devel/happy/Makefile b/devel/happy/Makefile new file mode 100644 index 000000000000..4ba47f7a1649 --- /dev/null +++ b/devel/happy/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: happy +# Date created: 22 December 2000 +# Whom: Simon Marlow +# +# $FreeBSD$ + +PORTNAME= happy +PORTVERSION= 1.9 +CATEGORIES= devel +MASTER_SITES= http://www.haskell.org/happy/dist/1.9/ +DISTNAME= ${PORTNAME}-${PORTVERSION}-src + +MAINTAINER= simonmar@microsoft.com + +BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc +.if !defined(NOPORTDOCS) +BUILD_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/dsssl/modular:${PORTSDIR}/textproc/dsssl-docbook-modular \ + ${LOCALBASE}/share/sgml/docbook/catalog:${PORTSDIR}/textproc/docbook \ + ${LOCALBASE}/share/sgml/iso8879:${PORTSDIR}/textproc/iso8879 \ + jade:${PORTSDIR}/textproc/jade +.endif + +WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//g} +USE_GMAKE= yes +GNU_CONFIGURE= yes + +BOOT_COOKIE = ${WRKDIR}/.boot_done + +${BOOT_COOKIE}: + @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} boot) + +pre-build: ${BOOT_COOKIE} + +post-build: +.if !defined(NOPORTDOCS) + @(cd ${WRKSRC}/happy/doc && \ + ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} html) +.endif + +post-install: +.if !defined(NOPORTDOCS) + @(cd ${WRKSRC}/happy/doc && ${CP} -R happy ${PREFIX}/share/doc) +.endif + +.include diff --git a/devel/happy/distinfo b/devel/happy/distinfo new file mode 100644 index 000000000000..06be8e9e7c7e --- /dev/null +++ b/devel/happy/distinfo @@ -0,0 +1 @@ +MD5 (happy-1.9-src.tar.gz) = 6e6e622f1b15efe69abe0254109c69ca diff --git a/devel/happy/pkg-comment b/devel/happy/pkg-comment new file mode 100644 index 000000000000..0437352c0069 --- /dev/null +++ b/devel/happy/pkg-comment @@ -0,0 +1 @@ +An LALR(1) parser generator for the functional language Haskell diff --git a/devel/happy/pkg-descr b/devel/happy/pkg-descr new file mode 100644 index 000000000000..20f0c1a7c4f9 --- /dev/null +++ b/devel/happy/pkg-descr @@ -0,0 +1,5 @@ +This is Happy version 1.9, a parser generator for Haskell 98. + +WWW: http://www.haskell.org/happy/ + +-- Simon Marlow diff --git a/devel/happy/pkg-plist b/devel/happy/pkg-plist new file mode 100644 index 000000000000..a46993b44e22 --- /dev/null +++ b/devel/happy/pkg-plist @@ -0,0 +1,51 @@ +bin/happy +bin/happy-1.9 +lib/happy.bin +lib/happy/HappyTemplate +lib/happy/HappyTemplate-arrays +lib/happy/HappyTemplate-arrays-coerce +lib/happy/HappyTemplate-arrays-coerce-debug +lib/happy/HappyTemplate-arrays-debug +lib/happy/HappyTemplate-arrays-ghc +lib/happy/HappyTemplate-arrays-ghc-debug +lib/happy/HappyTemplate-coerce +lib/happy/HappyTemplate-ghc +share/doc/happy/docbook.css +share/doc/happy/happy-introduction.html +share/doc/happy/happy.html +share/doc/happy/sec-compilation-time.html +share/doc/happy/sec-conflict-tips.html +share/doc/happy/sec-directives.html +share/doc/happy/sec-error.html +share/doc/happy/sec-finding-errors.html +share/doc/happy/sec-grammar-files.html +share/doc/happy/sec-grammar.html +share/doc/happy/sec-info-files.html +share/doc/happy/sec-invoking.html +share/doc/happy/sec-license.html +share/doc/happy/sec-module-header.html +share/doc/happy/sec-module-trailer.html +share/doc/happy/sec-monads.html +share/doc/happy/sec-multiple-parsers.html +share/doc/happy/sec-obtaining.html +share/doc/happy/sec-precedences.html +share/doc/happy/sec-reporting-bugs.html +share/doc/happy/sec-sequences.html +share/doc/happy/sec-tips.html +share/doc/happy/sec-type-signatures.html +share/doc/happy/sec-using.html +share/doc/happy/stylesheet-images/caution.gif +share/doc/happy/stylesheet-images/home.gif +share/doc/happy/stylesheet-images/important.gif +share/doc/happy/stylesheet-images/next.gif +share/doc/happy/stylesheet-images/note.gif +share/doc/happy/stylesheet-images/prev.gif +share/doc/happy/stylesheet-images/tip.gif +share/doc/happy/stylesheet-images/toc-blank.gif +share/doc/happy/stylesheet-images/toc-minus.gif +share/doc/happy/stylesheet-images/toc-plus.gif +share/doc/happy/stylesheet-images/up.gif +share/doc/happy/stylesheet-images/warning.gif +@dirrm lib/happy +@dirrm share/doc/happy/stylesheet-images +@dirrm share/doc/happy -- cgit v1.2.3