summaryrefslogtreecommitdiff
path: root/devel/ocaml-lwt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ocaml-lwt/Makefile')
-rw-r--r--devel/ocaml-lwt/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/devel/ocaml-lwt/Makefile b/devel/ocaml-lwt/Makefile
index 7cba030532d..08e657b55b8 100644
--- a/devel/ocaml-lwt/Makefile
+++ b/devel/ocaml-lwt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2010/01/17 12:02:13 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2010/01/30 19:10:25 joerg Exp $
#
DISTNAME= lwt-1.1.0
@@ -11,6 +11,8 @@ MAINTAINER= jaapb@kerguelen.org
HOMEPAGE= http://www.ocsigen.org/
COMMENT= Cooperative threading library for OCaml
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAKE_JOBS_SAFE= no
DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
@@ -29,9 +31,10 @@ PLIST_SRC+= PLIST.opt
BUILD_TARGET+= doc
PLIST_SRC+= PLIST
+INSTALLATION_DIRS+= share/doc/ocaml-lwt
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGBASE}
- ${INSTALL_DATA} ${WRKSRC}/_build/lwt.docdir/* ${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/_build/lwt.docdir/* ${DESTDIR}${PREFIX}/share/doc/ocaml-lwt
.include "../../security/ocaml-ssl/buildlink3.mk"
.include "../../lang/ocaml/buildlink3.mk"