Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Nov 2015 09:17:16 +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: r402061 - head/devel/ocaml-camlp5
Message-ID:  <201511200917.tAK9HGvU013705@repo.freebsd.org>

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

Log:
  - Update to 6.14
  - Strip object files
  - Convert to new options helper
  - Convert to new options target helper
  - Cosmetic change
  
  Changes:	http://camlp5.gforge.inria.fr/CHANGES

Modified:
  head/devel/ocaml-camlp5/Makefile
  head/devel/ocaml-camlp5/distinfo

Modified: head/devel/ocaml-camlp5/Makefile
==============================================================================
--- head/devel/ocaml-camlp5/Makefile	Fri Nov 20 09:17:12 2015	(r402060)
+++ head/devel/ocaml-camlp5/Makefile	Fri Nov 20 09:17:16 2015	(r402061)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	camlp5
-PORTVERSION=	6.13
+PORTVERSION=	6.14
 CATEGORIES=	devel
 MASTER_SITES=	http://camlp5.gforge.inria.fr/distrib/src/ \
 		http://cristal.inria.fr/~ddr/camlp5/distrib/src/ \
@@ -20,6 +20,8 @@ LICENSE_NAME=	INRIA permissive license w
 LICENSE_FILE=	${WRKSRC}/LICENSE
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
+ALL_TARGET=	world.opt
+MAKE_JOBS_UNSAFE=	yes
 USES=			tar:tgz
 USE_OCAML=		yes
 HAS_CONFIGURE=		yes
@@ -36,26 +38,15 @@ OPTIONS_DEFINE=	DOCS
 DOCSDIR=	${OCAML_DOCSDIR}/${PORTNAME}
 PORTDOCS=	CHANGES DEVEL ICHANGES INSTALL MODE README UPGRADING
 
-MAKE_JOBS_UNSAFE=	yes
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MTRANSITIONAL}
-CONFIGURE_ARGS+=	--transitional
-.elif ${PORT_OPTIONS:MSTRICT}
-CONFIGURE_ARGS+=	--strict
-.endif
-ALL_TARGET=	world.opt
+STRICT_CONFIGURE_ON=	--strict
+TRANSITIONAL_CONFIGURE_ON=	--transitional
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
+	${INSTALL_DATA} ${WRKSRC}/etc/META ${STAGEDIR}${PREFIX}/lib/ocaml/camlp5
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/camlp5*.opt ${STAGEDIR}${PREFIX}/${OCAML_LIBDIR}/camlp5/*.o
+
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
-.endfor
-.endif
-	${INSTALL_DATA} ${WRKSRC}/etc/META \
-		${STAGEDIR}${PREFIX}/lib/ocaml/camlp5
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/camlp5*.opt
+	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/devel/ocaml-camlp5/distinfo
==============================================================================
--- head/devel/ocaml-camlp5/distinfo	Fri Nov 20 09:17:12 2015	(r402060)
+++ head/devel/ocaml-camlp5/distinfo	Fri Nov 20 09:17:16 2015	(r402061)
@@ -1,2 +1,2 @@
-SHA256 (ocaml-camlp5/camlp5-6.13.tgz) = d1e948c04079e417d2b616f03f57cda9b6111c563d7ce59a8956ac93772e4aa9
-SIZE (ocaml-camlp5/camlp5-6.13.tgz) = 719912
+SHA256 (ocaml-camlp5/camlp5-6.14.tgz) = 09f9ed12893d2ec39c88106af2306865c966096bedce0250f2fe52b67d2480e2
+SIZE (ocaml-camlp5/camlp5-6.14.tgz) = 748674



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