freebsd-ports/devel/ocaml-pcre/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

36 lines
841 B
Makefile

# New ports collection makefile for: ocaml-pcre
# Date created: 21 April 2002
# Whom: Henrik Motakef <henrik.motakef@web.de>
#
# $FreeBSD$
#
PORTNAME= pcre
PORTVERSION= 5.11.2
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.ocaml.info/ocaml_sources/
PKGNAMEPREFIX= ocaml-
DISTNAME= pcre-ocaml-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Perl compatible regular expressions for Objective Caml
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
USE_OCAML= yes
USE_OCAML_FINDLIB= yes
USE_OCAML_LDCONFIG= yes
CFLAGS+= -I${LOCALBASE}/include
MAKE_ENV+= LIBDIRS="${LOCALBASE}/lib"
USE_GMAKE= yes
EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/)
.endif
.include <bsd.port.mk>