diff options
Diffstat (limited to 'devel/ocaml-findlib')
-rw-r--r-- | devel/ocaml-findlib/Makefile | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/devel/ocaml-findlib/Makefile b/devel/ocaml-findlib/Makefile index 742113ab59a3..a33191501c40 100644 --- a/devel/ocaml-findlib/Makefile +++ b/devel/ocaml-findlib/Makefile @@ -26,17 +26,30 @@ PLIST_FILES= bin/ocamlfind etc/findlib.conf MAN1= ocamlfind.1 MAN5= META.5 findlib.conf.5 site-lib.5 +# this list comes from the findlib configure script +OCAML_DIRS= dbm dynlink graphics num num-top str threads unix stdlib bigarray labltk camlp4 + post-install: @${FIND} ${PREFIX}/lib/ocaml/site-lib/findlib -type f | \ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} -# this list comes from the findlib configure script -.for D in dbm dynlink graphics num num-top str threads unix stdlib bigarray labltk camlp4 +.for D in ${OCAML_DIRS} @${FIND} ${PREFIX}/lib/ocaml/site-lib/$D -type f -name META | \ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} .endfor + ${ECHO_CMD} 'lib/ocaml/site-lib/num-top/num_top.cma' >> ${TMPPLIST} + ${ECHO_CMD} 'lib/ocaml/site-lib/num-top/num_top.cmi' >> ${TMPPLIST} + ${ECHO_CMD} 'lib/ocaml/site-lib/num-top/num_top_printers.cmi' >> ${TMPPLIST} + ${ECHO_CMD} 'lib/ocaml/topfind' >> ${TMPPLIST} + @${FIND} ${PREFIX}/lib/ocaml/site-lib/findlib -type d | ${SORT} -r | \ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} +.for D in ${OCAML_DIRS} + ${ECHO_CMD} "@dirrm lib/ocaml/site-lib/$D" >> ${TMPPLIST} +.endfor + + ${ECHO_CMD} '@dirrm lib/ocaml/site-lib' >> ${TMPPLIST} + .include <bsd.port.mk> |