pkgsrc/devel/ocaml-lwt/Makefile
2010-01-30 19:10:25 +00:00

41 lines
986 B
Makefile

# $NetBSD: Makefile,v 1.4 2010/01/30 19:10:25 joerg Exp $
#
DISTNAME= lwt-1.1.0
PKGNAME= ocaml-${DISTNAME}
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.ocsigen.org/download/
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
USE_TOOLS+= gmake
.include "../../mk/bsd.prefs.mk"
BUILD_TARGET= META byte
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
(${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
BUILD_TARGET+= opt
PLIST_SRC+= PLIST.opt
.endif
BUILD_TARGET+= doc
PLIST_SRC+= PLIST
INSTALLATION_DIRS+= share/doc/ocaml-lwt
post-install:
${INSTALL_DATA} ${WRKSRC}/_build/lwt.docdir/* ${DESTDIR}${PREFIX}/share/doc/ocaml-lwt
.include "../../security/ocaml-ssl/buildlink3.mk"
.include "../../lang/ocaml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"