mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
028629e4f3
Perl compatible regular expressions for Objective Caml PR: 37354 Submitted by: Henrik Motakef <henrik.motakef@web.de>
30 lines
825 B
Makefile
30 lines
825 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= 4.28.3
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.ai.univie.ac.at/~markus/ocaml_sources/
|
|
MASTER_SITE_SUBDIR= pcre-ocaml
|
|
PKGNAMEPREFIX= ocaml-
|
|
DISTNAME= pcre-ocaml-${PORTVERSION}
|
|
|
|
MAINTAINER= henrik.motakef@web.de
|
|
|
|
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml
|
|
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"
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/META ${PREFIX}/lib/ocaml/site-lib/pcre; \
|
|
${ECHO_CMD} "${PREFIX}/lib/ocaml/site-lib/pcre" >> ${PREFIX}/lib/ocaml/ld.conf
|
|
|
|
.include <bsd.port.mk>
|