aboutsummaryrefslogtreecommitdiffstats
path: root/devel/hs-alex/Makefile
blob: 426a834ace6fa4e041b59872d58b0a9e767ecb47 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# New ports collection makefile for:    alex
# Date created:             29 January 2003
# Whom:                 Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
#
# $FreeBSD$

PORTNAME=   alex
PORTVERSION=    2.3.5
PORTREVISION=   1
CATEGORIES= devel haskell

MAINTAINER= haskell@FreeBSD.org
COMMENT=    Alex is a tool for generating lexical analysers in Haskell

LICENSE=    BSD

XMLDOCS=    doc/alex:html
USE_AUTOTOOLS=  autoconf:env

STANDALONE= yes
EXECUTABLE= alex

INSTALL_PORTEXAMPLES=   cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}

.if defined(SLAVE)
GHC_CMD=    ghc
.endif

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>