summaryrefslogtreecommitdiff
path: root/devel/flex/Makefile
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-01-15 06:14:48 +0000
committerrillig <rillig@pkgsrc.org>2007-01-15 06:14:48 +0000
commitd8c2171b533fda14c53b8af3a0ceb21466ce58b1 (patch)
tree07053e8fd409c66926be15e8e3b3c0eaea403afc /devel/flex/Makefile
parent80770fe7e6949dc7ade63ce8d05d05edb2657461 (diff)
downloadpkgsrc-d8c2171b533fda14c53b8af3a0ceb21466ce58b1.tar.gz
Updated flex to 2.5.33.
Changes since 2.5.4a (10 years ago) are too many to be listed here.
Diffstat (limited to 'devel/flex/Makefile')
-rw-r--r--devel/flex/Makefile21
1 files changed, 15 insertions, 6 deletions
diff --git a/devel/flex/Makefile b/devel/flex/Makefile
index 30e2274dc3a..342326e23ff 100644
--- a/devel/flex/Makefile
+++ b/devel/flex/Makefile
@@ -1,18 +1,27 @@
-# $NetBSD: Makefile,v 1.17 2006/03/04 21:29:15 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2007/01/15 06:14:48 rillig Exp $
-DISTNAME= flex-2.5.4a
+DISTNAME= flex-2.5.33
CATEGORIES= lang
-MASTER_SITES= ${MASTER_SITE_GNU:=non-gnu/flex/}
+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
-WRKSRC= ${WRKDIR}/flex-2.5.4
GNU_CONFIGURE= YES
-CONFIGURE_HAS_MANDIR= NO
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"