Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Dec 2012 09:22:17 +0000 (UTC)
From:      Gabor Pali <pgj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308219 - in head/devel/bisoncpp: . files
Message-ID:  <201212040922.qB49MHug030750@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pgj
Date: Tue Dec  4 09:22:16 2012
New Revision: 308219
URL: http://svnweb.freebsd.org/changeset/ports/308219

Log:
  - Update to 4.01.00
  - Trim Makefile header
  
  Feature safe:	yes

Added:
  head/devel/bisoncpp/files/patch-documentation-manual-invoking-options.yo   (contents, props changed)
Deleted:
  head/devel/bisoncpp/files/patch-icmake-install
  head/devel/bisoncpp/files/patch-icmake-library
  head/devel/bisoncpp/files/patch-parser-parser.h
Modified:
  head/devel/bisoncpp/Makefile
  head/devel/bisoncpp/distinfo
  head/devel/bisoncpp/files/patch-icmake-manpage
  head/devel/bisoncpp/pkg-descr
  head/devel/bisoncpp/pkg-plist

Modified: head/devel/bisoncpp/Makefile
==============================================================================
--- head/devel/bisoncpp/Makefile	Tue Dec  4 09:20:38 2012	(r308218)
+++ head/devel/bisoncpp/Makefile	Tue Dec  4 09:22:16 2012	(r308219)
@@ -1,12 +1,7 @@
-# New ports collection makefile for:    bisoncpp
-# Date created:         March 5, 2009
-# Whom:                 Gabor Pali <pgj@FreeBSD.org>
-#
 # $FreeBSD$
-#
 
 PORTNAME=	bisoncpp
-PORTVERSION=	2.09.03
+PORTVERSION=	4.01.00
 CATEGORIES=	devel
 MASTER_SITES=	SF/${PORTNAME}/bisonc%2B%2B/${PORTVERSION}
 DISTNAME=	bisonc++_${PORTVERSION}
@@ -19,7 +14,7 @@ LICENSE=	GPLv3
 
 BUILD_DEPENDS=	icmake:${PORTSDIR}/devel/icmake \
 		yodl>=3.0:${PORTSDIR}/textproc/yodl \
-		libbobcat>=2.18:${PORTSDIR}/devel/libbobcat
+		libbobcat>=3:${PORTSDIR}/devel/libbobcat
 
 .if !defined(NO_INSTALL_MANPAGES)
 MANCOMPRESSED=	yes
@@ -41,8 +36,10 @@ post-patch:
 		s|"/share/doc/bisonc++"|"/share/doc/${PORTNAME}-${PORTVERSION}"| ; \
 		s|"/share/man/man1"|"/man/man1"| ; \
 		s|"g++"|"g++46"|' \
-		${WRKSRC}/INSTALL.im
-	@${REINPLACE_CMD} 's|#!/usr/bin/icmake|#!${LOCALBASE}/bin/icmake|' \
+		${WRKSRC}/INSTALL.im \
+		${WRKSRC}/build
+	@${REINPLACE_CMD} 's|#!/usr/bin/icmake|#!${LOCALBASE}/bin/icmake| ; \
+		s|"g++|"g++46|' \
 		${WRKSRC}/build \
 		${WRKSRC}/scanner/driver/build \
 		${WRKSRC}/parser/driver/build
