View | Details | Raw Unified | Return to bug 130507
Collapse All | Expand All

(-)ocaml-zip.new/Makefile (-1 / +2 lines)
Lines 8-14 Link Here
8
8
9
PORTNAME=	zip
9
PORTNAME=	zip
10
PORTVERSION=	1.03
10
PORTVERSION=	1.03
11
PORTREVISION=	1
11
PORTREVISION=	2
12
CATEGORIES=	archivers
12
CATEGORIES=	archivers
13
MASTER_SITES=	http://caml.inria.fr/distrib/bazar-ocaml/
13
MASTER_SITES=	http://caml.inria.fr/distrib/bazar-ocaml/
14
PKGNAMEPREFIX=	ocaml-
14
PKGNAMEPREFIX=	ocaml-
Lines 47-52 Link Here
47
.endif
47
.endif
48
48
49
post-install:
49
post-install:
50
	@${INSTALL_DATA} ${FILESDIR}/META ${OCAMLFIND_DESTDIR}/${PORTNAME}
50
	@${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \
51
	@${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \
51
		${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
52
		${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
52
	@${ECHO_CMD} "@dirrm ${OCAML_SITELIBDIR}/${PORTNAME}" >> ${TMPPLIST}
53
	@${ECHO_CMD} "@dirrm ${OCAML_SITELIBDIR}/${PORTNAME}" >> ${TMPPLIST}
(-)ocaml-zip.new/files/META (+8 lines)
Line 0 Link Here
1
name="zip"
2
version="1.03"
3
description="reading and writing ZIP, JAR and GZIP files"
4
requires="unix"
5
archive(byte)="zip.cma"
6
archive(native)="zip.cmxa"
7
linkopts = ""
8
(-)ocaml-zip.new/files/patch-Makefile (+11 lines)
Line 0 Link Here
1
--- Makefile.orig	2009-01-13 14:56:33.000000000 +0100
2
+++ Makefile	2009-01-13 14:56:52.000000000 +0100
3
@@ -56,7 +56,7 @@
4
 
5
 install:
6
 	mkdir -p $(INSTALLDIR)
7
-	${BSD_INSTALL_DATA} zip.cma zip.cmi gzip.cmi zip.mli gzip.mli libcamlzip.a $(INSTALLDIR)
8
+	${BSD_INSTALL_DATA} zip.cma zip.cmi gzip.cmi zip.mli gzip.mli zlib.cmi zlib.mli libcamlzip.a $(INSTALLDIR)
9
 	if test -f dllcamlzip.so; then \
10
 	  ${BSD_INSTALL_DATA} dllcamlzip.so $(INSTALLDIR); \
11
           installdir=$(INSTALLDIR); \

Return to bug 130507