diff options
author | John Marino <marino@FreeBSD.org> | 2014-04-26 21:39:06 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2014-04-26 21:39:06 +0000 |
commit | 26df46ea63cf886ecce25127181d84af69313a17 (patch) | |
tree | 87140002ff06a08565ecbae004c31a331a8db088 | |
parent | 4c3990a203a726b8968af31b491aeeb05a3a47b9 (diff) | |
download | ports-26df46ea63cf886ecce25127181d84af69313a17.tar.gz ports-26df46ea63cf886ecce25127181d84af69313a17.zip |
Notes
-rw-r--r-- | lang/ocaml/Makefile | 9 | ||||
-rw-r--r-- | lang/ocaml/pkg-plist | 15 |
2 files changed, 20 insertions, 4 deletions
diff --git a/lang/ocaml/Makefile b/lang/ocaml/Makefile index bb4de13aa768..cef92685679d 100644 --- a/lang/ocaml/Makefile +++ b/lang/ocaml/Makefile @@ -3,6 +3,7 @@ PORTNAME= ocaml PORTVERSION= 4.01.0 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://caml.inria.fr/pub/distrib/${DISTNAME:R}/ \ ${MASTER_SITE_GENTOO} @@ -178,11 +179,11 @@ check test: install ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} report post-install: -# @${TOUCH} ${STAGEDIR}${PREFIX}/lib/ocaml/ocamldoc/custom/.keep + ${RMDIR} ${STAGEDIR}${PREFIX}/lib/ocaml/ocamldoc/custom @${CHMOD} 755 ${STAGEDIR}${PREFIX}/lib/ocaml/expunge .if ${PORT_OPTIONS:MTK} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - @(cd ${WRKSRC}/otherlibs/labltk && \ + (cd ${WRKSRC}/otherlibs/labltk && \ ${COPYTREE_SHARE} examples_labltk ${STAGEDIR}${EXAMPLESDIR} \ "! -name .ignore" && \ ${COPYTREE_SHARE} examples_camltk ${STAGEDIR}${EXAMPLESDIR} \ @@ -202,10 +203,10 @@ post-install: .if ${PORT_OPTIONS:MOPT_DEF} . for module in ${MODOPT} # First, we save bytecode version - @${MV} ${STAGEDIR}${PREFIX}/bin/${module} ${STAGEDIR}${PREFIX}/bin/${module}.byte + ${MV} ${STAGEDIR}${PREFIX}/bin/${module} ${STAGEDIR}${PREFIX}/bin/${module}.byte # Next make .opt version be the default one (via link) - @${LN} ${STAGEDIR}${PREFIX}/bin/${module}.opt ${STAGEDIR}${PREFIX}/bin/${module} + ${LN} ${STAGEDIR}${PREFIX}/bin/${module}.opt ${STAGEDIR}${PREFIX}/bin/${module} @${ECHO_CMD} "bin/${module}.byte" >> ${TMPPLIST} @${ECHO_CMD} "@exec ${LN} %D/${module}.opt %D/${module}" >> ${TMPPLIST} . endfor diff --git a/lang/ocaml/pkg-plist b/lang/ocaml/pkg-plist index b4893de2fcaa..ce97af582830 100644 --- a/lang/ocaml/pkg-plist +++ b/lang/ocaml/pkg-plist @@ -1090,7 +1090,22 @@ lib/ocaml/weak.cmx lib/ocaml/weak.ml lib/ocaml/weak.mli %%PROF%%lib/ocaml/weak.p.cmx +man/man1/ocaml.1.gz man/man1/ocamlbuild.1.gz +man/man1/ocamlc.1.gz +man/man1/ocamlc.opt.1.gz +man/man1/ocamlcp.1.gz +man/man1/ocamldebug.1.gz +man/man1/ocamldep.1.gz +man/man1/ocamldoc.1.gz +man/man1/ocamllex.1.gz +man/man1/ocamlmktop.1.gz +man/man1/ocamlopt.1.gz +man/man1/ocamlopt.opt.1.gz +man/man1/ocamloptp.1.gz +man/man1/ocamlprof.1.gz +man/man1/ocamlrun.1.gz +man/man1/ocamlyacc.1.gz man/mann/Arg.3o.gz man/mann/Array.3o.gz man/mann/ArrayLabels.3o.gz |