diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-30 19:10:25 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-30 19:10:25 +0000 |
commit | f35389d8bea096f7d0f24e7389cd1a7627f2bc5b (patch) | |
tree | 38a8bd451e6c4434d25e7f1baf6b8f89229662db /devel/pcre-ocaml | |
parent | 22a93b1fce1aca52ff1124a7ac0c44ddb95e4dcb (diff) | |
download | pkgsrc-f35389d8bea096f7d0f24e7389cd1a7627f2bc5b.tar.gz |
DESTDIR support
Diffstat (limited to 'devel/pcre-ocaml')
-rw-r--r-- | devel/pcre-ocaml/Makefile | 8 | ||||
-rw-r--r-- | devel/pcre-ocaml/distinfo | 4 | ||||
-rw-r--r-- | devel/pcre-ocaml/patches/patch-ab | 4 |
3 files changed, 9 insertions, 7 deletions
diff --git a/devel/pcre-ocaml/Makefile b/devel/pcre-ocaml/Makefile index a1097223241..94fa1c2bf4f 100644 --- a/devel/pcre-ocaml/Makefile +++ b/devel/pcre-ocaml/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2008/08/31 13:20:34 obache Exp $ +# $NetBSD: Makefile,v 1.8 2010/01/30 19:16:09 joerg Exp $ # DISTNAME= pcre-ocaml-5.15.0 @@ -10,6 +10,8 @@ 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" @@ -23,10 +25,10 @@ BUILD_TARGET= byte .endif EGDIR= ${PREFIX}/share/examples/pcre-ocaml -INSTALLATION_DIRS= ${EGDIR} +INSTALLATION_DIRS= ${EGDIR} lib/ocaml/site-lib/pcre post-install: - cd ${WRKSRC}/examples && pax -rw -pm . ${EGDIR} + cd ${WRKSRC}/examples && pax -rw -pm . ${DESTDIR}${EGDIR} .include "../../devel/pcre/buildlink3.mk" .include "../../lang/ocaml/buildlink3.mk" diff --git a/devel/pcre-ocaml/distinfo b/devel/pcre-ocaml/distinfo index 59bb16fa947..fb534fe1309 100644 --- a/devel/pcre-ocaml/distinfo +++ b/devel/pcre-ocaml/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.4 2008/08/31 13:20:34 obache Exp $ +$NetBSD: distinfo,v 1.5 2010/01/30 19:16:09 joerg Exp $ SHA1 (pcre-ocaml-5.15.0.tar.bz2) = b7fb293867cf2c7d7deddc29e6a445359b0f7604 RMD160 (pcre-ocaml-5.15.0.tar.bz2) = b2a515f2120e2e6a25f03ee15d60fe766621f5a9 Size (pcre-ocaml-5.15.0.tar.bz2) = 51120 bytes SHA1 (patch-aa) = ff7aaec3c2fb06b1c9ab410257b64c8d5d29dcf6 -SHA1 (patch-ab) = 1a4de1d021cc9ebafdab8f470750fe097d80905e +SHA1 (patch-ab) = 95a3929612ebd5e81a1ab64b8bfbad9b63e9a330 diff --git a/devel/pcre-ocaml/patches/patch-ab b/devel/pcre-ocaml/patches/patch-ab index 66d33c05327..34a71cbad70 100644 --- a/devel/pcre-ocaml/patches/patch-ab +++ b/devel/pcre-ocaml/patches/patch-ab @@ -1,10 +1,10 @@ -$NetBSD: patch-ab,v 1.1 2007/06/09 11:05:00 rillig Exp $ +$NetBSD: patch-ab,v 1.2 2010/01/30 19:16:10 joerg Exp $ --- lib/Makefile.orig 2007-03-21 11:30:21.000000000 +0100 +++ lib/Makefile 2007-03-21 11:30:33.000000000 +0100 @@ -1,4 +1,5 @@ OCAMLMAKEFILE = ../OCamlMakefile -+OCAMLFIND_INSTFLAGS = -optional ++OCAMLFIND_INSTFLAGS = -optional -destdir ${DESTDIR}`$(OCAMLC) -where `/site-lib SOURCES = pcre.mli pcre.ml pcre_stubs.c CFLAGS = -O2 |