1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Add happy 1.9, a parser generator for the functional language Haskell.

PR:		23750
Submitted by:	Simon Marlow <simonmar@microsoft.com>
This commit is contained in:
Will Andrews 2000-12-26 05:25:48 +00:00
parent fdcac3adf3
commit 34f7aaa2ab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36361
11 changed files with 207 additions and 0 deletions

View File

@ -106,6 +106,7 @@
SUBDIR += gtksheet
SUBDIR += gtranslator
SUBDIR += gvd
SUBDIR += happy
SUBDIR += i386-rtems-binutils
SUBDIR += i386-rtems-chill
SUBDIR += i386-rtems-g77

45
devel/happy/Makefile Normal file
View File

@ -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>

1
devel/happy/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (happy-1.9-src.tar.gz) = 6e6e622f1b15efe69abe0254109c69ca

1
devel/happy/pkg-comment Normal file
View File

@ -0,0 +1 @@
An LALR(1) parser generator for the functional language Haskell

5
devel/happy/pkg-descr Normal file
View File

@ -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>

51
devel/happy/pkg-plist Normal file
View File

@ -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

45
devel/hs-happy/Makefile Normal file
View File

@ -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>

1
devel/hs-happy/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (happy-1.9-src.tar.gz) = 6e6e622f1b15efe69abe0254109c69ca

View File

@ -0,0 +1 @@
An LALR(1) parser generator for the functional language Haskell

5
devel/hs-happy/pkg-descr Normal file
View File

@ -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>

51
devel/hs-happy/pkg-plist Normal file
View File

@ -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