pkgsrc/devel/pcre-ocaml/Makefile

36 lines
952 B
Makefile
Raw Normal View History

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