Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 May 2013 20:06:20 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r319133 - head/devel/ocaml-camlp5
Message-ID:  <201305262006.r4QK6KXG058136@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Sun May 26 20:06:20 2013
New Revision: 319133
URL: http://svnweb.freebsd.org/changeset/ports/319133

Log:
  - Update to 6.08.p1 [1]
  - Convert to OptionsNG [1]
  - Trim Makefile header [1]
  - Remove leading article from COMMENT
  - Do not use bsd.port.pre.mk and bsd.port.post.mk
  - Do not install LICENSE file
  
  Changes: http://pauillac.inria.fr/~ddr/camlp5/CHANGES
  
  PR:		ports/177112 [1]
  Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp> (maintainer)
  Approved by:	jpaetzel (mentor)

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

Modified: head/devel/ocaml-camlp5/Makefile
==============================================================================
--- head/devel/ocaml-camlp5/Makefile	Sun May 26 20:02:15 2013	(r319132)
+++ head/devel/ocaml-camlp5/Makefile	Sun May 26 20:06:20 2013	(r319133)
@@ -1,13 +1,8 @@
-# ex:ts=8
-# Ports collection makefile for:	camlp5
-# Date created:			Mar 23 2008
-# Whom:				Hirohisa Yamaguchi <umq@ueo.co.jp>
-#
+# Created by: Hirohisa Yamaguchi <umq@ueo.co.jp>
 # $FreeBSD$
-#
 
 PORTNAME=	camlp5
-PORTVERSION=	6.07.p${PATCHLEVEL}
+PORTVERSION=	6.08.p${PATCHLEVEL}
 CATEGORIES=	devel
 MASTER_SITES=	http://cristal.inria.fr/~ddr/camlp5/distrib/src/ \
 		http://pauillac.inria.fr/~ddr/camlp5/distrib/src/
@@ -19,23 +14,32 @@ DIST_SUBDIR=	${UNIQUENAME}
 PATCH_SITES=	${MASTER_SITES}
 
 MAINTAINER=	umq@ueo.co.jp
-COMMENT=	A preprocessor-pretty-printer of OCaml
+COMMENT=	preprocessor-pretty-printer of OCaml
 
 LICENSE=	BSD
 
+OPTIONS_SINGLE=		MODE
+OPTIONS_SINGLE_MODE=	TRANSITIONAL STRICT
+OPTIONS_DEFAULT=	STRICT
+TRANSITIONAL_DESC=	Compatible syntax tree with old versions
+STRICT_DESC=		New syntax tree quotations kit
+
+.include <bsd.port.options.mk>
+
 PATCHLEVEL=	1
-PATCHFILES!=	/usr/bin/jot -s " " -w \
+PATCHFILES!=	${JOT} -s " " -w \
 		patch-${PORTVERSION:R}-%d \
 		${PATCHLEVEL} 1 ${PATCHLEVEL}
 
 USE_OCAML=	yes
 HAS_CONFIGURE=	yes
 MAKE_JOBS_UNSAFE=	yes
+CONFIGURE_ARGS=	--prefix ${PREFIX}
 
-.if defined(WITH_TRANSITIONAL) || !defined(WITH_STRICT)
-CONFIGURE_ARGS=	--transitional --prefix ${PREFIX}
-.else
-CONFIGURE_ARGS=	--strict --prefix ${PREFIX}
+.if ${PORT_OPTIONS:MTRANSITIONAL}
+CONFIGURE_ARGS+=	--transitional
+.elif ${PORT_OPTIONS:MSTRICT}
+CONFIGURE_ARGS+=	--strict
 .endif
 ALL_TARGET=	world.opt
 
@@ -44,9 +48,8 @@ MANCOMPRESSED=	no
 MLINKS=		camlp5.1 camlp5o.1 camlp5.1 camlp5o.opt.1 camlp5.1 camlp5r.1 \
 		camlp5.1 camlp5r.opt.1 camlp5.1 camlp5sch.1 camlp5.1 mkcamlp5.1 \
 		camlp5.1 mkcamlp5.opt.1 camlp5.1 ocpp5.1
-PORTDOCS=	CHANGES DEVEL ICHANGES INSTALL LICENSE MODE README UPGRADING
+PORTDOCS=	CHANGES DEVEL ICHANGES INSTALL MODE README UPGRADING
 
-.include <bsd.port.pre.mk>
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
@@ -56,4 +59,4 @@ post-install:
 .endif
 	${INSTALL_DATA} ${WRKSRC}/etc/META ${PREFIX}/lib/ocaml/${PORTNAME}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/devel/ocaml-camlp5/distinfo
==============================================================================
--- head/devel/ocaml-camlp5/distinfo	Sun May 26 20:02:15 2013	(r319132)
+++ head/devel/ocaml-camlp5/distinfo	Sun May 26 20:06:20 2013	(r319133)
@@ -1,4 +1,4 @@
-SHA256 (ocaml-camlp5/camlp5-6.07.tgz) = be8282958acd8af8cc7c8c1065bfee12e1dac27b5eef76f54376d795fb16b689
-SIZE (ocaml-camlp5/camlp5-6.07.tgz) = 682883
-SHA256 (ocaml-camlp5/patch-6.07-1) = a2c77cb617bf5f212bcd344b7e4e3c55cc9ae2a44af82dd86359a209184f4d57
-SIZE (ocaml-camlp5/patch-6.07-1) = 1008
+SHA256 (ocaml-camlp5/camlp5-6.08.tgz) = ebc39e2aa193ce76f967cae30d5c6682f3274be11c68d36224d55d94d172d375
+SIZE (ocaml-camlp5/camlp5-6.08.tgz) = 683400
+SHA256 (ocaml-camlp5/patch-6.08-1) = 9c53bb21404632897ec17e188661417705e5543b38ecc624bf4f604a6c1265b8
+SIZE (ocaml-camlp5/patch-6.08-1) = 10719



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