UUAG is the Utrecht University Attribute Grammar system.
Generates Haskell files from an attribute grammar specification It is a preprocessor for Haskell which makes it easy to write catamorphisms (that is, functions that do to any datatype what foldr does to lists). You can define tree walks using the intuitive concepts of inherited and synthesized attributes, while keeping the full expressive power of Haskell. maintainer: Arie Middelkoop <ariem@cs.uu.nl> license: GPL-2 WWW: http://www.cs.uu.nl/wiki/HUT/AttributeGrammarSystem package-url: http://nix.cs.uu.nl/dist/hut/ PR: ports/121152 Submitted by: Giuseppe Pilichi aka Jacula Modyun <jacula at gmail.com>
This commit is contained in:
parent
5bf29e1407
commit
309b9af8d6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208134
5 changed files with 60 additions and 0 deletions
|
@ -469,6 +469,7 @@
|
|||
SUBDIR += hs-hpl
|
||||
SUBDIR += hs-idoc
|
||||
SUBDIR += hs-tclhaskell-ghc
|
||||
SUBDIR += hs-uuagc
|
||||
SUBDIR += hs-uulib
|
||||
SUBDIR += hypersrc
|
||||
SUBDIR += i386-rtems-binutils
|
||||
|
|
41
devel/hs-uuagc/Makefile
Normal file
41
devel/hs-uuagc/Makefile
Normal file
|
@ -0,0 +1,41 @@
|
|||
# New ports collection makefile for: hs-uuagc
|
||||
# Date created: February 27 2008
|
||||
# Whom: Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= uuagc
|
||||
PORTVERSION= 0.9.5
|
||||
CATEGORIES= devel haskell
|
||||
MASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
|
||||
PKGNAMEPREFIX= hs-
|
||||
|
||||
MAINTAINER= jacula@gmail.com
|
||||
COMMENT= Attribute Grammar System of Universiteit Utrecht
|
||||
|
||||
BUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc \
|
||||
hs-uulib>=${PORTVERSION}:${PORTSDIR}/devel/hs-uulib
|
||||
LIB_DEPENDS+= gmp.7:${PORTSDIR}/math/libgmp4
|
||||
|
||||
GHC_VERSION= 6.8.2
|
||||
UUAG_VERSION= ${PORTVERSION}
|
||||
|
||||
GHC_CMD= ${LOCALBASE}/bin/ghc
|
||||
SETUP_CMD= ./setup
|
||||
|
||||
DOCSDIR= ${PREFIX}/share/doc/${DISTNAME}
|
||||
|
||||
.SILENT:
|
||||
|
||||
do-configure:
|
||||
cd ${WRKSRC} && ${GHC_CMD} --make Setup.hs -o setup -package Cabal \
|
||||
&& ${SETUP_CMD} configure --prefix=${PREFIX}
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${SETUP_CMD} build
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC} && ${SETUP_CMD} install
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/hs-uuagc/distinfo
Normal file
3
devel/hs-uuagc/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (uuagc-0.9.5.tar.gz) = 1615010c258edfee75039e25444b20de
|
||||
SHA256 (uuagc-0.9.5.tar.gz) = c5be435efa609f72c09e175dd5cf7835a060bd7eaf6634ec4cde72ea84b99f25
|
||||
SIZE (uuagc-0.9.5.tar.gz) = 167465
|
12
devel/hs-uuagc/pkg-descr
Normal file
12
devel/hs-uuagc/pkg-descr
Normal file
|
@ -0,0 +1,12 @@
|
|||
UUAG is the Utrecht University Attribute Grammar system.
|
||||
Generates Haskell files from an attribute grammar specification
|
||||
|
||||
It is a preprocessor for Haskell which makes it easy to write catamorphisms
|
||||
(that is, functions that do to any datatype what foldr does to lists).
|
||||
You can define tree walks using the intuitive concepts of inherited and
|
||||
synthesized attributes, while keeping the full expressive power of Haskell.
|
||||
|
||||
maintainer: Arie Middelkoop <ariem@cs.uu.nl>
|
||||
license: GPL-2
|
||||
WWW: http://www.cs.uu.nl/wiki/HUT/AttributeGrammarSystem
|
||||
package-url: http://nix.cs.uu.nl/dist/hut/
|
3
devel/hs-uuagc/pkg-plist
Normal file
3
devel/hs-uuagc/pkg-plist
Normal file
|
@ -0,0 +1,3 @@
|
|||
bin/uuagc
|
||||
%%DOCSDIR%%/LICENSE
|
||||
@dirrm %%DOCSDIR%%
|
Loading…
Reference in a new issue