blob: 999ab97820cdaf1ff020b5058efcf5b40964923e (
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
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.8 2015/08/07 11:20:36 jaapb Exp $
#
DISTNAME= ocaml-http-0.1.5
PKGREVISION= 5
CATEGORIES= www
MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/545/
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= http://forge.ocamlcore.org/frs/download.php/545/
COMMENT= Simple OCaml HTTP daemon library
LICENSE= gnu-gpl-v2
WRKSRC= ${WRKDIR}/ocaml-http_0.1.5
USE_LANGUAGES= # none
USE_TOOLS+= gmake
MAKE_ENV= PKG_DESTDIR=${DESTDIR}/${PREFIX}/lib/ocaml/site-lib/
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+= opt
.endif
.include "../../lang/camlp4/buildlink3.mk"
.include "../../lang/ocaml/buildlink3.mk"
.include "../../devel/ocaml-findlib/buildlink3.mk"
.include "../../devel/pcre-ocaml/buildlink3.mk"
.include "../../net/ocamlnet/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|