openbsd-ports/devel/flex/Makefile
2010-11-15 19:45:56 +00:00

36 lines
744 B
Makefile

# $OpenBSD: Makefile,v 1.3 2010/11/15 19:45:57 espie Exp $
COMMENT= fast lexical analyzer generator
DISTNAME= flex-2.5.35
CATEGORIES= devel textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=flex/}
HOMEPAGE= http://flex.sourceforge.net/
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m
MODULES= devel/gettext
BUILD_DEPENDS= devel/help2man \
devel/bison
YACC= bison
USE_GMAKE= Yes
USE_GROFF = Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --includedir=${PREFIX}/include/flex \
--libdir=${PREFIX}/lib/flex \
--program-prefix=g
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
ac_cv_path_M4=/usr/bin/m4
.include <bsd.port.mk>