aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-05-10 00:18:00 +0800
committerpav <pav@FreeBSD.org>2004-05-10 00:18:00 +0800
commitc4f4662d539b5a1ee5716ee3213221ac2bb55b9a (patch)
tree30ff19ea7a7ac5006a342ad1f7ca56bae12e8f26 /devel
parentd8931a47707d4186269bc0f974c27a7cf2ee1d7f (diff)
downloadfreebsd-ports-graphics-c4f4662d539b5a1ee5716ee3213221ac2bb55b9a.tar.gz
freebsd-ports-graphics-c4f4662d539b5a1ee5716ee3213221ac2bb55b9a.tar.zst
freebsd-ports-graphics-c4f4662d539b5a1ee5716ee3213221ac2bb55b9a.zip
- Make the package more useful by packaging META files generated on install
- Pass maintainership to submitter PR: ports/66217 Submitted by: stephane
Diffstat (limited to 'devel')
-rw-r--r--devel/ocaml-findlib/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/ocaml-findlib/Makefile b/devel/ocaml-findlib/Makefile
index a6c0c7d0c55..742113ab59a 100644
--- a/devel/ocaml-findlib/Makefile
+++ b/devel/ocaml-findlib/Makefile
@@ -13,7 +13,7 @@ CATEGORIES= devel
MASTER_SITES= http://www.ocaml-programming.de/packages/
PKGNAMEPREFIX= ocaml-
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= stephane@FreeBSD.org
COMMENT= OCaml package manager
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml
@@ -29,6 +29,13 @@ MAN5= META.5 findlib.conf.5 site-lib.5
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
+ @${FIND} ${PREFIX}/lib/ocaml/site-lib/$D -type f -name META | \
+ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+.endfor
+
@${FIND} ${PREFIX}/lib/ocaml/site-lib/findlib -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}