f4dd391d1c
Patch privided by PR 39348. Changes: 2008-05-06: Fixed build problem with newer versions of PCRE. 2008-03-14: Synced with Jane Street tree. 2008-01-25: Added new function: * names This function returns the names of all named substrings in a regular expression. Thanks to Benedikt Grundmann <bgrundmann@janestcapital.com> for the patch! 2007-07-12: Improved build scripts for Windows. Thanks to Christophe Troestler <Christophe.Troestler@umh.ac.be> for the patch! 2007-07-12: Improved documentation for Win32 builds, and added some build scripts usable on Windows. Thanks to Christophe Troestler <Christophe.Troestler@umh.ac.be> for this contribution! 2007-04-23: callback_exn -> caml_callback_exn. Updated OCamlMakefile.
33 lines
897 B
Makefile
33 lines
897 B
Makefile
# $NetBSD: Makefile,v 1.7 2008/08/31 13:20:34 obache Exp $
|
|
#
|
|
|
|
DISTNAME= pcre-ocaml-5.15.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.ocaml.info/ocaml_sources/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.ocaml.info/ocaml_sources/
|
|
COMMENT= Perl compatible regular expressions for OCaml
|
|
|
|
DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
USE_TOOLS+= gmake pax
|
|
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
|
|
(${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
|
|
PLIST_SRC= PLIST.opt PLIST
|
|
.else
|
|
BUILD_TARGET= byte
|
|
.endif
|
|
|
|
EGDIR= ${PREFIX}/share/examples/pcre-ocaml
|
|
INSTALLATION_DIRS= ${EGDIR}
|
|
|
|
post-install:
|
|
cd ${WRKSRC}/examples && pax -rw -pm . ${EGDIR}
|
|
|
|
.include "../../devel/pcre/buildlink3.mk"
|
|
.include "../../lang/ocaml/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|