pkgsrc/www/eliom/Makefile
jaapb e5b0d42bbe Updated package to latest version, 6.1.0. Changes include:
===== 6.1 (2016-12-20) =====

* Remove redundant dependency on calendar
* Permit client routing to "./"
* -y parameter for eliom-distillery (do not ask)
* Eliom_client: do not execute onload after OCaml services
* Permit suffix params in Eliom_service.create_attached_post

===== 6.0 (2016-12-08) =====

* Improve Eliom_service and Eliom_registration APIs using GADTs
* Implement client-side services, useful for mobile apps. This includes
** client-side service registration (Eliom_registration)
** client-side service routing (Eliom_client.change_page_uri)
* Transition to PPX internally
* Compatibility with
** OCaml 4.03.0 and 4.04.0
** Js_of_ocaml 2.8.2 and newer
** TyXML 4.0 and newer
* Various bugfixes and improvements
2016-12-30 11:57:24 +00:00

45 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.15 2016/12/30 11:57:24 jaapb Exp $
#
GITHUB_PROJECT= eliom
DISTNAME= ${GITHUB_PROJECT}-6.1.0
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=ocsigen/}
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= http://ocsigen.org/download/
COMMENT= Dynamic webpage generation library
LICENSE= gnu-lgpl-v2.1
USE_TOOLS+= gmake
USE_LANGUAGES= c
OCAML_USE_FINDLIB= yes
DEPENDS+= ocsigen>=2.8:../../www/ocsigen
DEPENDS+= ocaml-deriving-ocsigen>=0.7.1:../../devel/ocaml-deriving-ocsigen
.include "../../mk/ocaml.mk"
.if ${OCAML_USE_OPT_COMPILER} == "yes"
BUILD_TARGET= all
.else
BUILD_TARGET= byte
.endif
do-install:
cd ${WRKSRC} && opam-installer --install --prefix ${DESTDIR}${PREFIX} --libdir ${DESTDIR}${PREFIX}/${OCAML_SITELIBDIR} --docdir ${DESTDIR}${PREFIX}/share/doc eliom.install
.include "../../devel/js_of_ocaml/buildlink3.mk"
.include "../../devel/ocaml-react/buildlink3.mk"
.include "../../devel/ocaml-reactiveData/buildlink3.mk"
.include "../../devel/ocaml-optcomp/buildlink3.mk"
.include "../../devel/ocaml-ppx_tools/buildlink3.mk"
.include "../../devel/ocamlbuild/buildlink3.mk"
.include "../../misc/ocaml-opam/buildlink3.mk"
BUILDLINK_DEPMETHOD.ocaml-opam?= build
.include "../../net/ocaml-ipaddr/buildlink3.mk"
.include "../../net/ocamlnet/buildlink3.mk"
.include "../../security/ocaml-ssl/buildlink3.mk"
.include "../../textproc/ocaml-tyxml/buildlink3.mk"
.include "../../time/ocaml-calendar/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"