summaryrefslogtreecommitdiff
path: root/net/ocamlnet/Makefile
blob: bf89765551e115ea40990b15ace80edd52fe1963 (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
35
36
# $NetBSD: Makefile,v 1.19 2015/02/11 13:25:25 jaapb Exp $
#

DISTNAME=		ocamlnet-3.7.7
PKGNAME=	${DISTNAME} # in order to avoid prefixing with ocaml-
CATEGORIES=		net
MASTER_SITES=		http://download.camlcity.org/download/

MAINTAINER=		jaapb@NetBSD.org
HOMEPAGE=		http://projects.camlcity.org/projects/ocamlnet.html
COMMENT=		Library focusing on application-level network protocols (OCaml)
LICENSE=		zlib AND gnu-gpl-v2

MAKE_JOBS_SAFE=	no

HAS_CONFIGURE=		yes
CONFIGURE_ARGS+=	-without-nethttpd -without-rpc-auth-dh -disable-tcl \
	-disable-apache -enable-pcre
USE_TOOLS+=		gmake
BUILD_TARGET=		all
OCAML_USE_FINDLIB=	yes

.include "../../mk/ocaml.mk"
.include "../../mk/bsd.prefs.mk"

PLIST_VARS+=		ssl xti
.if ${OCAML_USE_OPT_COMPILER} == "yes"
BUILD_TARGET+=		opt
.endif
.if ${OPSYS} == "SunOS"
PLIST.xti=		yes
.endif

.include "options.mk"
.include "../../devel/pcre-ocaml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"