- 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>
This commit is contained in:
Johan van Selst 2011-03-03 17:54:26 +00:00
parent 39167d0c93
commit 9fcc976cc3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270207
3 changed files with 30 additions and 29 deletions

View file

@ -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

View file

@ -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

View file

@ -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