svn commit: r363522 - in head/devel/menhir: . files
John Marino
marino at FreeBSD.org
Wed Jul 30 22:14:04 UTC 2014
Author: marino
Date: Wed Jul 30 22:14:02 2014
New Revision: 363522
URL: http://svnweb.freebsd.org/changeset/ports/363522
QAT: https://qat.redports.org/buildarchive/r363522/
Log:
devel/menhir: Upgrade version 20080912 => 20140422 and stage
PR: 191816
Submitted by: Ports Fury
Deleted:
head/devel/menhir/files/
head/devel/menhir/pkg-plist
Modified:
head/devel/menhir/Makefile
head/devel/menhir/distinfo
head/devel/menhir/pkg-descr
Modified: head/devel/menhir/Makefile
==============================================================================
--- head/devel/menhir/Makefile Wed Jul 30 22:02:03 2014 (r363521)
+++ head/devel/menhir/Makefile Wed Jul 30 22:14:02 2014 (r363522)
@@ -2,11 +2,11 @@
# $FreeBSD$
PORTNAME= menhir
-PORTVERSION= 20080912
+PORTVERSION= 20140422
CATEGORIES= devel
MASTER_SITES= http://cristal.inria.fr/~fpottier/menhir/
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= ports at FreeBSD.org
COMMENT= LR(1) parser generator for OCaml
USES= gmake
@@ -14,17 +14,26 @@ USE_OCAML= yes
USE_OCAML_FINDLIB= yes
USE_OCAMLFIND_PLIST= yes
OCAML_PKGDIRS= menhirLib
-
-INSTALL_TARGET= install
-MAKE_ENV+= mandir="${MANPREFIX}/man/man1"
MAKE_JOBS_UNSAFE= yes
-MAN1= menhir.1
-.if !defined(NOPORTDOCS)
-INSTALL_TARGET+= docinstall
DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME}
-MAKE_ENV+= docdir="${DOCSDIR}"
-.endif
-NO_STAGE= yes
+PORTDOCS= *
+PLIST_FILES= bin/menhir man/man1/menhir.1.gz %%DATADIR%%/standard.mly
+PLIST_DIRS= %%DATADIR%%
+
+OPTIONS_DEFINE= DOCS
+
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|share/man|man| ; \
+ s|doc/menhir|doc/ocaml/menhir| ; \
+ s| \($$(bindir)\)| $${DESTDIR}\1| ; \
+ s| \($$(libdir)\)| $${DESTDIR}\1| ; \
+ s| \($$(docdir)\)| $${DESTDIR}\1| ; \
+ s| \($$(mandir)\)| $${DESTDIR}\1|' ${WRKSRC}/Makefile
+
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/menhir
+
.include <bsd.port.mk>
Modified: head/devel/menhir/distinfo
==============================================================================
--- head/devel/menhir/distinfo Wed Jul 30 22:02:03 2014 (r363521)
+++ head/devel/menhir/distinfo Wed Jul 30 22:14:02 2014 (r363522)
@@ -1,2 +1,2 @@
-SHA256 (menhir-20080912.tar.gz) = 079665a90e3f6fee66e93f17562d92a5aa2189c749a4fd24e46a0830ba430bee
-SIZE (menhir-20080912.tar.gz) = 377709
+SHA256 (menhir-20140422.tar.gz) = 0da8c84fff1713f9bd666940be19e2be9d7ecdf2688a7d7b822428d3a27021ce
+SIZE (menhir-20140422.tar.gz) = 549129
Modified: head/devel/menhir/pkg-descr
==============================================================================
--- head/devel/menhir/pkg-descr Wed Jul 30 22:02:03 2014 (r363521)
+++ head/devel/menhir/pkg-descr Wed Jul 30 22:14:02 2014 (r363522)
@@ -1,7 +1,7 @@
Menhir is a LR(1) parser generator for the OCaml programming language.
-It is 90% compatible to ocamlyacc (included with the OCaml distribution), and
-it has some advantages over ocamlyacc, such as limited EBNF support, LR(1)
-generation instead of LALR(1), better conflict explanation and production of
-reentrant parsers (amongst others).
+It is 90% compatible to ocamlyacc (included with the OCaml distribution),
+and it has some advantages over ocamlyacc, such as limited EBNF support,
+LR(1) generation instead of LALR(1), better conflict explanation and
+production of reentrant parsers (amongst others).
WWW: http://cristal.inria.fr/~fpottier/menhir
More information about the svn-ports-all
mailing list