# New ports collection makefile for:   ocaml-pcre
# Date created:        21 April 2002
# Whom:                Henrik Motakef <henrik.motakef@web.de>
#
# $FreeBSD: ports/devel/ocaml-pcre/Makefile,v 1.4 2003/02/21 11:22:39 knu Exp $
#

PORTNAME=	pcre
PORTVERSION=	4.33.0
CATEGORIES=	devel
MASTER_SITES=	http://www.oefai.at/~markus/ocaml_sources/
MASTER_SITE_SUBDIR=	pcre-ocaml
PKGNAMEPREFIX=	ocaml-
DISTNAME=	pcre-ocaml-${PORTVERSION}

MAINTAINER=	henrik.motakef@web.de
COMMENT=	Perl compatible regular expressions for Objective Caml

BUILD_DEPENDS=	ocamlc:${PORTSDIR}/lang/ocaml \
		ocamlfind:${PORTSDIR}/devel/ocaml-findlib
LIB_DEPENDS=	pcre:${PORTSDIR}/devel/pcre

USE_GMAKE=	yes
MAKE_ENV=	OCAML_LIB_INSTALL="${PREFIX}/lib/ocaml/site-lib/pcre" \
		INCDIRS="${LOCALBASE}/include" LIBDIRS="${LOCALBASE}/lib"

.include <bsd.port.mk>
