diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2004-05-13 22:12:46 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2004-05-13 22:12:46 +0000 |
commit | bed95bb95e77dfb3d58325ec7acfd94ea226a236 (patch) | |
tree | 17ce8f690fe52a4992490133dcf343b95571c6cc /devel/ocaml-findlib | |
parent | 510b6eb5667440d9781828df2944c5de52adf922 (diff) | |
download | ports-bed95bb95e77dfb3d58325ec7acfd94ea226a236.tar.gz ports-bed95bb95e77dfb3d58325ec7acfd94ea226a236.zip |
Notes
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> |