2013-11-01 12:30:21 +01:00
|
|
|
# $NetBSD: Makefile,v 1.6 2013/11/01 11:30:21 jaapb Exp $
|
2012-07-11 17:35:06 +02:00
|
|
|
#
|
|
|
|
|
2012-12-14 15:40:24 +01:00
|
|
|
DISTNAME= js_of_ocaml-1.3.2
|
2013-11-01 12:30:21 +01:00
|
|
|
PKGREVISION= 1
|
2012-07-11 17:35:06 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://ocsigen.org/download/
|
|
|
|
|
2012-12-14 15:40:24 +01:00
|
|
|
MAINTAINER= jaapb@NetBSD.org
|
2012-07-11 17:35:06 +02:00
|
|
|
HOMEPAGE= http://ocsigen.org/js_of_ocaml/
|
|
|
|
COMMENT= Compiler of OCaml bytecode to Javascript
|
|
|
|
LICENSE= gnu-lgpl-v2
|
|
|
|
|
|
|
|
DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
|
|
|
|
DEPENDS+= ocaml-deriving-ocsigen>=0.3:../../devel/ocaml-deriving-ocsigen
|
|
|
|
|
|
|
|
USE_LANGUAGES= c
|
|
|
|
USE_TOOLS= gmake
|
|
|
|
|
|
|
|
MAKE_ENV= BINDIR=${DESTDIR}${PREFIX}/bin DESTDIR=${DESTDIR} OCAML_SITELIBDIR=${PREFIX}/lib/ocaml/site-lib
|
|
|
|
|
2012-12-14 15:40:24 +01:00
|
|
|
INSTALLATION_DIRS= lib/ocaml/site-lib
|
|
|
|
|
2012-07-11 17:35:06 +02:00
|
|
|
PLIST_VARS= opt
|
|
|
|
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
|
|
|
|
(${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
|
|
|
|
PLIST.opt= yes
|
|
|
|
.endif
|
|
|
|
|
2012-12-14 15:40:24 +01:00
|
|
|
.include "../../devel/ocaml-lwt/buildlink3.mk"
|
2012-07-11 17:35:06 +02:00
|
|
|
.include "../../lang/ocaml/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|