summaryrefslogtreecommitdiff
path: root/devel/happy
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-12-26 05:25:48 +0000
committerWill Andrews <will@FreeBSD.org>2000-12-26 05:25:48 +0000
commit34f7aaa2ab45dde5e60aa236405b0de4d7127094 (patch)
tree3133aa74425661c900f36162abfa2dc42d0ff8a1 /devel/happy
parentAdd gutenbook 0.1.10, a product of Project Gutenberg, which aims to provide (diff)
Add happy 1.9, a parser generator for the functional language Haskell.
PR: 23750 Submitted by: Simon Marlow <simonmar@microsoft.com>
Notes
Notes: svn path=/head/; revision=36361
Diffstat (limited to 'devel/happy')
-rw-r--r--devel/happy/Makefile45
-rw-r--r--devel/happy/distinfo1
-rw-r--r--devel/happy/pkg-comment1
-rw-r--r--devel/happy/pkg-descr5
-rw-r--r--devel/happy/pkg-plist51
5 files changed, 103 insertions, 0 deletions
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 <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/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 <simonmar@microsoft.com>
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