ports/155156: [update] small improvements for devel/ocaml-pcre

Jaap Boender jaapb at kerguelen.org
Tue Mar 1 14:30:10 UTC 2011


>Number:         155156
>Category:       ports
>Synopsis:       [update] small improvements for devel/ocaml-pcre
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 01 14:30:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jaap Boender
>Release:        8.2-STABLE
>Organization:
>Environment:
FreeBSD vanrossum.irill.org 8.2-STABLE FreeBSD 8.2-STABLE #0: Fri Feb 25 15:52:06 CET 2011     root at vanrossum.irill.org:/usr/obj/usr/src/sys/VANROSSUM  amd64
>Description:
I've added a LICENSE field to ocaml-pcre, and changed the download site to the one specified on the main site (via the mercurial repository).

Also, I've changed PORTDOCS to PORTEXAMPLES in the pkg-plist, as recommended by portlint(1).
>How-To-Repeat:
n/a
>Fix:
diff of port directory included.

Patch attached with submission follows:

diff -Naur ocaml-pcre/Makefile ocaml-pcre-new/Makefile
--- ocaml-pcre/Makefile	2011-01-22 15:21:42.000000000 +0100
+++ ocaml-pcre-new/Makefile	2011-03-01 15:18:58.514268283 +0100
@@ -7,16 +7,21 @@
 
 PORTNAME=	pcre
 PORTVERSION=	6.2.2
+PORTREVISION=	1
 CATEGORIES=	devel
-MASTER_SITES=	http://www.ocaml.info/ocaml_sources/
+MASTER_SITES=	http://hg.ocaml.info/release/pcre-ocaml/archive/
 PKGNAMEPREFIX=	ocaml-
-DISTNAME=	pcre-ocaml-${PORTVERSION}
+DISTNAME=	release-${PORTVERSION}
 
 MAINTAINER=	johans at FreeBSD.org
 COMMENT=	Perl compatible regular expressions for Objective Caml
 
 LIB_DEPENDS=	pcre.0:${PORTSDIR}/devel/pcre
 
+WRKSRC=		${WRKDIR}/pcre-ocaml-release-${PORTVERSION}
+
+LICENSE=	LGPL21
+
 USE_OCAML=	yes
 USE_OCAML_FINDLIB=	yes
 USE_OCAML_LDCONFIG=	yes
diff -Naur ocaml-pcre/distinfo ocaml-pcre-new/distinfo
--- ocaml-pcre/distinfo	2011-01-22 15:21:42.000000000 +0100
+++ ocaml-pcre-new/distinfo	2011-03-01 15:08:58.337884204 +0100
@@ -1,2 +1,2 @@
-SHA256 (pcre-ocaml-6.2.2.tar.gz) = a0219044b20acb6f1c15ebf438cc780d814b72480c2d78511eadf6140ee8791a
-SIZE (pcre-ocaml-6.2.2.tar.gz) = 60382
+SHA256 (release-6.2.2.tar.gz) = 59ccd8ec4518c95571b2397bae506770a2924a33a6612ff316e2d63c49286683
+SIZE (release-6.2.2.tar.gz) = 60359
diff -Naur ocaml-pcre/pkg-plist ocaml-pcre-new/pkg-plist
--- ocaml-pcre/pkg-plist	2008-04-10 14:53:16.000000000 +0200
+++ ocaml-pcre-new/pkg-plist	2011-03-01 15:17:35.154075996 +0100
@@ -6,27 +6,27 @@
 %%OCAML_SITELIBDIR%%/pcre/pcre.cmi
 %%OCAML_SITELIBDIR%%/pcre/pcre.cmxa
 %%OCAML_SITELIBDIR%%/pcre/pcre.mli
-%%PORTDOCS%%%%EXAMPLESDIR%%/OMakefile
-%%PORTDOCS%%%%EXAMPLESDIR%%/cloc/Makefile
-%%PORTDOCS%%%%EXAMPLESDIR%%/cloc/OMakefile
-%%PORTDOCS%%%%EXAMPLESDIR%%/cloc/README
-%%PORTDOCS%%%%EXAMPLESDIR%%/cloc/cloc.ml
-%%PORTDOCS%%%%EXAMPLESDIR%%/cloc/make_win32_cloc.bat
-%%PORTDOCS%%%%EXAMPLESDIR%%/count_hash/Makefile
-%%PORTDOCS%%%%EXAMPLESDIR%%/count_hash/OMakefile
-%%PORTDOCS%%%%EXAMPLESDIR%%/count_hash/README
-%%PORTDOCS%%%%EXAMPLESDIR%%/count_hash/count_hash.ml
-%%PORTDOCS%%%%EXAMPLESDIR%%/pcregrep/Makefile
-%%PORTDOCS%%%%EXAMPLESDIR%%/pcregrep/OMakefile
-%%PORTDOCS%%%%EXAMPLESDIR%%/pcregrep/README
-%%PORTDOCS%%%%EXAMPLESDIR%%/pcregrep/pcregrep.ml
-%%PORTDOCS%%%%EXAMPLESDIR%%/subst/Makefile
-%%PORTDOCS%%%%EXAMPLESDIR%%/subst/OMakefile
-%%PORTDOCS%%%%EXAMPLESDIR%%/subst/README
-%%PORTDOCS%%%%EXAMPLESDIR%%/subst/subst.ml
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/subst
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/pcregrep
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/count_hash
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/cloc
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
-%%PORTDOCS%%@dirrmtry share/examples/ocaml
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/OMakefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cloc/Makefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cloc/OMakefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cloc/README
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cloc/cloc.ml
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cloc/make_win32_cloc.bat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/count_hash/Makefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/count_hash/OMakefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/count_hash/README
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/count_hash/count_hash.ml
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pcregrep/Makefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pcregrep/OMakefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pcregrep/README
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pcregrep/pcregrep.ml
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/subst/Makefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/subst/OMakefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/subst/README
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/subst/subst.ml
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/subst
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/pcregrep
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/count_hash
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/cloc
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%@dirrmtry share/examples/ocaml


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list