2015-06-30 13:52:55 +02:00
|
|
|
# $NetBSD: Makefile,v 1.19 2015/06/30 11:52:58 jaapb Exp $
|
2006-05-20 16:22:04 +02:00
|
|
|
|
2015-05-24 13:35:35 +02:00
|
|
|
DISTNAME= pcre-ocaml-7.1.5
|
2014-10-09 21:39:24 +02:00
|
|
|
PKGNAME= ${DISTNAME} # avoid prefixing with ocaml
|
2015-06-30 13:52:55 +02:00
|
|
|
PKGREVISION= 1
|
2006-05-20 16:22:04 +02:00
|
|
|
CATEGORIES= devel
|
2015-05-24 13:35:35 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=mmottl/}
|
|
|
|
GITHUB_RELEASE= v${PKGVERSION_NOREV}
|
2006-05-20 16:22:04 +02:00
|
|
|
|
2014-10-09 21:41:01 +02:00
|
|
|
MAINTAINER= jaapb@NetBSD.org
|
2014-10-09 21:39:24 +02:00
|
|
|
HOMEPAGE= http://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
|
|
|
|
2014-10-09 21:39:24 +02:00
|
|
|
OCAML_USE_OASIS= yes
|
2014-10-09 21:41:01 +02:00
|
|
|
USE_TOOLS= pax
|
2015-01-20 15:31:09 +01:00
|
|
|
MAKE_JOBS_SAFE= no
|
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}
|
2015-01-20 15:31:09 +01:00
|
|
|
WRAPPER_DEBUG= yes
|
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
|
|
|
|
|
|
|
.include "../../devel/pcre/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|