blob: a11dd01b9ecd9c114bb39b773db4bf3c2930529d (
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
|
# $NetBSD: Makefile,v 1.3 2013/11/01 11:30:23 jaapb Exp $
#
DISTNAME= ocaml-http-0.1.5
PKGREVISION= 1
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/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"
|