summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2011-08-07 20:29:23 +0000
committerwiz <wiz@pkgsrc.org>2011-08-07 20:29:23 +0000
commita1569819c096d9319598b49cdc69804f7366a941 (patch)
treea8376e871cc3b78e7eee372bf318cf1c147b974c /x11
parentb08b1519f45ede75101c9bed8e51538ad635bd10 (diff)
downloadpkgsrc-a1569819c096d9319598b49cdc69804f7366a941.tar.gz
Install the META file used by ocaml-findlib to locate it when needed
by other OCaml stuff. From Nicolas Thauvin. Bump PKGREVISION.
Diffstat (limited to 'x11')
-rw-r--r--x11/lablgtk/Makefile10
-rw-r--r--x11/lablgtk/PLIST4
2 files changed, 11 insertions, 3 deletions
diff --git a/x11/lablgtk/Makefile b/x11/lablgtk/Makefile
index ca29feeb059..340418a83f0 100644
--- a/x11/lablgtk/Makefile
+++ b/x11/lablgtk/Makefile
@@ -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"
diff --git a/x11/lablgtk/PLIST b/x11/lablgtk/PLIST
index 126a5436b05..86e3ad8496a 100644
--- a/x11/lablgtk/PLIST
+++ b/x11/lablgtk/PLIST
@@ -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