aboutsummaryrefslogtreecommitdiff
path: root/devel/ocaml-re/Makefile
blob: 8fedb1c70633792680c9ff1c6ee16491e58cb922 (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
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$

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

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

LICENSE=	LGPL21

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>