blob: ee501c70b993cedcc4edc8ffacfce021ceb2ab4c (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Created by: Jerry Hicks
# $FreeBSD$
PORTNAME= bison
PORTVERSION= 2.7.1
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= GNU
MAINTAINER= johans@FreeBSD.org
COMMENT= Parser generator from FSF, (mostly) compatible with Yacc
BUILD_DEPENDS= m4>=1.4.16,1:${PORTSDIR}/devel/m4
RUN_DEPENDS= m4>=1.4.16,1:${PORTSDIR}/devel/m4
OPTIONS_DEFINE= EXAMPLES NLS
USES= charsetfix makeinfo perl5 tar:xz
USE_PERL5= build
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+=--disable-yacc
INFO= bison
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
OPTIONS_SUB= yes
post-extract:
@${RM} -f ${WRKSRC}/doc/bison.info*
@${REINPLACE_CMD} 's/MANS = yacc.1/MANS =/' ${WRKSRC}/doc/Makefile.in
PORTEXAMPLES= calc++
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/calc++
${INSTALL_DATA} ${WRKSRC}/examples/calc++/*.[chly]* \
${STAGEDIR}${EXAMPLESDIR}/calc++
.include <bsd.port.mk>
|