summaryrefslogtreecommitdiff
path: root/security/ocaml-ssl
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-30 19:36:35 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-30 19:36:35 +0000
commit8e45140b6d443ee542b3ee640a9d34dc6cd81bb4 (patch)
treec08c32b7ddca1922b1c37aa6962da6077b795d02 /security/ocaml-ssl
parent512fdcf66babd13535e12e440ec57ab45fadfce2 (diff)
downloadpkgsrc-8e45140b6d443ee542b3ee640a9d34dc6cd81bb4.tar.gz
DESTDIR support
Diffstat (limited to 'security/ocaml-ssl')
-rw-r--r--security/ocaml-ssl/Makefile4
-rw-r--r--security/ocaml-ssl/distinfo3
-rw-r--r--security/ocaml-ssl/patches/patch-aa14
3 files changed, 19 insertions, 2 deletions
diff --git a/security/ocaml-ssl/Makefile b/security/ocaml-ssl/Makefile
index 314ac0c97d2..d7118e95218 100644
--- a/security/ocaml-ssl/Makefile
+++ b/security/ocaml-ssl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2010/01/17 12:02:42 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2010/01/30 19:44:50 joerg Exp $
#
DISTNAME= ocaml-ssl-0.4.2
@@ -10,6 +10,8 @@ MAINTAINER= jaapb@kerguelen.org
HOMEPAGE= http://savonet.sourceforge.net/wiki/OCamlLibs
COMMENT= SSL library for OCaml
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
HAS_CONFIGURE= yes
diff --git a/security/ocaml-ssl/distinfo b/security/ocaml-ssl/distinfo
index 9fa1cf56372..97a34f95e31 100644
--- a/security/ocaml-ssl/distinfo
+++ b/security/ocaml-ssl/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2008/03/03 18:14:19 tonio Exp $
+$NetBSD: distinfo,v 1.4 2010/01/30 19:44:50 joerg Exp $
SHA1 (ocaml-ssl-0.4.2.tar.gz) = ec6362b681aa5498143ec0c4ddd77fbbe745a2aa
RMD160 (ocaml-ssl-0.4.2.tar.gz) = ba5b4106d19e0b3d50e9a19d705ef18a5b20948c
Size (ocaml-ssl-0.4.2.tar.gz) = 109090 bytes
+SHA1 (patch-aa) = e13b4c2f9ee38cb45f3eeb74f36a9887b194daf1
diff --git a/security/ocaml-ssl/patches/patch-aa b/security/ocaml-ssl/patches/patch-aa
new file mode 100644
index 00000000000..92232028abf
--- /dev/null
+++ b/security/ocaml-ssl/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1 2010/01/30 19:44:51 joerg Exp $
+
+--- src/Makefile.in.orig 2010-01-30 19:40:05.000000000 +0000
++++ src/Makefile.in
+@@ -50,7 +50,8 @@ byte: byte-code-library
+ opt: native-code-library
+
+ install:
+- $(OCAMLFIND) install $(OCAMLFIND_INSTFLAGS) $(RESULT) META $(LIBINSTALL_FILES)
++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}`ocamlc -where`/site-lib
++ $(OCAMLFIND) install -destdir ${DESTDIR}`ocamlc -where`/site-lib $(OCAMLFIND_INSTFLAGS) $(RESULT) META $(LIBINSTALL_FILES)
+
+ uninstall:
+ $(OCAMLFIND) remove $(OCAMLFIND_INSTFLAGS) $(RESULT)