diff options
author | will <will@FreeBSD.org> | 2000-12-26 13:25:48 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2000-12-26 13:25:48 +0800 |
commit | 91b34844f90ac12df52927323d4c7393cc0c621b (patch) | |
tree | 888874b632ccf6213d3ce9b2ac338936e50b9b73 /devel/hs-happy | |
parent | a4d7b2b4628b4f1f11355809ed2b7299a836cadd (diff) | |
download | freebsd-ports-graphics-91b34844f90ac12df52927323d4c7393cc0c621b.tar.gz freebsd-ports-graphics-91b34844f90ac12df52927323d4c7393cc0c621b.tar.zst freebsd-ports-graphics-91b34844f90ac12df52927323d4c7393cc0c621b.zip |
Add happy 1.9, a parser generator for the functional language Haskell.
PR: 23750
Submitted by: Simon Marlow <simonmar@microsoft.com>
Diffstat (limited to 'devel/hs-happy')
-rw-r--r-- | devel/hs-happy/Makefile | 45 | ||||
-rw-r--r-- | devel/hs-happy/distinfo | 1 | ||||
-rw-r--r-- | devel/hs-happy/pkg-comment | 1 | ||||
-rw-r--r-- | devel/hs-happy/pkg-descr | 5 | ||||
-rw-r--r-- | devel/hs-happy/pkg-plist | 51 |
5 files changed, 103 insertions, 0 deletions
diff --git a/devel/hs-happy/Makefile b/devel/hs-happy/Makefile new file mode 100644 index 00000000000..4ba47f7a164 --- /dev/null +++ b/devel/hs-happy/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: happy +# Date created: 22 December 2000 +# Whom: Simon Marlow <simonmar@microsoft.com> +# +# $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 <bsd.port.mk> diff --git a/devel/hs-happy/distinfo b/devel/hs-happy/distinfo new file mode 100644 index 00000000000..06be8e9e7c7 --- /dev/null +++ b/devel/hs-happy/distinfo @@ -0,0 +1 @@ +MD5 (happy-1.9-src.tar.gz) = 6e6e622f1b15efe69abe0254109c69ca diff --git a/devel/hs-happy/pkg-comment b/devel/hs-happy/pkg-comment new file mode 100644 index 00000000000..0437352c006 --- /dev/null +++ b/devel/hs-happy/pkg-comment @@ -0,0 +1 @@ +An LALR(1) parser generator for the functional language Haskell diff --git a/devel/hs-happy/pkg-descr b/devel/hs-happy/pkg-descr new file mode 100644 index 00000000000..20f0c1a7c4f --- /dev/null +++ b/devel/hs-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 <simonmar@microsoft.com> diff --git a/devel/hs-happy/pkg-plist b/devel/hs-happy/pkg-plist new file mode 100644 index 00000000000..a46993b44e2 --- /dev/null +++ b/devel/hs-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 |