diff options
author | araujo <araujo@FreeBSD.org> | 2012-12-20 13:49:32 +0800 |
---|---|---|
committer | araujo <araujo@FreeBSD.org> | 2012-12-20 13:49:32 +0800 |
commit | 6df0db1e1a23eb791f0cb72f0bcad5e36ab59813 (patch) | |
tree | a5512062cde2bccc8fef59f3b123fac25e7f83e4 /devel | |
parent | 04406ace280bbd7ed3e0f3a33c5aef8cc695f6e1 (diff) | |
download | freebsd-ports-gnome-6df0db1e1a23eb791f0cb72f0bcad5e36ab59813.tar.gz freebsd-ports-gnome-6df0db1e1a23eb791f0cb72f0bcad5e36ab59813.tar.zst freebsd-ports-gnome-6df0db1e1a23eb791f0cb72f0bcad5e36ab59813.zip |
- Update to 108.07.00.
- Add LICENSE.
- Add MAKE_JOBS_UNSAFE.
- Trim header.
PR: ports/172232
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ocaml-sexplib/Makefile | 59 | ||||
-rw-r--r-- | devel/ocaml-sexplib/distinfo | 4 | ||||
-rw-r--r-- | devel/ocaml-sexplib/pkg-descr | 19 |
3 files changed, 37 insertions, 45 deletions
diff --git a/devel/ocaml-sexplib/Makefile b/devel/ocaml-sexplib/Makefile index 79f52149c182..e3a6b07156d4 100644 --- a/devel/ocaml-sexplib/Makefile +++ b/devel/ocaml-sexplib/Makefile @@ -1,55 +1,46 @@ -# 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$ -# 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 +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> diff --git a/devel/ocaml-sexplib/distinfo b/devel/ocaml-sexplib/distinfo index a3400a4a3f15..0d9d9fedabd9 100644 --- a/devel/ocaml-sexplib/distinfo +++ b/devel/ocaml-sexplib/distinfo @@ -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 --git a/devel/ocaml-sexplib/pkg-descr b/devel/ocaml-sexplib/pkg-descr index 5d7c548914ae..a7bf8b1ed393 100644 --- a/devel/ocaml-sexplib/pkg-descr +++ b/devel/ocaml-sexplib/pkg-descr @@ -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/ |