aboutsummaryrefslogtreecommitdiff
path: root/devel/bison/Makefile
blob: da163b4bb439e0f87e8b1fbebb111831042f13b2 (plain) (blame)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Created by: Jerry Hicks

PORTNAME=	bison
PORTVERSION=	3.8.2
PORTEPOCH=	1
CATEGORIES=	devel
MASTER_SITES=	GNU

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Parser generator from FSF, (mostly) compatible with Yacc

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	m4>=1.4.16,1:devel/m4

# USES=gmake is used for parallelized make test
USES=		charsetfix compiler:c11 cpe gmake iconv localbase makeinfo perl5 readline tar:xz
USE_PERL5=	build

CONFIGURE_ARGS=	--disable-yacc --enable-relocatable
GNU_CONFIGURE=	yes
LIBS+=		-lm
TEST_ARGS+=	${_MAKE_JOBS}
TEST_TARGET=	check

INFO=		bison

CPE_VENDOR=	gnu

OPTIONS_DEFINE=	DOCS EXAMPLES NLS
OPTIONS_SUB=	yes

NLS_BUILD_DEPENDS=	libtextstyle>=0.21:devel/libtextstyle
NLS_CONFIGURE_ENABLE=	nls
NLS_CONFIGURE_OFF=	ac_cv_libtextstyle=no
NLS_LIB_DEPENDS=	libtextstyle.so:devel/libtextstyle
NLS_USES=		gettext

.include <bsd.port.mk>