7bad496618
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.
16 lines
403 B
Makefile
16 lines
403 B
Makefile
# $NetBSD: buildlink3.mk,v 1.1 2015/02/14 09:01:33 pho Exp $
|
|
|
|
BUILDLINK_TREE+= alex
|
|
|
|
.if !defined(ALEX_BUILDLINK3_MK)
|
|
ALEX_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.alex+= alex>=3.1.4
|
|
BUILDLINK_ABI_DEPENDS.alex+= alex>=3.1.4
|
|
BUILDLINK_PKGSRCDIR.alex?= ../../devel/alex
|
|
BUILDLINK_DEPMETHOD.alex?= build
|
|
|
|
.include "../../devel/hs-QuickCheck/buildlink3.mk"
|
|
.endif # ALEX_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -alex
|