| @@ -1,39 +1,39 @@ | | | @@ -1,39 +1,39 @@ |
1 | # $NetBSD: Makefile,v 1.6 2019/01/29 14:23:07 jaapb Exp $ | | 1 | # $NetBSD: Makefile,v 1.7 2019/05/13 12:17:11 jaapb Exp $ |
2 | | | 2 | |
3 | GITHUB_PROJECT= ocsigen-start | | 3 | GITHUB_PROJECT= ocsigen-start |
4 | DISTNAME= ${GITHUB_PROJECT}-1.5.0 | | 4 | DISTNAME= ${GITHUB_PROJECT}-1.7.0 |
5 | CATEGORIES= www | | 5 | CATEGORIES= www |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=ocsigen/} | | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=ocsigen/} |
7 | | | 7 | |
8 | MAINTAINER= jaapb@NetBSD.org | | 8 | MAINTAINER= jaapb@NetBSD.org |
9 | HOMEPAGE= https://github.com/ocsigen/ocsigen-start/ | | 9 | HOMEPAGE= https://github.com/ocsigen/ocsigen-start/ |
10 | COMMENT= Application skeleton for Eliom | | 10 | COMMENT= Application skeleton for Eliom |
11 | LICENSE= gnu-lgpl-v2.1 | | 11 | LICENSE= gnu-lgpl-v2.1 |
12 | | | 12 | |
13 | USE_LANGUAGES= # none | | 13 | USE_LANGUAGES= # none |
14 | USE_TOOLS= gmake | | 14 | USE_TOOLS= gmake |
15 | | | 15 | |
16 | OCAML_USE_FINDLIB= yes | | 16 | OCAML_USE_FINDLIB= yes |
17 | | | 17 | |
18 | .include "../../mk/ocaml.mk" | | 18 | .include "../../mk/ocaml.mk" |
19 | | | 19 | |
20 | .if ${OCAML_USE_OPT_COMPILER} == "yes" | | 20 | .if ${OCAML_USE_OPT_COMPILER} == "yes" |
21 | MAKE_ENV+= NATIVE=yes | | 21 | MAKE_ENV+= NATIVE=yes |
22 | .else | | 22 | .else |
23 | MAKE_ENV+= NATIVE=no | | 23 | MAKE_ENV+= NATIVE=no |
24 | .endif | | 24 | .endif |
25 | | | 25 | |
26 | DEPENDS+= eliom>=6.3:../../www/eliom | | 26 | DEPENDS+= eliom>=6.4:../../www/eliom |
27 | | | 27 | |
28 | SUBST_CLASSES+= fix-settings | | 28 | SUBST_CLASSES+= fix-settings |
29 | SUBST_STAGE.fix-settings= pre-configure | | 29 | SUBST_STAGE.fix-settings= pre-configure |
30 | SUBST_FILES.fix-settings= template.distillery/Makefile.db | | 30 | SUBST_FILES.fix-settings= template.distillery/Makefile.db |
31 | SUBST_FILES.fix-settings+= template.distillery/Makefile.options | | 31 | SUBST_FILES.fix-settings+= template.distillery/Makefile.options |
32 | SUBST_SED.fix-settings= -e 's,$$(shell opam config var lib),${PREFIX}/${OCAML_SITELIBDIR},' | | 32 | SUBST_SED.fix-settings= -e 's,$$(shell opam config var lib),${PREFIX}/${OCAML_SITELIBDIR},' |
33 | SUBST_SED.fix-settings+= -e 's,$$(shell $$(OPAM) config var share),${PREFIX}/share,' | | 33 | SUBST_SED.fix-settings+= -e 's,$$(shell $$(OPAM) config var share),${PREFIX}/share,' |
34 | SUBST_SED.fix-settings+= -e '/USE_SASS/s,yes,no,' | | 34 | SUBST_SED.fix-settings+= -e '/USE_SASS/s,yes,no,' |
35 | SUBST_SED.fix-settings+= -e '/USE_NPM/s,yes,no,' | | 35 | SUBST_SED.fix-settings+= -e '/USE_NPM/s,yes,no,' |
36 | | | 36 | |
37 | SUBST_CLASSES+= fix-md5 | | 37 | SUBST_CLASSES+= fix-md5 |
38 | SUBST_STAGE.fix-md5= pre-configure | | 38 | SUBST_STAGE.fix-md5= pre-configure |
39 | SUBST_FILES.fix-md5= template.distillery/Makefile.mobile | | 39 | SUBST_FILES.fix-md5= template.distillery/Makefile.mobile |