1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/devel/hs-uuagc/Makefile
Oliver Braun 309b9af8d6 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>
2008-02-28 20:53:43 +00:00

42 lines
987 B
Makefile

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