pkgsrc/devel/pcre-ocaml/Makefile
asau e30255615f Update to pcre-ocaml 6.2.5
Changes:

2012-01-04:  Fixed native code debug build target by updating OCamlMakefile.

             Thanks to Stephane Glondu <glondu@debian.org> for the patch!

2011-12-15:   Fixed a Windows portability bug in the C-bindings.

             Thanks to Evgenii Lepikhin <johnlepikhin@gmail.com> for the patch!

2011-11-09:  Updated OCamlMakefile to fix linking order.

2011-01-16:  Added support for limit recursion flag.

             Thanks to Delphin Lecucq <Delphin.LECUCQ@3ds.com> for the patch!

2010-10-31:  Improved Windows support with MSVC.

             Thanks to Sylvain Le Gall <sylvain@le-gall.net> for the patch!

2010-04-01:  Added new function:

               * regexp_or

2009-06-20:  Fixed bug in configuration functions that could lead to a segfault.

             Thanks to Gerd Stolpmann <gerd@gerd-stolpmann.de> for the patch!

2009-05-07:  Changed API wrt. error handling and thus made a major release.

             Improved behavior in the presence of recursion limit errors.
             Thanks to Martin Jambon <martinj@mylife.com> for this patch!

2009-04-23:  Fixed build problem on MinGW.

             Thanks to Gerd Stolpmann <gerd@gerd-stolpmann.de> for the patch!

2009-03-08:  Fixed build problem on Mac OS X with macports.

             Thanks to Ralph Douglass <ralph@grayskies.net> for the
             initial patch.

             Update OCamlMakefile.

             Improved Godi-distribution.
2012-03-04 09:42:31 +00:00

33 lines
938 B
Makefile

# $NetBSD: Makefile,v 1.11 2012/03/04 09:42:31 asau Exp $
DISTNAME= pcre-ocaml-6.2.5
CATEGORIES= devel
MASTER_SITES= http://www.ocaml.info/ocaml_sources/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.ocaml.info/ocaml_sources/
COMMENT= Perl compatible regular expressions for OCaml
PKG_DESTDIR_SUPPORT= user-destdir
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} lib/ocaml/site-lib/pcre
post-install:
cd ${WRKSRC}/examples && pax -rw -pm . ${DESTDIR}${EGDIR}
.include "../../devel/pcre/buildlink3.mk"
.include "../../lang/ocaml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"