Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Nov 2015 13:20:25 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r402072 - in head/devel: . ocaml-type_conv ocaml-typeconv
Message-ID:  <201511201320.tAKDKPIo083556@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Nov 20 13:20:25 2015
New Revision: 402072
URL: https://svnweb.freebsd.org/changeset/ports/402072

Log:
  - Move devel/ocaml-typeconv to devel/ocaml-type_conv
  - Update to 113.00.02
  - Add missing OPTIONS_DEFINE
  - Remove OCAML_PKGDIRS
  - Strip OCaml plugin files
  - Convert to new options target helper
  
  Changes:	https://github.com/janestreet/type_conv/blob/master/CHANGES.md
  		https://github.com/janestreet/type_conv/commits/master

Added:
  head/devel/ocaml-type_conv/
     - copied from r402071, head/devel/ocaml-typeconv/
Deleted:
  head/devel/ocaml-typeconv/
Modified:
  head/devel/Makefile
  head/devel/ocaml-type_conv/Makefile
  head/devel/ocaml-type_conv/distinfo

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Fri Nov 20 12:05:08 2015	(r402071)
+++ head/devel/Makefile	Fri Nov 20 13:20:25 2015	(r402072)
@@ -1561,7 +1561,7 @@
     SUBDIR += ocaml-sdl
     SUBDIR += ocaml-sem
     SUBDIR += ocaml-sexplib
-    SUBDIR += ocaml-typeconv
+    SUBDIR += ocaml-type_conv
     SUBDIR += ocaml-ulex
     SUBDIR += ocaml-uutf
     SUBDIR += ocaml-xstr

Modified: head/devel/ocaml-type_conv/Makefile
==============================================================================
--- head/devel/ocaml-typeconv/Makefile	Fri Nov 20 12:05:08 2015	(r402071)
+++ head/devel/ocaml-type_conv/Makefile	Fri Nov 20 13:20:25 2015	(r402072)
@@ -1,12 +1,11 @@
 # Created by: Stanislav Sedov <stas@FreeBSD.org>
 # $FreeBSD$
 
-PORTNAME=	type-conv
-PORTVERSION=	109.60.01
+PORTNAME=	type_conv
+PORTVERSION=	113.00.02
 CATEGORIES=	devel
-MASTER_SITES=	https://ocaml.janestreet.com/ocaml-core/${PORTVERSION:R}.00/individual/
+MASTER_SITES=	https://ocaml.janestreet.com/ocaml-core/${PORTVERSION:R}/files/
 PKGNAMEPREFIX=	ocaml-
-DISTNAME=	${PORTNAME:S,-,_,}-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Type conversion routines for OCaml
@@ -14,25 +13,25 @@ COMMENT=	Type conversion routines for OC
 LICENSE=	APACHE20 BSD3CLAUSE
 LICENSE_COMB=	multi
 
-USE_OCAML=	yes
-USE_OCAML_FINDLIB=yes
-USE_OCAML_CAMLP4=yes
-USE_OCAMLFIND_PLIST=yes
-OCAML_PKGDIRS=	${PORTNAME:S,-,_,}
+OPTIONS_DEFINE=	DOCS
 
-USES=		gmake
+CONFIGURE_ARGS=	--disable-docs --prefix ${PREFIX}
 HAS_CONFIGURE=	yes
-CONFIGURE_ARGS=	--prefix ${PREFIX} --disable-docs
-MAKE_JOBS_UNSAFE=yes
-
-DOCSDIR=	${OCAML_DOCSDIR}/${PORTNAME:S,-,_,}
+MAKE_JOBS_UNSAFE=	yes
+USE_OCAML=	yes
+USE_OCAML_CAMLP4=	yes
+USE_OCAML_FINDLIB=	yes
+USE_OCAMLFIND_PLIST=	yes
+USES=		gmake
 
+DOCSDIR=	${OCAML_DOCSDIR}/${PORTNAME}
 PORTDOCS=	*
 
 post-install:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for i in CHANGES.txt README.md
-	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
-.endfor
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/type_conv/pa_type_conv.cmxs
+
+post-install-DOCS-on:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}/
+	cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGES.md README.md ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>

Modified: head/devel/ocaml-type_conv/distinfo
==============================================================================
--- head/devel/ocaml-typeconv/distinfo	Fri Nov 20 12:05:08 2015	(r402071)
+++ head/devel/ocaml-type_conv/distinfo	Fri Nov 20 13:20:25 2015	(r402072)
@@ -1,2 +1,2 @@
-SHA256 (type_conv-109.60.01.tar.gz) = fd0b1aff77c665495b240d39b7b8ef09a4c50ab959807bc50ff8d1874cccfd52
-SIZE (type_conv-109.60.01.tar.gz) = 61606
+SHA256 (type_conv-113.00.02.tar.gz) = d305d0032be314916ac3ec37617e0c8d3aadab9bcee14e746e567d8405f5289c
+SIZE (type_conv-113.00.02.tar.gz) = 64174



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