Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2014 10:14:52 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349404 - head/devel/ocaml-pcre
Message-ID:  <201403281014.s2SAEqwV008106@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: johans
Date: Fri Mar 28 10:14:52 2014
New Revision: 349404
URL: http://svnweb.freebsd.org/changeset/ports/349404
QAT: https://qat.redports.org/buildarchive/r349404/

Log:
  Update ocaml-pcre to 7.0.4

Modified:
  head/devel/ocaml-pcre/Makefile
  head/devel/ocaml-pcre/distinfo
  head/devel/ocaml-pcre/pkg-plist

Modified: head/devel/ocaml-pcre/Makefile
==============================================================================
--- head/devel/ocaml-pcre/Makefile	Fri Mar 28 10:04:11 2014	(r349403)
+++ head/devel/ocaml-pcre/Makefile	Fri Mar 28 10:14:52 2014	(r349404)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	pcre
-PORTVERSION=	7.0.2
+PORTVERSION=	7.0.4
 CATEGORIES=	devel
 MASTER_SITES=	http://cdn.bitbucket.org/mmottl/pcre-ocaml/downloads/
 PKGNAMEPREFIX=	ocaml-
@@ -11,23 +11,21 @@ DISTNAME=	${PORTNAME}-${PKGNAMEPREFIX}${
 MAINTAINER=	johans@FreeBSD.org
 COMMENT=	Perl compatible regular expressions for Objective Caml
 
-LIB_DEPENDS=	pcre:${PORTSDIR}/devel/pcre
+LIB_DEPENDS=	libpcre.so:${PORTSDIR}/devel/pcre
 
 USE_OCAML=	yes
 USE_OCAML_FINDLIB=	yes
 USE_OCAML_LDCONFIG=	yes
 
-PORTEXAMPLES=	*
 EXAMPLESDIR=	${OCAML_EXAMPLESDIR}/${PORTNAME}
-
-PORTDOCS=	*
 DOCSDIR=	${PREFIX}/share/doc/pcre-ocaml
 
-NO_STAGE=	yes
+post-patch:
+	@${REINPLACE_CMD} -e 's|$$prefix"/"share|${STAGEDIR}${PREFIX}/share|' \
+		${WRKSRC}/setup.ml
+
 post-install:
-.if !defined(NOPORTEXAMPLES)
-	@${MKDIR} ${EXAMPLESDIR}
-	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/)
-.endif
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/devel/ocaml-pcre/distinfo
==============================================================================
--- head/devel/ocaml-pcre/distinfo	Fri Mar 28 10:04:11 2014	(r349403)
+++ head/devel/ocaml-pcre/distinfo	Fri Mar 28 10:14:52 2014	(r349404)
@@ -1,2 +1,2 @@
-SHA256 (pcre-ocaml-7.0.2.tar.gz) = 052a2fdd8da597724ac8ca474fdd40772b461888e3ff8ef75cc71e43a65766ea
-SIZE (pcre-ocaml-7.0.2.tar.gz) = 81910
+SHA256 (pcre-ocaml-7.0.4.tar.gz) = fc56b0e0f7ab5d159af77d1a51f67d0dd0b86ef30eccc0e9cbef4f79d4a75840
+SIZE (pcre-ocaml-7.0.4.tar.gz) = 84956

Modified: head/devel/ocaml-pcre/pkg-plist
==============================================================================
--- head/devel/ocaml-pcre/pkg-plist	Fri Mar 28 10:04:11 2014	(r349403)
+++ head/devel/ocaml-pcre/pkg-plist	Fri Mar 28 10:14:52 2014	(r349404)
@@ -4,5 +4,39 @@
 %%OCAML_SITELIBDIR%%/pcre/pcre.a
 %%OCAML_SITELIBDIR%%/pcre/pcre.cma
 %%OCAML_SITELIBDIR%%/pcre/pcre.cmi
+%%OCAML_SITELIBDIR%%/pcre/pcre.cmx
 %%OCAML_SITELIBDIR%%/pcre/pcre.cmxa
+%%OCAML_SITELIBDIR%%/pcre/pcre.cmxs
 %%OCAML_SITELIBDIR%%/pcre/pcre.mli
+%%PORTDOCS%%%%DOCSDIR%%/api/Pcre.html
+%%PORTDOCS%%%%DOCSDIR%%/api/index.html
+%%PORTDOCS%%%%DOCSDIR%%/api/index_attributes.html
+%%PORTDOCS%%%%DOCSDIR%%/api/index_class_types.html
+%%PORTDOCS%%%%DOCSDIR%%/api/index_classes.html
+%%PORTDOCS%%%%DOCSDIR%%/api/index_exceptions.html
+%%PORTDOCS%%%%DOCSDIR%%/api/index_methods.html
+%%PORTDOCS%%%%DOCSDIR%%/api/index_module_types.html
+%%PORTDOCS%%%%DOCSDIR%%/api/index_modules.html
+%%PORTDOCS%%%%DOCSDIR%%/api/index_types.html
+%%PORTDOCS%%%%DOCSDIR%%/api/index_values.html
+%%PORTDOCS%%%%DOCSDIR%%/api/style.css
+%%PORTDOCS%%%%DOCSDIR%%/api/type_Pcre.html
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cloc/README.md
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cloc/cloc.ml
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/count_hash/README.md
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/count_hash/count_hash.ml
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pcregrep/README.md
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pcregrep/pcregrep.ml
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/subst/README.md
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/subst/subst.ml
+%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/subst
+%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/pcregrep
+%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/count_hash
+%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/cloc
+%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
+@dirrmtry share/examples/ocaml
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/api
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
+@dirrmtry %%OCAML_SITELIBDIR%%/pcre
+@dirrmtry %%OCAML_SITELIBDIR%%
+@dirrmtry lib/ocaml



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