blob: a109722324109e56743bf300b7256f99f21a763e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $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"
|