From nobody@FreeBSD.org  Tue Jan 13 14:48:41 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0004B1065672
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 13 Jan 2009 14:48:40 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id C5B718FC18
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 13 Jan 2009 14:48:40 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n0DEmeKU053885
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 13 Jan 2009 14:48:40 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n0DEmeWI053884;
	Tue, 13 Jan 2009 14:48:40 GMT
	(envelope-from nobody)
Message-Id: <200901131448.n0DEmeWI053884@www.freebsd.org>
Date: Tue, 13 Jan 2009 14:48:40 GMT
From: Jaap Boender <jaapb@kerguelen.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [update] port: archivers/ocaml-zip (ocamlfind compatibility)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: beech@FreeBSD.org

>Number:         130507
>Category:       ports
>Synopsis:       [update] port: archivers/ocaml-zip (ocamlfind compatibility)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    beech
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 13 14:50:01 UTC 2009
>Closed-Date:    Fri Jan 30 03:53:33 UTC 2009
>Last-Modified:  Fri Jan 30 04:00:16 UTC 2009
>Originator:     Jaap Boender
>Release:        7.1-STABLE
>Organization:
>Environment:
FreeBSD marion-dufresne.pps.jussieu.fr 7.1-STABLE FreeBSD 7.1-STABLE #3: Sat Jan 10 15:46:24 CET 2009     root@marion-dufresne.pps.jussieu.fr:/usr/obj/usr/src/sys/MARION-DUFRESNE  i386

>Description:
This is a small update to the archivers/ocaml-zip port:

- it installs a META file for use with ocaml-findlib (findlib is still not necessary to install or run the port, but if it is there, it will detect the port);
- I've slightly changed the Makefile to install some files (zlib.cmi and zlib.mli) that are needed by www/ocsigen.

>How-To-Repeat:
n/a
>Fix:
diff added.

Patch attached with submission follows:

diff -ruN ocaml-zip/Makefile ocaml-zip.new/Makefile
--- ocaml-zip/Makefile	2007-05-19 21:57:44.000000000 +0200
+++ ocaml-zip.new/Makefile	2009-01-13 14:57:40.000000000 +0100
@@ -8,7 +8,7 @@
 
 PORTNAME=	zip
 PORTVERSION=	1.03
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	archivers
 MASTER_SITES=	http://caml.inria.fr/distrib/bazar-ocaml/
 PKGNAMEPREFIX=	ocaml-
@@ -47,6 +47,7 @@
 .endif
 
 post-install:
+	@${INSTALL_DATA} ${FILESDIR}/META ${OCAMLFIND_DESTDIR}/${PORTNAME}
 	@${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \
 		${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
 	@${ECHO_CMD} "@dirrm ${OCAML_SITELIBDIR}/${PORTNAME}" >> ${TMPPLIST}
diff -ruN ocaml-zip/files/META ocaml-zip.new/files/META
--- ocaml-zip/files/META	1970-01-01 01:00:00.000000000 +0100
+++ ocaml-zip.new/files/META	2008-04-04 16:53:06.000000000 +0200
@@ -0,0 +1,8 @@
+name="zip"
+version="1.03"
+description="reading and writing ZIP, JAR and GZIP files"
+requires="unix"
+archive(byte)="zip.cma"
+archive(native)="zip.cmxa"
+linkopts = ""
+
diff -ruN ocaml-zip/files/patch-Makefile ocaml-zip.new/files/patch-Makefile
--- ocaml-zip/files/patch-Makefile	1970-01-01 01:00:00.000000000 +0100
+++ ocaml-zip.new/files/patch-Makefile	2009-01-13 14:57:00.000000000 +0100
@@ -0,0 +1,11 @@
+--- Makefile.orig	2009-01-13 14:56:33.000000000 +0100
++++ Makefile	2009-01-13 14:56:52.000000000 +0100
+@@ -56,7 +56,7 @@
+ 
+ install:
+ 	mkdir -p $(INSTALLDIR)
+-	${BSD_INSTALL_DATA} zip.cma zip.cmi gzip.cmi zip.mli gzip.mli libcamlzip.a $(INSTALLDIR)
++	${BSD_INSTALL_DATA} zip.cma zip.cmi gzip.cmi zip.mli gzip.mli zlib.cmi zlib.mli libcamlzip.a $(INSTALLDIR)
+ 	if test -f dllcamlzip.so; then \
+ 	  ${BSD_INSTALL_DATA} dllcamlzip.so $(INSTALLDIR); \
+           installdir=$(INSTALLDIR); \


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->stas 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Jan 13 14:50:14 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=130507 
Responsible-Changed-From-To: stas->beech 
Responsible-Changed-By: beech 
Responsible-Changed-When: Fri Jan 30 03:06:22 UTC 2009 
Responsible-Changed-Why:  
By request 

http://www.freebsd.org/cgi/query-pr.cgi?pr=130507 
State-Changed-From-To: open->closed 
State-Changed-By: beech 
State-Changed-When: Fri Jan 30 03:53:19 UTC 2009 
State-Changed-Why:  
Committed, Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=130507 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/130507: commit references a PR
Date: Fri, 30 Jan 2009 03:52:55 +0000 (UTC)

 beech       2009-01-30 03:52:43 UTC
 
   FreeBSD ports repository
 
   Modified files:
     archivers/ocaml-zip  Makefile 
   Added files:
     archivers/ocaml-zip/files META patch-Makefile 
   Log:
   - Install a META file for use with ocaml-findlib (findlib is still not
     necessary to install or run the port, but if it is there, it will detect the
     port);
   - Install files (zlib.cmi and zlib.mli) needed by www/ocsigen.
   - Bump portrevision
   
   PR:             ports/130507
   Submitted by:   Jaap Boender <jaapb@kerguelen.org>
   Approved by:    stas (maintainer)
   
   Revision  Changes    Path
   1.5       +2 -1      ports/archivers/ocaml-zip/Makefile
   1.1       +8 -0      ports/archivers/ocaml-zip/files/META (new)
   1.1       +11 -0     ports/archivers/ocaml-zip/files/patch-Makefile (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