@@ -53,17 +50,11 @@ post-patch:
 		${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
+		${WRKSRC}/documentation/man/calculator/build
 	@${REINPLACE_CMD} 's|"cp -d |"cp -Pp | ; \
 		s|"cp -r |"cp -R | ; \
 		s|"-doc"|"/doc"|' \
 		${WRKSRC}/icmake/install
-	@${REINPLACE_CMD} 's|libpath|libpath, "-Wl,--allow-shlib-undefined"|' \
-		${WRKSRC}/icmake/program
 
 do-build:
 	@cd ${WRKSRC} && ./build program strip

Modified: head/devel/bisoncpp/distinfo
==============================================================================
--- head/devel/bisoncpp/distinfo	Tue Dec  4 09:20:38 2012	(r308218)
+++ head/devel/bisoncpp/distinfo	Tue Dec  4 09:22:16 2012	(r308219)
@@ -1,2 +1,2 @@
-SHA256 (bisonc++_2.09.03.orig.tar.gz) = f0d303085ddbc1948002950fa5d9c017fe81a0c4e77376ecd06446b7005edd9a
-SIZE (bisonc++_2.09.03.orig.tar.gz) = 628683
+SHA256 (bisonc++_4.01.00.orig.tar.gz) = 5115a4edeb144a6c54ff5229578b0f1e2d98bfaa80a4092cf90561aab999c08a
+SIZE (bisonc++_4.01.00.orig.tar.gz) = 652332

Added: head/devel/bisoncpp/files/patch-documentation-manual-invoking-options.yo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/bisoncpp/files/patch-documentation-manual-invoking-options.yo	Tue Dec  4 09:22:16 2012	(r308219)
@@ -0,0 +1,11 @@
+--- documentation/manual/invoking/options.yo.orig	2012-04-29 13:59:49.000000000 +0200
++++ documentation/manual/invoking/options.yo	2012-12-02 13:00:49.000000000 +0100
+@@ -179,7 +179,7 @@
+ 
+     it() loption(own-tokens) (soption(T))nl()
+            The tokens returned as well as the text matched when bic() reads
+-            its input files(s) are shown when this option is used.
++            its input file(s) are shown when this option is used.
+ 
+            This option does em(not) result in the generated parsing function
+             displaying returned tokens and matched text. If that is what you

Modified: head/devel/bisoncpp/files/patch-icmake-manpage
==============================================================================
--- head/devel/bisoncpp/files/patch-icmake-manpage	Tue Dec  4 09:20:38 2012	(r308218)
+++ head/devel/bisoncpp/files/patch-icmake-manpage	Tue Dec  4 09:22:16 2012	(r308219)
@@ -1,5 +1,5 @@
---- icmake/manpage.orig	2007-09-12 11:09:09.000000000 +0200
-+++ icmake/manpage	2009-11-02 12:19:34.000000000 +0100
+--- icmake/manpage.orig	2012-02-20 17:33:31.000000000 +0100
++++ icmake/manpage	2012-12-02 13:45:58.000000000 +0100
 @@ -3,7 +3,7 @@
  
  void manpage()
@@ -9,11 +9,13 @@
  
      special();
  
-@@ -12,7 +12,22 @@
+@@ -11,8 +11,23 @@
+ 
      if ("bisonc++.yo" younger MANPAGE || "release.yo" younger MANPAGE)
      {
-         run("yodl2man  -o " MANPAGE " bisonc++");
+-        run("yodl2man  -o " MANPAGE " bisonc++");
 -        run("yodl2html  -o " MANHTML " bisonc++");
++        run("yodl2man -l3 -o " MANPAGE " bisonc++");
      }
      exit(0);
  }
@@ -28,7 +30,7 @@
 +
 +    if ("bisonc++.yo" younger MANHTML || "release.yo" younger MANHTML)
 +    {
-+        run("yodl2html  -o " MANHTML " bisonc++");
++        run("yodl2html -l3 -o " MANHTML " bisonc++");
 +    }
 +
 +    chdir("../..");

Modified: head/devel/bisoncpp/pkg-descr
==============================================================================
--- head/devel/bisoncpp/pkg-descr	Tue Dec  4 09:20:38 2012	(r308218)
+++ head/devel/bisoncpp/pkg-descr	Tue Dec  4 09:22:16 2012	(r308219)
@@ -1,6 +1,6 @@
 The program bisonc++ creates a C++ parser function and -class having a
 cleaner setup than the code generated by Alain Coetmeur's bison++.
 Furthermore, since bisonc++ more closely follows current-day ideas about
-C++ programming its code is easier to read
+C++ programming its code is easier to read.
 
-WWW: http://bisoncpp.sourceforge.net/
+WWW:	http://bisoncpp.sourceforge.net/

Modified: head/devel/bisoncpp/pkg-plist
==============================================================================
--- head/devel/bisoncpp/pkg-plist	Tue Dec  4 09:20:38 2012	(r308218)
+++ head/devel/bisoncpp/pkg-plist	Tue Dec  4 09:22:16 2012	(r308219)
@@ -4,4 +4,6 @@ share/bisoncpp-%%PORTVERSION%%/bisonc++.
 share/bisoncpp-%%PORTVERSION%%/bisonc++.h
 share/bisoncpp-%%PORTVERSION%%/bisonc++.ih
 share/bisoncpp-%%PORTVERSION%%/bisonc++base.h
+share/bisoncpp-%%PORTVERSION%%/bisonc++polymorphic
+share/bisoncpp-%%PORTVERSION%%/bisonc++polymorphic.inline
 @dirrm share/bisoncpp-%%PORTVERSION%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212040922.qB49MHug030750>