From 05d3df9b51c8d4f39fd0ae2270e5254749234321 Mon Sep 17 00:00:00 2001 From: Marcelo Araujo Date: Thu, 20 Dec 2012 05:51:59 +0000 Subject: [PATCH] - Update to 108.07.00. - Add LICENSE. - Add MAKE_JOBS_UNSAFE. - Trim header. PR: ports/172234 Submitted by: KATO Tsuguru --- devel/ocaml-typeconv/Makefile | 45 +++++++++++++++++++--------------- devel/ocaml-typeconv/distinfo | 4 +-- devel/ocaml-typeconv/pkg-descr | 2 +- 3 files changed, 28 insertions(+), 23 deletions(-) diff --git a/devel/ocaml-typeconv/Makefile b/devel/ocaml-typeconv/Makefile index b8f9e536c5a6..97828e5c0975 100644 --- a/devel/ocaml-typeconv/Makefile +++ b/devel/ocaml-typeconv/Makefile @@ -1,39 +1,44 @@ -# New ports collection makefile for: ocaml-type-conv -# Date created: 2008-04-08 -# Whom: Stanislav Sedov -# +# Created by: Stanislav Sedov # $FreeBSD$ -# PORTNAME= type-conv -PORTVERSION= 1.0.0 -PORTREVISION= 1 +PORTVERSION= 108.07.00 CATEGORIES= devel -MASTER_SITES= http://janestcapital.com/ocaml/ +MASTER_SITES= https://ocaml.janestreet.com/ocaml-core/%SUBDIR%/ +MASTER_SITE_SUBDIR= ${PORTVERSION}/individual +DISTNAME= ${PORTNAME:S,-,_,}-${PORTVERSION} PKGNAMEPREFIX= ocaml- MAINTAINER= ports@FreeBSD.org COMMENT= Type conversion routines for OCaml -DEPRECATED= No more public distfiles -EXPIRATION_DATE= 2012-10-20 +LICENSE= BSD + -USE_GMAKE= yes USE_OCAML= yes USE_OCAML_FINDLIB=yes +USE_OCAMLFIND_PLIST=yes +OCAML_PKGDIRS= ${PORTNAME:S,-,_,} -SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR} +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --prefix ${PREFIX} --disable-docs +MAKE_JOBS_UNSAFE=yes -.include +DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME:S,-,_,} +PORTDOCS= * -post-extract: -# For nonstandard prefixes -.if !exists(${OCAMLFIND_DESTDIR}) - ${MKDIR} ${OCAMLFIND_DESTDIR} +.include + +.if ${PORT_OPTIONS:MDOCS} +PLIST_DIRSTRY= ${OCAML_DOCSDIR:S,^${PREFIX}/,,} .endif post-install: - @${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \ - ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} +.for i in CHANGES.txt README.md + (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR}) +.endfor +.endif -.include +.include diff --git a/devel/ocaml-typeconv/distinfo b/devel/ocaml-typeconv/distinfo index 41ee8efc4a05..73cdeb2e629d 100644 --- a/devel/ocaml-typeconv/distinfo +++ b/devel/ocaml-typeconv/distinfo @@ -1,2 +1,2 @@ -SHA256 (type-conv-1.0.0.tar.gz) = 3435f00c1c56c9a4ba7a4281fd9f7eec5ee2cda75806498a11974a379e3f1870 -SIZE (type-conv-1.0.0.tar.gz) = 22456 +SHA256 (type_conv-108.07.00.tar.gz) = a8f0f230633dbcb77bd8d5ee1c5f47c57385a6c09d5c3ac1fb02449077772c7d +SIZE (type_conv-108.07.00.tar.gz) = 57195 diff --git a/devel/ocaml-typeconv/pkg-descr b/devel/ocaml-typeconv/pkg-descr index 59288aa141be..4b6af519e173 100644 --- a/devel/ocaml-typeconv/pkg-descr +++ b/devel/ocaml-typeconv/pkg-descr @@ -4,4 +4,4 @@ functionality cannot be duplicated without losing the ability to use these preprocessors simultaneously. Author: Markus Mottl -WWW: http://www.janestcapital.com/ocaml/index.html +WWW: http://ocaml.janestcapital.com/