fix plist and unbreak

Noticed by:	bento via kris
This commit is contained in:
Ying-Chieh Liao 2004-04-18 10:34:21 +00:00
parent 396e6c634d
commit 9ace06ab44
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107408

View File

@ -18,8 +18,6 @@ COMMENT= OCaml package manager
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml
BROKEN= Broken pkg-plist
HAS_CONFIGURE= yes
USE_GMAKE= yes
@ -29,9 +27,9 @@ MAN1= ocamlfind.1
MAN5= META.5 findlib.conf.5 site-lib.5
post-install:
@${FIND} ${PREFIX}/lib/ocaml -type f | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${PREFIX}/lib/ocaml -type d | ${SORT} -r | \
@${FIND} ${PREFIX}/lib/ocaml/site-lib/findlib -type f | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${PREFIX}/lib/ocaml/site-lib/findlib -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.include <bsd.port.mk>