svn commit: r309292 - head/devel/ocaml-sexplib
Marcelo Araujo
araujo at FreeBSD.org
Thu Dec 20 05:49:33 UTC 2012
Author: araujo
Date: Thu Dec 20 05:49:32 2012
New Revision: 309292
URL: http://svnweb.freebsd.org/changeset/ports/309292
Log:
- Update to 108.07.00.
- Add LICENSE.
- Add MAKE_JOBS_UNSAFE.
- Trim header.
PR: ports/172232
Submitted by: KATO Tsuguru <tkato432 at yahoo.com>
Modified:
head/devel/ocaml-sexplib/Makefile (contents, props changed)
head/devel/ocaml-sexplib/distinfo (contents, props changed)
head/devel/ocaml-sexplib/pkg-descr (contents, props changed)
Modified: head/devel/ocaml-sexplib/Makefile
==============================================================================
--- head/devel/ocaml-sexplib/Makefile Thu Dec 20 05:48:36 2012 (r309291)
+++ head/devel/ocaml-sexplib/Makefile Thu Dec 20 05:49:32 2012 (r309292)
@@ -1,55 +1,46 @@
-# New ports collection makefile for: ocaml-sexplib
-# Date created: 2006-08-01
-# Whom: Stanislav Sedov <ssedov at mbsd.msk.ru>
-#
-# $MBSDlabs$
+# Created by: Stanislav Sedov <ssedov at mbsd.msk.ru>
# $FreeBSD$
-#
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 at 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
+USE_OCAMLFIND_PLIST=yes
+
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix ${PREFIX} --disable-docs
MAKE_JOBS_UNSAFE= yes
-DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME}
-SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR}
+DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
+PORTDOCS= *
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-post-extract:
-# For nonstandard prefixes
-.if !exists(${OCAMLFIND_DESTDIR})
- ${MKDIR} ${OCAMLFIND_DESTDIR}
+.if ${PORT_OPTIONS:MDOCS}
+PLIST_DIRSTRY+= ${OCAML_DOCSDIR:S,^${PREFIX}/,,)
.endif
-.if !exists(${OCAMLFIND_LDCONF})
- ${TOUCH} ${OCAMLFIND_LDCONF}
-.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>
Modified: head/devel/ocaml-sexplib/distinfo
==============================================================================
--- head/devel/ocaml-sexplib/distinfo Thu Dec 20 05:48:36 2012 (r309291)
+++ head/devel/ocaml-sexplib/distinfo Thu Dec 20 05:49:32 2012 (r309292)
@@ -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
Modified: head/devel/ocaml-sexplib/pkg-descr
==============================================================================
--- head/devel/ocaml-sexplib/pkg-descr Thu Dec 20 05:48:36 2012 (r309291)
+++ head/devel/ocaml-sexplib/pkg-descr Thu Dec 20 05:49:32 2012 (r309292)
@@ -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 at janestcapital.com>
-WWW: http://www.janestcapital.com/ocaml/index.html
+WWW: http://ocaml.janestcapital.com/
More information about the svn-ports-all
mailing list