summaryrefslogtreecommitdiff
path: root/archivers/ocaml-zip/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-08-16 11:50:46 +0000
committerwiz <wiz@pkgsrc.org>2012-08-16 11:50:46 +0000
commit5de979287744e394ee76fa7ef7c84e5cac7c1ec0 (patch)
treea6155c39d3a10049bd10dd91d87d79eda2751f70 /archivers/ocaml-zip/Makefile
parent305750385799ddddadc72c767e795ef4660c66ac (diff)
downloadpkgsrc-5de979287744e394ee76fa7ef7c84e5cac7c1ec0.tar.gz
Update to 1.04, provided by Jaap Boender in PR 46805:
This is an upgrade to the latest version. Changes include: - Added function Zip.add_entry_generator. (Contributed by A. Frisch.) - The "level" optional argument was sometimes not honored; fixed. - Relicensed under LGPL 2.1 or above, with Caml's special exception for static linking. The package itself has been revamped as well, with destdir support, use of PLIST_VARS, and some more minor improvements. It's also been tested to work with ocaml 4.00.
Diffstat (limited to 'archivers/ocaml-zip/Makefile')
-rw-r--r--archivers/ocaml-zip/Makefile24
1 files changed, 11 insertions, 13 deletions
diff --git a/archivers/ocaml-zip/Makefile b/archivers/ocaml-zip/Makefile
index d4edddee306..eca0a4ebc54 100644
--- a/archivers/ocaml-zip/Makefile
+++ b/archivers/ocaml-zip/Makefile
@@ -1,33 +1,31 @@
-# $NetBSD: Makefile,v 1.3 2011/12/06 00:19:22 sbd Exp $
+# $NetBSD: Makefile,v 1.4 2012/08/16 11:50:46 wiz Exp $
#
-DISTNAME= camlzip-${VERSION}
PKGNAME= ocaml-zip-${VERSION}
-VERSION= 1.03
-PKGREVISION= 1
+DISTNAME= camlzip-${VERSION}
+VERSION= 1.04
CATEGORIES= archivers
-MASTER_SITES= http://caml.inria.fr/distrib/bazar-ocaml/
+MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/328/
+LICENSE= gnu-lgpl-v2.1
MAINTAINER= jaapb@kerguelen.org
-HOMEPAGE= http://cristal.inria.fr/~xleroy/software.html
+HOMEPAGE= http://forge.ocamlcore.org/projects/camlzip/
COMMENT= OCaml library to manipulate ZIP/GZIP/JAR archives
-PKG_DESTDIR_SUPPORT= user-destdir
-
-DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
-
BUILD_TARGET= all
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PLIST_VARS+= opt
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
(${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
BUILD_TARGET+= allopt
-PLIST_SRC+= PLIST.opt
+PLIST.opt= yes
.endif
-PLIST_SRC+= PLIST
-
post-extract:
${CP} ${FILESDIR}/META ${WRKSRC}/META
.include "../../lang/ocaml/buildlink3.mk"
+.include "../../devel/ocaml-findlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"