summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2015-10-01 02:52:46 +0000
committervanilla <vanilla@FreeBSD.org>2015-10-01 02:52:46 +0000
commit69f4e38f7fd399a0449a0e43185c3dfed41f70a8 (patch)
treebb367c3ff83113a73a28a545ff62103e9a009796
parent1358e264c8fc3f6ad8dfa56f99c0f7a8b6eef4cd (diff)
downloadFreeBSD-ports-69f4e38f7fd399a0449a0e43185c3dfed41f70a8.zip
FreeBSD-ports-69f4e38f7fd399a0449a0e43185c3dfed41f70a8.tar.gz
1: Upgrade to 1.05.
2: change MASTER_SITES. 3: strip binary. 4: add LICENSE & LICENSE_FILE.
-rw-r--r--archivers/ocaml-zip/Makefile9
-rw-r--r--archivers/ocaml-zip/distinfo4
-rw-r--r--archivers/ocaml-zip/files/patch-Makefile6
3 files changed, 11 insertions, 8 deletions
diff --git a/archivers/ocaml-zip/Makefile b/archivers/ocaml-zip/Makefile
index 6b3b606..d56a047 100644
--- a/archivers/ocaml-zip/Makefile
+++ b/archivers/ocaml-zip/Makefile
@@ -2,16 +2,18 @@
# $FreeBSD$
PORTNAME= zip
-PORTVERSION= 1.04
-PORTREVISION= 1
+PORTVERSION= 1.05
CATEGORIES= archivers
-MASTER_SITES= http://caml.inria.fr/distrib/bazar-ocaml/
+MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/1037/
PKGNAMEPREFIX= ocaml-
DISTNAME= caml${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= OCaml library to manipulate ZIP/GZIP/JAR archives
+LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
USE_OCAML= yes
USE_OCAML_LDCONFIG=yes
USE_OCAML_WASH= yes
@@ -32,5 +34,6 @@ post-install:
${INSTALL_DATA} ${FILESDIR}/META ${STAGEDIR}${OCAMLFIND_DESTDIR}/${PORTNAME}
@${FIND} ${STAGEDIR}${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \
${SED} "s,^${STAGEDIR}${PREFIX}/,," >> ${TMPPLIST}
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/zip/dllcamlzip.so
.include <bsd.port.mk>
diff --git a/archivers/ocaml-zip/distinfo b/archivers/ocaml-zip/distinfo
index 689bcd1..089fed4 100644
--- a/archivers/ocaml-zip/distinfo
+++ b/archivers/ocaml-zip/distinfo
@@ -1,2 +1,2 @@
-SHA256 (camlzip-1.04.tar.gz) = 76f5f88a468722e851b3a959ef93e7c61dffb877fbaafa2b71a7a7146e85ecfe
-SIZE (camlzip-1.04.tar.gz) = 25691
+SHA256 (camlzip-1.05.tar.gz) = 930b70c736ab5a7ed1b05220102310a0a2241564786657abe418e834a538d06b
+SIZE (camlzip-1.05.tar.gz) = 25817
diff --git a/archivers/ocaml-zip/files/patch-Makefile b/archivers/ocaml-zip/files/patch-Makefile
index c1a829d..051d0f3 100644
--- a/archivers/ocaml-zip/files/patch-Makefile
+++ b/archivers/ocaml-zip/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig 2009-01-13 14:56:33.000000000 +0100
-+++ Makefile 2009-01-13 14:56:52.000000000 +0100
-@@ -56,7 +56,7 @@
+--- Makefile.orig 2015-10-01 02:48:15 UTC
++++ Makefile
+@@ -56,7 +56,7 @@ clean:
install:
mkdir -p $(INSTALLDIR)
OpenPOWER on IntegriCloud