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