aboutsummaryrefslogtreecommitdiff
path: root/devel/ocaml-pcre
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2011-03-03 17:54:26 +0000
committerJohan van Selst <johans@FreeBSD.org>2011-03-03 17:54:26 +0000
commit9fcc976cc34708c97ca2147662e7a1b367bc6236 (patch)
treeb3274422efae867d9be9c54f48b289fdf635c716 /devel/ocaml-pcre
parent39167d0c939dfb1dd345104462604d99f63d1fa5 (diff)
downloadports-9fcc976cc34708c97ca2147662e7a1b367bc6236.tar.gz
ports-9fcc976cc34708c97ca2147662e7a1b367bc6236.zip
- Update MASTER_SITES and DISTNAME to new preferred location
- Replace PORTDOCS by PORTEXAMPLES for examples - Tarball was renamed and re-rolled, but sources and installed files did not change PR: ports/155156 Submitted by: Jaap Boender <jaapb@kerguelen.org>
Notes
Notes: svn path=/head/; revision=270207
Diffstat (limited to 'devel/ocaml-pcre')
-rw-r--r--devel/ocaml-pcre/Makefile7
-rw-r--r--devel/ocaml-pcre/distinfo4
-rw-r--r--devel/ocaml-pcre/pkg-plist48
3 files changed, 30 insertions, 29 deletions
diff --git a/devel/ocaml-pcre/Makefile b/devel/ocaml-pcre/Makefile
index ec2c35c39f12..d9bb7e5a16c9 100644
--- a/devel/ocaml-pcre/Makefile
+++ b/devel/ocaml-pcre/Makefile
@@ -8,14 +8,15 @@
PORTNAME= pcre
PORTVERSION= 6.2.2
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@FreeBSD.org
COMMENT= Perl compatible regular expressions for Objective Caml
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
+WRKSRC= ${WRKDIR}/pcre-ocaml-${DISTNAME}
USE_OCAML= yes
USE_OCAML_FINDLIB= yes
@@ -27,7 +28,7 @@ USE_GMAKE= yes
EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME}
post-install:
-.if !defined(NOPORTDOCS)
+.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/)
.endif
diff --git a/devel/ocaml-pcre/distinfo b/devel/ocaml-pcre/distinfo
index 792bbd332040..8f1a94325674 100644
--- a/devel/ocaml-pcre/distinfo
+++ b/devel/ocaml-pcre/distinfo
@@ -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 --git a/devel/ocaml-pcre/pkg-plist b/devel/ocaml-pcre/pkg-plist
index ba16a985126c..a362f1039a81 100644
--- a/devel/ocaml-pcre/pkg-plist
+++ b/devel/ocaml-pcre/pkg-plist
@@ -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