Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Dec 2012 05:51:59 +0000 (UTC)
From:      Marcelo Araujo <araujo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309294 - head/devel/ocaml-typeconv
Message-ID:  <201212200551.qBK5pxDY082224@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: araujo
Date: Thu Dec 20 05:51:59 2012
New Revision: 309294
URL: http://svnweb.freebsd.org/changeset/ports/309294

Log:
  - Update to 108.07.00.
  - Add LICENSE.
  - Add MAKE_JOBS_UNSAFE.
  - Trim header.
  
  PR:		ports/172234
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>

Modified:
  head/devel/ocaml-typeconv/Makefile   (contents, props changed)
  head/devel/ocaml-typeconv/distinfo   (contents, props changed)
  head/devel/ocaml-typeconv/pkg-descr   (contents, props changed)

Modified: head/devel/ocaml-typeconv/Makefile
==============================================================================
--- head/devel/ocaml-typeconv/Makefile	Thu Dec 20 05:50:30 2012	(r309293)
+++ head/devel/ocaml-typeconv/Makefile	Thu Dec 20 05:51:59 2012	(r309294)
@@ -1,39 +1,44 @@
-# New ports collection makefile for:	ocaml-type-conv
-# Date created:		2008-04-08
-# Whom:			Stanislav Sedov <stas@FreeBSD.org>
-#
+# Created by: Stanislav Sedov <stas@FreeBSD.org>
 # $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,-,_,}
+
+HAS_CONFIGURE=	yes
+CONFIGURE_ARGS=	--prefix ${PREFIX} --disable-docs
+MAKE_JOBS_UNSAFE=yes
 
-SA_DIR=		${LOCALBASE}/${OCAML_SITELIBDIR}
+DOCSDIR=	${OCAML_DOCSDIR}/${PORTNAME:S,-,_,}
+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
 
 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 <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/devel/ocaml-typeconv/distinfo
==============================================================================
--- head/devel/ocaml-typeconv/distinfo	Thu Dec 20 05:50:30 2012	(r309293)
+++ head/devel/ocaml-typeconv/distinfo	Thu Dec 20 05:51:59 2012	(r309294)
@@ -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

Modified: head/devel/ocaml-typeconv/pkg-descr
==============================================================================
--- head/devel/ocaml-typeconv/pkg-descr	Thu Dec 20 05:50:30 2012	(r309293)
+++ head/devel/ocaml-typeconv/pkg-descr	Thu Dec 20 05:51:59 2012	(r309294)
@@ -4,4 +4,4 @@ functionality cannot be duplicated witho
 these preprocessors simultaneously.
 
 Author:	Markus Mottl <markus.mottl@gmail.com>
-WWW:	http://www.janestcapital.com/ocaml/index.html
+WWW:	http://ocaml.janestcapital.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212200551.qBK5pxDY082224>