aboutsummaryrefslogtreecommitdiff
path: root/devel/ocaml-re/Makefile
blob: 249cfaf1fd975f7914ef19028786b0cbd860ce6c (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
26
27
28
29
30
31
32
33
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>

PORTNAME=	re
PORTVERSION=	1.4.1
DISTVERSIONPREFIX=	${PKGNAMEPREFIX}${PORTNAME}-
CATEGORIES=	devel
PKGNAMEPREFIX=	ocaml-

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Pure OCaml regular expressions

LICENSE=	LGPL21

BUILD_DEPENDS=	ocamlbuild:devel/ocaml-ocamlbuild

USES=	gmake
HAS_CONFIGURE=	yes
MAKE_JOBS_UNSAFE=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	ocaml
GH_PROJECT=	${PKGNAMEPREFIX}${PORTNAME}

USE_OCAML=		yes
USE_OCAML_FINDLIB=	yes
USE_OCAMLFIND_PLIST=	yes

CONFIGURE_ARGS=		--destdir "${DESTDIRNAME}"

do-configure:
	cd ${WRKSRC} && ocaml setup.ml -configure ${CONFIGURE_ARGS}

.include <bsd.port.mk>