Install the META file used by ocaml-findlib to locate it when needed

by other OCaml stuff. From Nicolas Thauvin.
Bump PKGREVISION.
This commit is contained in:
wiz 2011-08-07 20:29:23 +00:00
parent 7d7a5f72d7
commit 22d0eb4bf2
2 changed files with 11 additions and 3 deletions

View file

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.48 2011/07/21 13:06:07 obache Exp $
# $NetBSD: Makefile,v 1.49 2011/08/07 20:29:23 wiz Exp $
#
DISTNAME= lablgtk-2.14.2
PKGREVISION= 6
PKGREVISION= 7
CATEGORIES= x11
MASTER_SITES= http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/
@ -39,6 +39,12 @@ PLIST.stubs= yes
.include "options.mk"
INSTALLATION_DIRS+= lib/ocaml/site-lib
post-install:
cd ${DESTDIR}${PREFIX}/lib/ocaml/site-lib && ${LN} -s ../lablgtk2
${INSTALL_DATA} ${WRKSRC}/META ${DESTDIR}${PREFIX}/lib/ocaml/lablgtk2
.include "../../lang/ocaml/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.12 2010/08/28 16:13:25 wiz Exp $
@comment $NetBSD: PLIST,v 1.13 2011/08/07 20:29:23 wiz Exp $
bin/gdk_pixbuf_mlsource
bin/lablgtk2
lib/ocaml/lablgtk2/gAction.cmi
@ -255,6 +255,8 @@ lib/ocaml/lablgtk2/varcc
lib/ocaml/lablgtk2/win32.h
lib/ocaml/lablgtk2/wrappers.h
lib/ocaml/lablgtk2/xml_lexer.mli
lib/ocaml/lablgtk2/META
lib/ocaml/site-lib/lablgtk2
${PLIST.stubs}lib/ocaml/stublibs/dlllablgtk2.so
@comment in ocaml: lib/ocaml/stublibs
@comment in ocaml: lib/ocaml