# 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 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 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 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 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