aboutsummaryrefslogtreecommitdiff
path: root/devel/ocaml-cmdliner/Makefile
blob: 4a7211db04c9deb5eaa12d633172633638e08f88 (plain) (blame)
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
PORTNAME=	cmdliner
PORTVERSION=	1.0.4
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	https://erratique.ch/software/cmdliner/releases/
PKGNAMEPREFIX=	ocaml-

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	OCaml module for handling command-line interfaces

LICENSE=	ISCL
LICENSE_FILE=	${WRKSRC}/LICENSE.md

USES=		gmake tar:tbz
USE_OCAML=		yes
USE_OCAML_LDCONFIG=	yes
MAKE_JOBS_UNSAFE=	tes
MAKE_ARGS=	DOCDIR=${STAGEDIR}${OCAML_DOCSDIR}/${PORTNAME} \
		LIBDIR=${STAGEDIR}${PREFIX}/${OCAML_LDLIBS}
INSTALL_TARGET=	install

OPTIONS_DEFINE=	DOCS
DOCS_INSTALL_TARGET=	install-doc

.include <bsd.port.mk>