2018-07-19 17:15:20 +02:00
|
|
|
# $NetBSD: Makefile,v 1.33 2018/07/19 15:15:26 jaapb Exp $
|
2006-05-20 16:22:04 +02:00
|
|
|
|
2018-01-10 17:21:20 +01:00
|
|
|
VERSION= 7.3.4
|
|
|
|
DISTNAME= pcre-${VERSION}
|
|
|
|
PKGNAME= pcre-ocaml-${VERSION}
|
2018-07-19 17:15:20 +02:00
|
|
|
PKGREVISION= 3
|
2006-05-20 16:22:04 +02:00
|
|
|
CATEGORIES= devel
|
2015-05-24 13:35:35 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=mmottl/}
|
2006-05-20 16:22:04 +02:00
|
|
|
|
2014-10-09 21:41:01 +02:00
|
|
|
MAINTAINER= jaapb@NetBSD.org
|
2017-07-31 00:32:10 +02:00
|
|
|
HOMEPAGE= https://github.com/mmottl/pcre-ocaml
|
2006-05-20 16:22:04 +02:00
|
|
|
COMMENT= Perl compatible regular expressions for OCaml
|
2015-05-24 13:35:35 +02:00
|
|
|
LICENSE= gnu-lgpl-v2.1
|
2006-05-20 16:22:04 +02:00
|
|
|
|
2018-01-10 17:21:20 +01:00
|
|
|
WRKSRC= ${WRKDIR}/pcre-ocaml-${VERSION}
|
|
|
|
|
|
|
|
OCAML_USE_JBUILDER= yes
|
|
|
|
OPAM_INSTALL_FILES= pcre
|
2014-10-09 21:41:01 +02:00
|
|
|
USE_TOOLS= pax
|
2007-06-09 13:05:00 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2014-10-09 21:39:24 +02:00
|
|
|
.include "../../mk/ocaml.mk"
|
2007-06-09 13:05:00 +02:00
|
|
|
|
2006-05-20 16:22:04 +02:00
|
|
|
EGDIR= ${PREFIX}/share/examples/pcre-ocaml
|
2014-10-09 21:39:24 +02:00
|
|
|
INSTALLATION_DIRS+= ${EGDIR}
|
2016-06-20 21:39:43 +02:00
|
|
|
OCAML_FINDLIB_DIRS= pcre
|
2006-05-20 16:22:04 +02:00
|
|
|
|
|
|
|
post-install:
|
2010-01-30 20:10:25 +01:00
|
|
|
cd ${WRKSRC}/examples && pax -rw -pm . ${DESTDIR}${EGDIR}
|
2006-05-20 16:22:04 +02:00
|
|
|
|
2018-01-10 17:21:20 +01:00
|
|
|
.include "../../devel/ocaml-base/buildlink3.mk"
|
|
|
|
.include "../../devel/ocaml-configurator/buildlink3.mk"
|
|
|
|
.include "../../devel/ocaml-stdio/buildlink3.mk"
|
2006-05-20 16:22:04 +02:00
|
|
|
.include "../../devel/pcre/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|