# Created by: Henrik Motakef # $FreeBSD$ PORTNAME= pcre PORTVERSION= 7.0.2 CATEGORIES= devel MASTER_SITES= http://cdn.bitbucket.org/mmottl/pcre-ocaml/downloads/ PKGNAMEPREFIX= ocaml- DISTNAME= ${PORTNAME}-${PKGNAMEPREFIX}${PORTVERSION} MAINTAINER= johans@FreeBSD.org COMMENT= Perl compatible regular expressions for Objective Caml LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre USE_OCAML= yes USE_OCAML_FINDLIB= yes USE_OCAML_LDCONFIG= yes PORTEXAMPLES= * EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME} PORTDOCS= * DOCSDIR= ${PREFIX}/share/doc/pcre-ocaml NO_STAGE= yes post-install: .if !defined(NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR} @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/) .endif .include