From ssedov@mbsd.msk.ru  Tue Aug  1 19:49:08 2006
Return-Path: <ssedov@mbsd.msk.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 537A816A4E1
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  1 Aug 2006 19:49:08 +0000 (UTC)
	(envelope-from ssedov@mbsd.msk.ru)
Received: from com1.ht-systems.ru (com1.ht-systems.ru [83.97.104.204])
	by mx1.FreeBSD.org (Postfix) with ESMTP id ABC7143D45
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  1 Aug 2006 19:49:07 +0000 (GMT)
	(envelope-from ssedov@mbsd.msk.ru)
Received: from [217.118.83.1] (helo=fonon.realnet)
	by com1.ht-systems.ru with esmtpa (Exim 4.62)
	(envelope-from <ssedov@mbsd.msk.ru>)
	id 1G80MV-0005Wx-JS
	for FreeBSD-gnats-submit@freebsd.org; Tue, 01 Aug 2006 23:57:11 +0400
Received: by fonon.realnet (Postfix, from userid 1001)
	id 0720C121F1; Tue,  1 Aug 2006 23:48:43 +0400 (MSD)
Message-Id: <20060801194844.0720C121F1@fonon.realnet>
Date: Tue,  1 Aug 2006 23:48:43 +0400 (MSD)
From: Stanislav Sedov <ssedov@mbsd.msk.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] devel/ocaml-xstrp4: An OCaml extension to expands brace expansions
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         101219
>Category:       ports
>Synopsis:       [NEW PORT] devel/ocaml-xstrp4: An OCaml extension to expands brace expansions
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    itetcu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 01 19:50:20 GMT 2006
>Closed-Date:    Fri Aug 04 16:53:45 GMT 2006
>Last-Modified:  Fri Aug 04 16:53:45 GMT 2006
>Originator:     Stanislav Sedov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs, Inc.
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Sun Jun 18 20:51:36 MSD 2006
>Description:
This is a camlp4 extension that expands brace expansions like a shell           
does. See sample.ml for examples.

Author:	Gerd Stolpmann
WWW:	http://www.ocaml-programming.de/packages/

Note: this port depends on ports/101100

>How-To-Repeat:
>Fix:

