| @@ -1,29 +1,27 @@ | | | @@ -1,29 +1,27 @@ |
1 | # $NetBSD: Makefile,v 1.9 2016/05/05 11:45:41 jaapb Exp $ | | 1 | # $NetBSD: Makefile,v 1.10 2016/06/25 14:32:00 jaapb Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= ocaml-expat-0.9.1 | | 4 | DISTNAME= ocaml-expat-0.9.1 |
5 | PKGREVISION= 6 | | 5 | PKGREVISION= 7 |
6 | CATEGORIES= textproc | | 6 | CATEGORIES= textproc |
7 | MASTER_SITES= http://mmzeeman.home.xs4all.nl/ocaml/ | | 7 | MASTER_SITES= http://mmzeeman.home.xs4all.nl/ocaml/ |
8 | | | 8 | |
9 | MAINTAINER= jaapb@NetBSD.org | | 9 | MAINTAINER= jaapb@NetBSD.org |
10 | HOMEPAGE= http://mmzeeman.home.xs4all.nl/ocaml/ | | 10 | HOMEPAGE= http://mmzeeman.home.xs4all.nl/ocaml/ |
11 | COMMENT= OCaml bindings for the expat library | | 11 | COMMENT= OCaml bindings for the expat library |
12 | LICENSE= mit | | 12 | LICENSE= mit |
13 | | | 13 | |
14 | USE_TOOLS+= gmake | | 14 | USE_TOOLS+= gmake |
15 | USE_LANGUAGES= c | | 15 | USE_LANGUAGES= c |
16 | BUILD_TARGET= all | | 16 | BUILD_TARGET= all |
17 | | | 17 | |
18 | PLIST_VARS+= opt | | 18 | OCAML_USE_FINDLIB= yes |
19 | .if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \ | | 19 | |
20 | (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64") || \ | | 20 | .include "../../mk/ocaml.mk" |
21 | (${MACHINE_ARCH} == "arm") | | 21 | |
22 | PLIST.opt= yes | | 22 | .if (${OCAML_USE_OPT_COMPILER} == "yes") |
23 | BUILD_TARGET+= allopt expat.cmxs | | 23 | BUILD_TARGET+= allopt expat.cmxs |
24 | .endif | | 24 | .endif |
25 | | | 25 | |
26 | .include "../../devel/ocaml-findlib/buildlink3.mk" | | | |
27 | .include "../../lang/ocaml/buildlink3.mk" | | | |
28 | .include "../../textproc/expat/buildlink3.mk" | | 26 | .include "../../textproc/expat/buildlink3.mk" |
29 | .include "../../mk/bsd.pkg.mk" | | 27 | .include "../../mk/bsd.pkg.mk" |