diff options
author | wiz <wiz@pkgsrc.org> | 2012-08-15 08:24:58 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2012-08-15 08:24:58 +0000 |
commit | fa1910b1670c15b8ce916fe7f2fa4d0fe712b3e3 (patch) | |
tree | 113d99c27c6bd5f9cc50d99246bdd2b9966a2057 /security/ocaml-cryptokit | |
parent | 2c67a719ff7fe824182f31a15ba66db1f1bcc511 (diff) | |
download | pkgsrc-fa1910b1670c15b8ce916fe7f2fa4d0fe712b3e3.tar.gz |
Update to 1.6 from Jaap Boender in PR 46800:
This update of ocaml-cryptokit to its newest version, 1.6. does
not actually change anything in the functionality of the software.
Upstream, the build system has changed, and there are also a few
changes to the package (most notably, removal of the PLIST.opt in
favour of the PLIST_VARS system)
Diffstat (limited to 'security/ocaml-cryptokit')
-rw-r--r-- | security/ocaml-cryptokit/Makefile | 18 | ||||
-rw-r--r-- | security/ocaml-cryptokit/PLIST | 10 | ||||
-rw-r--r-- | security/ocaml-cryptokit/distinfo | 8 |
3 files changed, 17 insertions, 19 deletions
diff --git a/security/ocaml-cryptokit/Makefile b/security/ocaml-cryptokit/Makefile index dd712f6f140..a74c82a0001 100644 --- a/security/ocaml-cryptokit/Makefile +++ b/security/ocaml-cryptokit/Makefile @@ -1,18 +1,16 @@ -# $NetBSD: Makefile,v 1.1.1.1 2012/05/12 17:53:40 wiz Exp $ +# $NetBSD: Makefile,v 1.2 2012/08/15 08:24:58 wiz Exp $ # -DISTNAME= cryptokit-1.5 +DISTNAME= cryptokit-1.6 PKGNAME= ocaml-${DISTNAME} CATEGORIES= security -MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/639/ +MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/891/ MAINTAINER= jaapb@kerguelen.org HOMEPAGE= http://forge.ocamlcore.org/projects/cryptokit/ COMMENT= Cryptographic primitives library for Objective Caml LICENSE= gnu-lgpl-v2 # with static compilation exception -DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib - PKG_DESTDIR_SUPPORT= user-destdir HAS_CONFIGURE= yes @@ -29,20 +27,16 @@ SUBST_SED.destdir= -e 's,"install" :: findlib_name,"install" :: "-destdir $ BUILD_TARGET= build +PLIST_VARS+= opt .if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \ (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64") -PLIST_SRC+= PLIST.opt -post-build: - cd ${WRKSRC} && ocamlbuild src/cryptokit.cmxs - -post-install: - cd ${WRKSRC} && ${INSTALL_LIB} _build/src/cryptokit.cmxs ${DESTDIR}/${PREFIX}/lib/ocaml/site-lib/cryptokit +PLIST.opt= yes .endif pre-install: - ${RM} -rf ${DESTDIR}/${PREFIX}/lib/ocaml/site-lib/cryptokit ${MKDIR} ${DESTDIR}/${PREFIX}/lib/ocaml/site-lib .include "../../devel/zlib/buildlink3.mk" .include "../../lang/ocaml/buildlink3.mk" +.include "../../devel/ocaml-findlib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/security/ocaml-cryptokit/PLIST b/security/ocaml-cryptokit/PLIST index 21e91f1ce11..50fbd8ffa7b 100644 --- a/security/ocaml-cryptokit/PLIST +++ b/security/ocaml-cryptokit/PLIST @@ -1,9 +1,13 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2012/05/12 17:53:40 wiz Exp $ +@comment $NetBSD: PLIST,v 1.2 2012/08/15 08:24:58 wiz Exp $ @unexec %D/libexec/ocaml-findlib-register del %D/lib/ocaml/site-lib/cryptokit lib/ocaml/site-lib/cryptokit/META -lib/ocaml/site-lib/cryptokit/dllcryptokit.so -lib/ocaml/site-lib/cryptokit/libcryptokit.a +lib/ocaml/site-lib/cryptokit/dllcryptokit_stubs.so +lib/ocaml/site-lib/cryptokit/libcryptokit_stubs.a +${PLIST.opt}lib/ocaml/site-lib/cryptokit/cryptokit.a lib/ocaml/site-lib/cryptokit/cryptokit.cma lib/ocaml/site-lib/cryptokit/cryptokit.cmi +${PLIST.opt}lib/ocaml/site-lib/cryptokit/cryptokit.cmx +${PLIST.opt}lib/ocaml/site-lib/cryptokit/cryptokit.cmxa +${PLIST.opt}lib/ocaml/site-lib/cryptokit/cryptokit.cmxs lib/ocaml/site-lib/cryptokit/cryptokit.mli @exec %D/libexec/ocaml-findlib-register add %D/lib/ocaml/site-lib/cryptokit diff --git a/security/ocaml-cryptokit/distinfo b/security/ocaml-cryptokit/distinfo index 161a3dd897b..7f6f70c3744 100644 --- a/security/ocaml-cryptokit/distinfo +++ b/security/ocaml-cryptokit/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2012/05/12 17:53:40 wiz Exp $ +$NetBSD: distinfo,v 1.2 2012/08/15 08:24:58 wiz Exp $ -SHA1 (cryptokit-1.5.tar.gz) = 63e1ca4918186bcc7f5e7f6566c765261c4abef3 -RMD160 (cryptokit-1.5.tar.gz) = 7e1e179c3970ac8b0cdbac1ef18e9ea79de6526e -Size (cryptokit-1.5.tar.gz) = 128907 bytes +SHA1 (cryptokit-1.6.tar.gz) = 470d42baf7088cfbd97f4673d5a982fccfdeb274 +RMD160 (cryptokit-1.6.tar.gz) = 83daed01f9407292e2c3c5294c076b61685987f4 +Size (cryptokit-1.6.tar.gz) = 133031 bytes |