--- ocaml-xstrp4-1.6.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ocaml-xstrp4
#	ocaml-xstrp4/pkg-descr
#	ocaml-xstrp4/Makefile
#	ocaml-xstrp4/distinfo
#
echo c - ocaml-xstrp4
mkdir -p ocaml-xstrp4 > /dev/null 2>&1
echo x - ocaml-xstrp4/pkg-descr
sed 's/^X//' >ocaml-xstrp4/pkg-descr << 'END-of-ocaml-xstrp4/pkg-descr'
XThis is a camlp4 extension that expands brace expansions like a shell           
Xdoes. See sample.ml for examples.
X
XAuthor:	Gerd Stolpmann
XWWW:	http://www.ocaml-programming.de/packages/
END-of-ocaml-xstrp4/pkg-descr
echo x - ocaml-xstrp4/Makefile
sed 's/^X//' >ocaml-xstrp4/Makefile << 'END-of-ocaml-xstrp4/Makefile'
X# New ports collection makefile for:	ocaml-xstrp4
X# Date created:		2006-08-01
X# Whom:			Stanislav Sedov <ssedov@mbsd.msk.ru>
X#
X# $MBSDlabs$
X# $FreeBSD$
X#
X
XPORTNAME=	xstrp4
XPORTVERSION=	1.6
XCATEGORIES=	devel
XMASTER_SITES=	http://www.ocaml-programming.de/packages/
XPKGNAMEPREFIX=	ocaml-
X
XMAINTAINER=	ssedov@mbsd.msk.ru
XCOMMENT=	An OCaml extension to expands brace expansions
X
XUSE_GMAKE=	yes
XUSE_OCAML=	yes
XUSE_OCAML_FINDLIB=yes
X
XMASTERPORT=	${PORTSDIR}/devel/ocaml-camlidl
XEXAMPLESDIR=	${PREFIX}/share/ocaml/examples/${PORTNAME}
X
X.include <bsd.port.pre.mk>
X.include "${MASTERPORT}/bsd.ocaml.mk"
X
Xpost-extract:
X# For nonstandard prefixes
X.if !exists(${OCAMLFIND_DESTDIR})
X	${MKDIR} ${OCAMLFIND_DESTDIR}
X.endif
X.if !exists(${OCAMLFIND_LDCONF})
X	${TOUCH} ${OCAMLFIND_LDCONF}
X.endif
X
Xpost-install:
X	@${MKDIR} ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/sample.* ${EXAMPLESDIR}
X
X	@${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \
X		${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
X	@${FIND} ${EXAMPLESDIR} -type f | \
X		${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
X	@${ECHO_CMD} "@dirrm share/ocaml/examples/${PORTNAME}" >> ${TMPPLIST}
X	@${ECHO_CMD} "@unexec rmdir %D/share/ocaml/examples 2>/dev/null ||true"\
X		>> ${TMPPLIST}
X
X.include <bsd.port.post.mk>
END-of-ocaml-xstrp4/Makefile
echo x - ocaml-xstrp4/distinfo
sed 's/^X//' >ocaml-xstrp4/distinfo << 'END-of-ocaml-xstrp4/distinfo'
XMD5 (xstrp4-1.6.tar.gz) = 5322d8878f8c42e54c1a4fa27ee0a8c0
XSHA256 (xstrp4-1.6.tar.gz) = 09ffb1d0c309fec24207f677bcb44ad301da34d4a330d9ec8265953b03713f25
XSIZE (xstrp4-1.6.tar.gz) = 6460
END-of-ocaml-xstrp4/distinfo
exit
--- ocaml-xstrp4-1.6.shar ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->itetcu 
Responsible-Changed-By: itetcu 
Responsible-Changed-When: Tue Aug 1 19:54:47 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=101219 

From: Stanislav Sedov <ssedov@mbsd.msk.ru>
To: bug-followup@freebsd.org <bug-followup@freebsd.org>
Cc:  
Subject: Re: ports/101219: [NEW PORT] devel/ocaml-xstrp4: An OCaml extension
 to expands brace expansions
Date: Wed, 2 Aug 2006 00:17:19 +0400

 Sorry, a little typo in Makefile:
 ----------------------------------------------------------------------------
 --- Makefile.orig	Wed Aug  2 00:10:25 2006
 +++ Makefile	Wed Aug  2 00:11:27 2006
 @@ -20,7 +20,7 @@
  USE_OCAML_FINDLIB=3Dyes
 =20
  MASTERPORT=3D	${PORTSDIR}/devel/ocaml-camlidl
 -EXAMPLESDIR=3D	${PREFIX}/share/ocaml/examples/${PORTNAME}
 +EXAMPLESDIR=3D	${PREFIX}/share/examples/ocaml/${PORTNAME}
 =20
  .include <bsd.port.pre.mk>
  .include "${MASTERPORT}/bsd.ocaml.mk"
 @@ -42,8 +42,8 @@
  		${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
  	@${FIND} ${EXAMPLESDIR} -type f | \
  		${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
 -	@${ECHO_CMD} "@dirrm share/ocaml/examples/${PORTNAME}" >> ${TMPPLIST}
 -	@${ECHO_CMD} "@unexec rmdir %D/share/ocaml/examples 2>/dev/null
 ||true"\
 +	@${ECHO_CMD} "@dirrm share/examples/ocaml/${PORTNAME}" >> ${TMPPLIST}
 +	@${ECHO_CMD} "@unexec rmdir %D/share/examples/ocaml 2>/dev/null
 ||true"\
  		>> ${TMPPLIST}
 =20
  .include <bsd.port.post.mk>
 ----------------------------------------------------------------------------
 
 --=20
 Stanislav Sedov         MBSD labs, Inc.         <ssedov@mbsd.msk.ru>
 =F2=CF=D3=D3=C9=D1, =ED=CF=D3=CB=D7=C1         http://mbsd.msk.ru
 
 --------------------------------------------------------------------
 If the facts don't fit the theory, change the facts.  -- A. Einstein
 --------------------------------------------------------------------
 PGP fingerprint:  F21E D6CC 5626 9609 6CE2  A385 2BF5 5993 EB26 9581
State-Changed-From-To: open->closed 
State-Changed-By: itetcu 
State-Changed-When: Fri Aug 4 16:53:44 UTC 2006 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=101219 
>Unformatted:
