View | Details | Raw Unified | Return to bug 200833 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-9 / +8 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	bison
4
PORTNAME=	bison
5
PORTVERSION=	2.7.1
5
PORTVERSION=	3.0.4
6
PORTEPOCH=	1
6
PORTEPOCH=	1
7
CATEGORIES=	devel
7
CATEGORIES=	devel
8
MASTER_SITES=	GNU
8
MASTER_SITES=	GNU
Lines 13-19 Link Here
13
BUILD_DEPENDS=	m4>=1.4.16,1:${PORTSDIR}/devel/m4
13
BUILD_DEPENDS=	m4>=1.4.16,1:${PORTSDIR}/devel/m4
14
RUN_DEPENDS=	m4>=1.4.16,1:${PORTSDIR}/devel/m4
14
RUN_DEPENDS=	m4>=1.4.16,1:${PORTSDIR}/devel/m4
15
15
16
OPTIONS_DEFINE=	EXAMPLES NLS
16
OPTIONS_DEFINE=	DOCS EXAMPLES NLS
17
17
18
USES=		charsetfix makeinfo perl5 tar:xz
18
USES=		charsetfix makeinfo perl5 tar:xz
19
USE_PERL5=	build
19
USE_PERL5=	build
Lines 29-43 Link Here
29
NLS_CONFIGURE_ENABLE=	nls
29
NLS_CONFIGURE_ENABLE=	nls
30
OPTIONS_SUB=	yes
30
OPTIONS_SUB=	yes
31
31
32
post-extract:
32
PORTDOCS=	*
33
	@${RM} -f ${WRKSRC}/doc/bison.info*
33
PORTEXAMPLES=	*
34
	@${REINPLACE_CMD} 's/MANS = yacc.1/MANS =/' ${WRKSRC}/doc/Makefile.in
35
34
36
PORTEXAMPLES=	calc++
35
post-patch:
36
	${REINPLACE_CMD} 's/\(.*\) _Noreturn void/_Noreturn \1 void/' \
37
		${WRKSRC}/data/*.c ${WRKSRC}/lib/*.[ch]
37
38
38
post-install:
39
post-install:
39
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/calc++
40
	${MV} ${STAGEDIR}${DOCSDIR}/examples ${STAGEDIR}${EXAMPLESDIR}
40
	${INSTALL_DATA} ${WRKSRC}/examples/calc++/*.[chly]* \
41
		${STAGEDIR}${EXAMPLESDIR}/calc++
42
41
43
.include <bsd.port.mk>
42
.include <bsd.port.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (bison-2.7.1.tar.xz) = b409adcbf245baadb68d2f66accf6fdca5e282cafec1b865f4b5e963ba8ea7fb
1
SHA256 (bison-3.0.4.tar.xz) = a72428c7917bdf9fa93cb8181c971b6e22834125848cf1d03ce10b1bb0716fe1
2
SIZE (bison-2.7.1.tar.xz) = 1781068
2
SIZE (bison-3.0.4.tar.xz) = 1973796
(-)pkg-plist (+2 lines)
Lines 18-23 Link Here
18
%%DATADIR%%/m4sugar/foreach.m4
18
%%DATADIR%%/m4sugar/foreach.m4
19
%%DATADIR%%/m4sugar/m4sugar.m4
19
%%DATADIR%%/m4sugar/m4sugar.m4
20
%%DATADIR%%/stack.hh
20
%%DATADIR%%/stack.hh
21
%%DATADIR%%/variant.hh
21
%%DATADIR%%/xslt/bison.xsl
22
%%DATADIR%%/xslt/bison.xsl
22
%%DATADIR%%/xslt/xml2dot.xsl
23
%%DATADIR%%/xslt/xml2dot.xsl
23
%%DATADIR%%/xslt/xml2text.xsl
24
%%DATADIR%%/xslt/xml2text.xsl
Lines 46-51 Link Here
46
%%NLS%%share/locale/hr/LC_MESSAGES/bison-runtime.mo
47
%%NLS%%share/locale/hr/LC_MESSAGES/bison-runtime.mo
47
%%NLS%%share/locale/hr/LC_MESSAGES/bison.mo
48
%%NLS%%share/locale/hr/LC_MESSAGES/bison.mo
48
%%NLS%%share/locale/hu/LC_MESSAGES/bison-runtime.mo
49
%%NLS%%share/locale/hu/LC_MESSAGES/bison-runtime.mo
50
%%NLS%%share/locale/ia/LC_MESSAGES/bison-runtime.mo
49
%%NLS%%share/locale/id/LC_MESSAGES/bison-runtime.mo
51
%%NLS%%share/locale/id/LC_MESSAGES/bison-runtime.mo
50
%%NLS%%share/locale/id/LC_MESSAGES/bison.mo
52
%%NLS%%share/locale/id/LC_MESSAGES/bison.mo
51
%%NLS%%share/locale/it/LC_MESSAGES/bison-runtime.mo
53
%%NLS%%share/locale/it/LC_MESSAGES/bison-runtime.mo

Return to bug 200833