summaryrefslogtreecommitdiff
path: root/devel/flex/Makefile
blob: 342326e23ffda2ac2a1424906a80fea977bff29a (plain)
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
# $NetBSD: Makefile,v 1.18 2007/01/15 06:14:48 rillig Exp $

DISTNAME=		flex-2.5.33
CATEGORIES=		lang
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=flex/}

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.gnu.org/software/flex/
COMMENT=		Fast clone of lex(1), the lexical scanner generator

GNU_CONFIGURE=		YES
USE_TOOLS+=		bison
MAKE_JOBS_SAFE=		no
TEST_TARGET=		check
INFO_FILES=		yes

.include "../../mk/bsd.prefs.mk"

.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
USE_LANGUAGES=		c c++
USE_TOOLS+=		gmake	# bmake has problems with the test suite
.endif

post-install:
	cd ${PREFIX}/bin && ln -s flex flex++

.include "../../mk/bsd.pkg.mk"