2002-09-18 13:42:02 +02:00
|
|
|
# New ports collection makefile for: ocaml-pcre
|
|
|
|
# Date created: 21 April 2002
|
|
|
|
# Whom: Henrik Motakef <henrik.motakef@web.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pcre
|
2010-04-10 23:45:03 +02:00
|
|
|
PORTVERSION= 6.1.0
|
2002-09-18 13:42:02 +02:00
|
|
|
CATEGORIES= devel
|
2005-06-10 17:07:57 +02:00
|
|
|
MASTER_SITES= http://www.ocaml.info/ocaml_sources/
|
2002-09-18 13:42:02 +02:00
|
|
|
PKGNAMEPREFIX= ocaml-
|
|
|
|
DISTNAME= pcre-ocaml-${PORTVERSION}
|
|
|
|
|
2010-02-23 19:03:45 +01:00
|
|
|
MAINTAINER= johans@FreeBSD.org
|
2003-02-21 12:23:04 +01:00
|
|
|
COMMENT= Perl compatible regular expressions for Objective Caml
|
2002-09-18 13:42:02 +02:00
|
|
|
|
2007-03-11 20:41:33 +01:00
|
|
|
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
|
2002-09-18 13:42:02 +02:00
|
|
|
|
2006-12-09 19:08:13 +01:00
|
|
|
USE_OCAML= yes
|
|
|
|
USE_OCAML_FINDLIB= yes
|
|
|
|
USE_OCAML_LDCONFIG= yes
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
MAKE_ENV+= LIBDIRS="${LOCALBASE}/lib"
|
2004-03-17 10:54:11 +01:00
|
|
|
|
2006-12-09 19:08:13 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME}
|
2004-03-17 10:54:11 +01:00
|
|
|
|
|
|
|
post-install:
|
2006-12-09 19:08:13 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-03-17 10:54:11 +01:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2006-12-09 19:08:13 +01:00
|
|
|
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/)
|
2004-03-17 10:54:11 +01:00
|
|
|
.endif
|
2002-09-18 13:42:02 +02:00
|
|
|
|
2007-03-14 05:12:32 +01:00
|
|
|
.include <bsd.port.mk>
|