Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  1 Aug 2006 23:02:35 +0400 (MSD)
From:      Stanislav Sedov <ssedov@mbsd.msk.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/101214: [NEW PORT] devel/ocaml-zip: OCaml library to manipulate ZIP/GZIP/JAR archives
Message-ID:  <20060801190236.06184120A3@fonon.realnet>
Resent-Message-ID: <200608011930.k71JUFnq047492@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         101214
>Category:       ports
>Synopsis:       [NEW PORT] devel/ocaml-zip: OCaml library to manipulate ZIP/GZIP/JAR archives
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 01 19:30:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Stanislav Sedov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs, Inc.
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Sun Jun 18 20:51:36 MSD 2006
>Description:
This Objective Caml library provides easy access to compressed files in ZIP
and GZIP format, as well as to Java JAR files.  It provides functions
for reading from and writing to compressed files in these formats.

Author:	Xavier Leroy <Xavier.Leroy@inria.fr>
WWW:	http://pauillac.inria.fr/~xleroy/software.html

Note: port depends on ports/101100

>How-To-Repeat:
>Fix:

--- ocaml-zip-1.02.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ocaml-zip
#	ocaml-zip/pkg-descr
#	ocaml-zip/Makefile
#	ocaml-zip/distinfo
#
echo c - ocaml-zip
mkdir -p ocaml-zip > /dev/null 2>&1
echo x - ocaml-zip/pkg-descr
sed 's/^X//' >ocaml-zip/pkg-descr << 'END-of-ocaml-zip/pkg-descr'
XThis Objective Caml library provides easy access to compressed files in ZIP
Xand GZIP format, as well as to Java JAR files.  It provides functions
Xfor reading from and writing to compressed files in these formats.
X
XAuthor:	Xavier Leroy <Xavier.Leroy@inria.fr>
XWWW:	http://pauillac.inria.fr/~xleroy/software.html
END-of-ocaml-zip/pkg-descr
echo x - ocaml-zip/Makefile
sed 's/^X//' >ocaml-zip/Makefile << 'END-of-ocaml-zip/Makefile'
X# New ports collection makefile for:	ocaml-zip
X# Date created:		2006-08-01
X# Whom:			Stanislav Sedov <ssedov@mbsd.msk.ru>
X#
X# $MBSDlabs$
X# $FreeBSD$
X#
X
XPORTNAME=	zip
XPORTVERSION=	1.02
XCATEGORIES=	devel
XMASTER_SITES=	http://caml.inria.fr/distrib/bazar-ocaml/
XPKGNAMEPREFIX=	ocaml-
XDISTNAME=	caml${PORTNAME}-${PORTVERSION}
X
XMAINTAINER=	ssedov@mbsd.msk.ru
XCOMMENT=	OCaml library to manipulate ZIP/GZIP/JAR archives
X
X#USE_GMAKE=	yes
XUSE_OCAML=	yes
XUSE_OCAML_LDCONFIG=yes
X
XALL_TARGET=	all allopt
XINSTALL_TARGET=	install installopt
XMASTERPORT=	${PORTSDIR}/devel/ocaml-camlidl
XPATTERN=	([[:space:]]*)cp([[:space:]]+.*)
X
X.include <bsd.port.pre.mk>
X.include "${MASTERPORT}/bsd.ocaml.mk"
X
Xpost-extract:
X# For nonstandard prefixes
X.if !exists(${OCAMLFIND_DESTDIR})
X	${MKDIR} ${OCAMLFIND_DESTDIR}
X.endif
X.if !exists(${OCAMLFIND_LDCONF})
X	${TOUCH} ${OCAMLFIND_LDCONF}
X.endif
X# PREFIX, CFLAGS and permissions safeness
X	@${REINPLACE_CMD} -E \
X		-e "s,${PATTERN},\1\$${BSD_INSTALL_DATA}\2," \
X		-e "s,(-ccopt[[:space:]])-g,\1\"${CFLAGS}\"," \
X		-e "s,^(INSTALLDIR=).*,\1${OCAMLFIND_DESTDIR}/zip," \
X		-e "/ldconf/d" ${WRKSRC}/Makefile
X
Xpost-install:
X	@${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \
X		${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
X	@${ECHO_CMD} "@dirrm ${OCAML_SITELIBDIR}/${PORTNAME}" >> ${TMPPLIST}
X
X.include <bsd.port.post.mk>
END-of-ocaml-zip/Makefile
echo x - ocaml-zip/distinfo
sed 's/^X//' >ocaml-zip/distinfo << 'END-of-ocaml-zip/distinfo'
XMD5 (camlzip-1.02.tar.gz) = f043818c5525875139debee33427ec1e
XSHA256 (camlzip-1.02.tar.gz) = 0de00d5521d3e49c8c2b1b9bdde362d879b36417360048914ecb1031086299ef
XSIZE (camlzip-1.02.tar.gz) = 24574
END-of-ocaml-zip/distinfo
exit
--- ocaml-zip-1.02.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060801190236.06184120A3>