pkgsrc/devel/alex/Makefile
pho 7bad496618 Import alex-3.1.4 from wip/alex
Alex is a tool for generating lexical analysers in Haskell, given a
description of the tokens to be recognised in the form of regular
expressions. It is similar to the tools lex and flex for C/C++.

Alex takes a description of tokens based on regular expressions and
generates a Haskell module containing code for scanning text
efficiently. Alex is designed to be familiar to exisiting lex users,
although it does depart from lex in a number of ways.
2015-02-14 09:01:33 +00:00

23 lines
557 B
Makefile

# $NetBSD: Makefile,v 1.1 2015/02/14 09:01:33 pho Exp $
DISTNAME= alex-3.1.4
PKGNAME= ${DISTNAME}
CATEGORIES= devel
MAINTAINER= esg@sdf.lonestar.org
COMMENT= Tool for generating lexical analysers in Haskell
LICENSE= modified-bsd
USE_TOOLS+= autoconf
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
pre-configure:
cd ${WRKSRC}/doc && autoconf && ./configure
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/alex.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/haskell.mk"
.include "../../devel/hs-QuickCheck/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"