Date: Tue, 2 Oct 2012 02:53:50 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/172232: devel/ocaml-sexplib: Update to version 108.07.00 Message-ID: <20121002025350.f643e4d18c1a544a58611c74@yahoo.com> Resent-Message-ID: <201210011810.q91IA92W013856@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 172232 >Category: ports >Synopsis: devel/ocaml-sexplib: Update to version 108.07.00 >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: Mon Oct 01 18:10:08 UTC 2012 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p10 i386 >Organization: >Environment: >Description: - Update to version 108.07.00 >How-To-Repeat: >Fix: diff -urN /usr/ports/devel/ocaml-sexplib/Makefile devel/ocaml-sexplib/Makefile --- /usr/ports/devel/ocaml-sexplib/Makefile 2011-10-24 12:32:56.000000000 +0900 +++ devel/ocaml-sexplib/Makefile 2012-09-28 18:57:06.000000000 +0900 @@ -1,55 +1,47 @@ -# New ports collection makefile for: ocaml-sexplib -# Date created: 2006-08-01 -# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru> -# -# $MBSDlabs$ +# Created by: Stanislav Sedov <ssedov@mbsd.msk.ru> # $FreeBSD: ports/devel/ocaml-sexplib/Makefile,v 1.8 2011/10/24 03:32:56 stas Exp $ -# PORTNAME= sexplib -PORTVERSION= 3.0.0 -PORTREVISION= 1 +PORTVERSION= 108.07.00 CATEGORIES= devel -MASTER_SITES= http://www.janestcapital.com/ocaml/ +MASTER_SITES= https://ocaml.janestreet.com/ocaml-core/%SUBDIR%/ +MASTER_SITE_SUBDIR= ${PORTVERSION}/individual PKGNAMEPREFIX= ocaml- -DISTNAME= ${PORTNAME}310-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= An OCaml library for working with S-expressions -BUILD_DEPENDS= ${SA_DIR}/type-conv/pa_type_conv.cmi:${PORTSDIR}/devel/ocaml-typeconv -RUN_DEPENDS= ${SA_DIR}/type-conv/pa_type_conv.cmi:${PORTSDIR}/devel/ocaml-typeconv +LICENSE= BSD + +BUILD_DEPENDS= ocaml-type-conv>0:${PORTSDIR}/devel/ocaml-typeconv +RUN_DEPENDS= ocaml-type-conv>0:${PORTSDIR}/devel/ocaml-typeconv + +OPTIONS_DEFINE= DOCS -USE_GMAKE= yes USE_OCAML= yes USE_OCAML_FINDLIB=yes -MAKE_JOBS_UNSAFE= yes +USE_OCAMLFIND_PLIST=yes -DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME} -SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR} +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --prefix ${PREFIX} --disable-docs +MAKE_JOBS_UNSAFE=yes -.include <bsd.port.pre.mk> +DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} -post-extract: -# For nonstandard prefixes -.if !exists(${OCAMLFIND_DESTDIR}) - ${MKDIR} ${OCAMLFIND_DESTDIR} -.endif -.if !exists(${OCAMLFIND_LDCONF}) - ${TOUCH} ${OCAMLFIND_LDCONF} +PORTDOCS= * + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MDOCS} +PLIST_DIRSTRY+= ${OCAML_DOCSDIR:S,^${PREFIX}/,,} .endif - @${REINPLACE_CMD} -E -e "/lib_test/d" ${WRKSRC}/Makefile post-install: +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR} - - @${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \ - ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} - @${FIND} ${DOCSDIR} -type f | \ - ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} - @${ECHO_CMD} "@dirrm share/doc/ocaml/${PORTNAME}" >> ${TMPPLIST} - @${ECHO_CMD} "@unexec rmdir %D/share/doc/ocaml 2>/dev/null ||true"\ - >> ${TMPPLIST} +.for i in CHANGES.txt README.md + (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR}) +.endfor +.endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff -urN /usr/ports/devel/ocaml-sexplib/distinfo devel/ocaml-sexplib/distinfo --- /usr/ports/devel/ocaml-sexplib/distinfo 2011-07-03 23:56:34.000000000 +0900 +++ devel/ocaml-sexplib/distinfo 2012-09-28 18:20:23.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (sexplib310-3.0.0.tar.gz) = a7ee9981d271ac9d8771dc0e7dcbd7c2eeb1084a23fcf6147c339b94bf31d696 -SIZE (sexplib310-3.0.0.tar.gz) = 48720 +SHA256 (sexplib-108.07.00.tar.gz) = 9d2a6e94feb386eef85757231876e415ff9325f582c28b6eac79de552640aace +SIZE (sexplib-108.07.00.tar.gz) = 116072 diff -urN /usr/ports/devel/ocaml-sexplib/pkg-descr devel/ocaml-sexplib/pkg-descr --- /usr/ports/devel/ocaml-sexplib/pkg-descr 2008-06-01 18:42:27.000000000 +0900 +++ devel/ocaml-sexplib/pkg-descr 2012-09-28 17:47:16.000000000 +0900 @@ -1,13 +1,14 @@ 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 data structures 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. +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 data structures 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 +WWW: http://ocaml.janestcapital.com/ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121002025350.f643e4d18c1a544a58611c74>