aboutsummaryrefslogtreecommitdiff
path: root/devel/bisoncpp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/bisoncpp/Makefile')
-rw-r--r--devel/bisoncpp/Makefile23
1 files changed, 16 insertions, 7 deletions
diff --git a/devel/bisoncpp/Makefile b/devel/bisoncpp/Makefile
index 330730f4f7c3..3c8afeaf282b 100644
--- a/devel/bisoncpp/Makefile
+++ b/devel/bisoncpp/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= bisoncpp
-PORTVERSION= 2.5.1
+PORTVERSION= 2.7.0
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/bisonc%2B%2B/${PORTVERSION}
DISTNAME= bisonc++_${PORTVERSION}
@@ -17,7 +17,7 @@ COMMENT= LALR(1) parser generator that generates C++ classes
BUILD_DEPENDS= icmake:${PORTSDIR}/devel/icmake \
yodl>=2.0:${PORTSDIR}/textproc/yodl \
- libbobcat>=2.07.04:${PORTSDIR}/devel/libbobcat \
+ libbobcat>=2.08:${PORTSDIR}/devel/libbobcat \
g++45:${PORTSDIR}/lang/gcc45
.if !defined(NO_INSTALL_MANPAGES)
@@ -33,24 +33,33 @@ PLIST_SUB+= PORTVERSION="${PORTVERSION}"
WRKSRC= ${WRKDIR}/bisonc++-${PORTVERSION}
post-patch:
- @${REINPLACE_CMD} -e 's|"/usr"|"${PREFIX}"| ; \
+ @${REINPLACE_CMD} 's|"/usr"|"${PREFIX}"| ; \
s|"/share/bisonc++"|"/share/${PORTNAME}-${PORTVERSION}"| ; \
s|"/share/doc/bisonc++"|"/share/doc/${PORTNAME}-${PORTVERSION}"| ; \
s|"/share/man/man1"|"/man/man1"| ; \
s|"g++"|"g++45"|' \
${WRKSRC}/INSTALL.im
- @${REINPLACE_CMD} -e 's|#!/usr/bin/icmake|#!${LOCALBASE}/bin/icmake|' \
+ @${REINPLACE_CMD} 's|#!/usr/bin/icmake|#!${LOCALBASE}/bin/icmake|' \
${WRKSRC}/build \
${WRKSRC}/scanner/driver/build \
${WRKSRC}/parser/driver/build
- @${REINPLACE_CMD} -e 's|"-Wall -O3|"-Wall ${CXXFLAGS} -I${LOCALBASE}/include| ; \
+ @${REINPLACE_CMD} 's|#!/bin/bash|#!${LOCALBASE}/bin/bash|g' \
+ ${WRKSRC}/documentation/regression/run \
+ ${WRKSRC}/documentation/examples/bison++Example.NEW/make \
+ ${WRKSRC}/documentation/manual/examples/rpn/build \
+ ${WRKSRC}/documentation/manual/examples/errorcalc/build \
+ ${WRKSRC}/documentation/manual/examples/calc/build \
+ ${WRKSRC}/documentation/manual/examples/mfcalc/build \
+ ${WRKSRC}/documentation/man/calculator/build \
+ ${WRKSRC}/scanner/buildlexer
+ @${REINPLACE_CMD} 's|"-Wall -O3|"-Wall ${CXXFLAGS} -I${LOCALBASE}/include| ; \
s|""|"${LOCALBASE}/lib"|' \
${WRKSRC}/icmake/library
- @${REINPLACE_CMD} -e 's|"cp -d |"cp -Pp | ; \
+ @${REINPLACE_CMD} 's|"cp -d |"cp -Pp | ; \
s|"cp -r |"cp -R | ; \
s|"-doc"|"/doc"|' \
${WRKSRC}/icmake/install
- @${REINPLACE_CMD} -e 's|libpath|libpath, "-Wl,--allow-shlib-undefined"|' \
+ @${REINPLACE_CMD} 's|libpath|libpath, "-Wl,--allow-shlib-undefined"|' \
${WRKSRC}/icmake/program
do-build: