Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Aug 2006 21:02:55 +0600 (YEKST)
From:      Stanislav Sedov <ssedov@mbsd.msk.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/102104: [NEW PORT] devel/ocaml-cfg: Library for manipulation of context-free grammars
Message-ID:  <20060815150255.8838D11F55@fonon.realnet>
Resent-Message-ID: <200608151710.k7FHAHFJ046443@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         102104
>Category:       ports
>Synopsis:       [NEW PORT] devel/ocaml-cfg: Library for manipulation of context-free grammars
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 15 17:10:16 GMT 2006
>Closed-Date:
>Last-Modified:
>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 #1: Wed Aug  2 21:44:37 MSD
>Description:
This OCaml-library consists of a set of modules which implement functions
for manipulating context-free grammars (CFGs) in a purely functional way.

Author:	Markus Mottl <markus.mottl@gmail.com>
WWW:	http://www.ocaml.info/home/ocaml_sources.html

>How-To-Repeat:
>Fix:

--- ocaml-cfg-1.7.3.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:
#
#	cfg
#	cfg/pkg-descr
#	cfg/Makefile
#	cfg/distinfo
#
echo c - cfg
mkdir -p cfg > /dev/null 2>&1
echo x - cfg/pkg-descr
sed 's/^X//' >cfg/pkg-descr << 'END-of-cfg/pkg-descr'
XThis OCaml-library consists of a set of modules which implement functions
Xfor manipulating context-free grammars (CFGs) in a purely functional way.
X
XAuthor:	Markus Mottl <markus.mottl@gmail.com>
XWWW:	http://www.ocaml.info/home/ocaml_sources.html
END-of-cfg/pkg-descr
echo x - cfg/Makefile
sed 's/^X//' >cfg/Makefile << 'END-of-cfg/Makefile'
X# New ports collection makefile for:	cfg
X# Date created:		2006-08-15
X# Whom:			Stanislav Sedov <ssedov@mbsd.msk.ru>
X#
X# $MBSDlabs$
X# $FreeBSD$
X#
X
XPORTNAME=	cfg
XPORTVERSION=	1.7.3
XCATEGORIES=	devel
XMASTER_SITES=	http://www.ocaml.info/ocaml_sources/
XPKGNAMEPREFIX=	ocaml-
X
XMAINTAINER=	ssedov@mbsd.msk.ru
XCOMMENT=	Library for manipulation of context-free grammars
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_OCAML=	yes
XUSE_OCAML_FINDLIB=yes
XUSE_OCAML_WASH=	yes
X
XDOCS=		README
XDOCSDIR=	${TARGETDIR}/share/doc/ocaml/${PORTNAME}
XEXAMPLESDIR=	${TARGETDIR}/share/examples/ocaml/${PORTNAME}
X
X# XXX: exists untill it will be committed to bsd.port.mk
XCOPYTREE_SHARE=	${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \
X		2>&1) && \
X		${CHOWN} -R ${SHAREOWN}:${SHAREGRP} $$1 && \
X		${FIND} $$1/ -type d -exec ${CHMOD} 755 {} \; && \
X		${FIND} $$1/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;' --
X
X.include <bsd.port.pre.mk>
X.include "${PORTSDIR}/lang/ocaml/bsd.ocaml.mk"
X
Xpost-extract:
X# For nonstandard prefixes
X.if !exists(${OCAMLFIND_DESTDIR})
X	${MKDIR} ${OCAMLFIND_DESTDIR}
X.endif
X
Xpost-install:
X	@${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \
X		${SED} "s,^${TARGETDIR}/,," >> ${TMPPLIST}
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
X	@${MKDIR} ${EXAMPLESDIR}
X	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/)
X	@${FIND} ${EXAMPLESDIR}/ ! -type d | \
X		${SED} 's,^${TARGETDIR}/,,' >> ${TMPPLIST}
X	@${FIND} ${EXAMPLESDIR}/ -type d | ${SORT} -r | \
X		${SED} 's,^${TARGETDIR}/,@dirrm ,' >> ${TMPPLIST}
X	@${FIND} ${DOCSDIR}/ ! -type d | \
X		${SED} 's,^${TARGETDIR}/,,' >> ${TMPPLIST}
X	@${FIND} ${DOCSDIR}/ -type d | ${SORT} -r | \
X		${SED} 's,^${TARGETDIR}/,@dirrm ,' >> ${TMPPLIST}
X# XXX: temporary workaround for non-standard PREFIX
X	@${ECHO_CMD} "@unexec rmdir %D/share/doc/ocaml 2>/dev/null || true" \
X		>> ${TMPPLIST}
X	@${ECHO_CMD} "@unexec rmdir %D/share/examples/ocaml 2>/dev/null||true" \
X		>> ${TMPPLIST}
X.endif
X
X.include <bsd.port.post.mk>
END-of-cfg/Makefile
echo x - cfg/distinfo
sed 's/^X//' >cfg/distinfo << 'END-of-cfg/distinfo'
XMD5 (cfg-1.7.3.tar.bz2) = 7bca7c11eb2901b1f2076b6828de0d3d
XSHA256 (cfg-1.7.3.tar.bz2) = 6d450b370aed75146deb836b4233acf7b5d493e550a69fdae249bc14b2713e3f
XSIZE (cfg-1.7.3.tar.bz2) = 24235
END-of-cfg/distinfo
exit
--- ocaml-cfg-1.7.3.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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