59efc5ea9a
* fixed bug that prevented flex from accepting certain comments in the scanner file (resolves bugs #1849809 and #1849805) * fix bug that prevented headers for all functions from being generated (resolves bug #1628314) * change yy_size_t to be size_t (resolves bug #1849812) * new de, nl, pl, pt_br, vi translations from the translation project
32 lines
799 B
Makefile
32 lines
799 B
Makefile
# $NetBSD: Makefile,v 1.29 2008/03/08 00:08:42 tnn Exp $
|
|
|
|
DISTNAME= flex-2.5.35
|
|
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
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GNU_CONFIGURE= YES
|
|
USE_TOOLS+= bison gm4:run makeinfo
|
|
MAKE_JOBS_SAFE= no
|
|
TEST_TARGET= check
|
|
INFO_FILES= yes
|
|
LIBS.SunOS+= -lm
|
|
USE_PKGLOCALEDIR= 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 ${DESTDIR:Q}${PREFIX:Q}/bin && ln -s flex flex++
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|