Date: Wed, 2 Aug 2006 00:10:01 +0400 (MSD) From: Stanislav Sedov <ssedov@mbsd.msk.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/101221: [NEW PORT] devel/ocaml-sexplib: An OCaml library for working with S-expressions Message-ID: <20060801201001.89D98120A3@fonon.realnet> Resent-Message-ID: <200608012020.k71KKHxY052967@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 101221 >Category: ports >Synopsis: [NEW PORT] devel/ocaml-sexplib: An OCaml library for working with S-expressions >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 20:20:17 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 library contains functionality for parsing and pretty-printing S-expressions. In addition to that it contains an extremely useful preprocessing module for Camlp4, which can be used to automatically generate code from type definitions for efficiently converting OCaml-values to S-expressions and vice versa. In combination with the parsing and pretty-printing functionality this frees the user from having to write his own I/O-routines for datastructures he defines. Possible errors during automatic conversions from S-expressions to OCaml-values are reported in a very human-readable way. Another module in the library allows you to extract and replace sub-expressions in S-expressions. Author: Markus Mottl <mmottl@janestcapital.com> WWW: http://www.janestcapital.com/ocaml/index.html Note: this port depends on ports/101100 >How-To-Repeat: >Fix: --- ocaml-sexplib-2.2.0.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-sexplib # ocaml-sexplib/pkg-descr # ocaml-sexplib/Makefile # ocaml-sexplib/distinfo # echo c - ocaml-sexplib mkdir -p ocaml-sexplib > /dev/null 2>&1 echo x - ocaml-sexplib/pkg-descr sed 's/^X//' >ocaml-sexplib/pkg-descr << 'END-of-ocaml-sexplib/pkg-descr' XThis library contains functionality for parsing and pretty-printing XS-expressions. In addition to that it contains an extremely useful Xpreprocessing module for Camlp4, which can be used to automatically generate Xcode from type definitions for efficiently converting OCaml-values to XS-expressions and vice versa. In combination with the parsing and Xpretty-printing functionality this frees the user from having to write his own XI/O-routines for datastructures he defines. Possible errors during automatic Xconversions from S-expressions to OCaml-values are reported in a very Xhuman-readable way. Another module in the library allows you to extract and Xreplace sub-expressions in S-expressions. X XAuthor: Markus Mottl <mmottl@janestcapital.com> XWWW: http://www.janestcapital.com/ocaml/index.html END-of-ocaml-sexplib/pkg-descr echo x - ocaml-sexplib/Makefile sed 's/^X//' >ocaml-sexplib/Makefile << 'END-of-ocaml-sexplib/Makefile' X# New ports collection makefile for: ocaml-sexplib X# Date created: 2006-08-01 X# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru> X# X# $MBSDlabs$ X# $FreeBSD$ X# X XPORTNAME= sexplib XPORTVERSION= 2.2.0 XCATEGORIES= devel XMASTER_SITES= http://www.janestcapital.com/ocaml/ XPKGNAMEPREFIX= ocaml- X XMAINTAINER= ssedov@mbsd.msk.ru XCOMMENT= An OCaml library for working with S-expressions X XUSE_GMAKE= yes XUSE_OCAML= yes XUSE_OCAML_FINDLIB=yes X XMASTERPORT= ${PORTSDIR}/devel/ocaml-camlidl XDOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME} 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 @${REINPLACE_CMD} -E -e "/lib_test/d" ${WRKSRC}/Makefile X Xpost-install: X @${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR} X X @${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \ X ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} X @${FIND} ${DOCSDIR} -type f | \ X ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} X @${ECHO_CMD} "@dirrm share/doc/ocaml/${PORTNAME}" >> ${TMPPLIST} X @${ECHO_CMD} "@unexec rmdir %D/share/doc/ocaml 2>/dev/null ||true"\ X >> ${TMPPLIST} X X.include <bsd.port.post.mk> END-of-ocaml-sexplib/Makefile echo x - ocaml-sexplib/distinfo sed 's/^X//' >ocaml-sexplib/distinfo << 'END-of-ocaml-sexplib/distinfo' XMD5 (sexplib-2.2.0.tar.gz) = 7545423823790a8611a3c85377ed5861 XSHA256 (sexplib-2.2.0.tar.gz) = 8df0bd341439afed1b6ce4ba345bb7babe8dbdcf338655e6daa10b8ee6c1a2c5 XSIZE (sexplib-2.2.0.tar.gz) = 44643 END-of-ocaml-sexplib/distinfo exit --- ocaml-sexplib-2.2.0.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?20060801201001.89D98120A3>