ports/162749: new port: ocaml-cppo
Michael Grünewald
michael.grunewald at laposte.net
Tue Nov 22 07:40:09 UTC 2011
>Number: 162749
>Category: ports
>Synopsis: new port: ocaml-cppo
>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 Nov 22 07:40:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Michael Gruenewald
>Release: FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD llea.celt.neu 8.2-STABLE FreeBSD 8.2-STABLE #7: Tue Oct
18 08:39:23 CEST 2011
root at llea.celt.neu:/public/FreeBSD/obj/public/FreeBSD/src/sys/LLEA amd64
>Description:
This port makes cppo available to FreeBSD users, a simple
preprocessor for OCaml programs.
>How-To-Repeat:
>Fix:
--- ocaml-cppo.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-cppo
# ocaml-cppo/Makefile
# ocaml-cppo/distinfo
# ocaml-cppo/pkg-descr
# ocaml-cppo/pkg-plist
#
echo c - ocaml-cppo
mkdir -p ocaml-cppo > /dev/null 2>&1
echo x - ocaml-cppo/Makefile
sed 's/^X//' >ocaml-cppo/Makefile << 'c9e61702c89b9ec9c94b825965c1e666'
X# Ports collection makefile for: cppo
X# Date created: Nov 22, 2011
X# Whom:
X#
X# $FreeBSD$
X#
X
XPORTNAME= cppo
XPORTVERSION= 0.9.2
XCATEGORIES= devel
XMASTER_SITES= http://martin.jambon.free.fr/
XPKGNAMEPREFIX= ocaml-
X
XMAINTAINER= michael.grunewald at laposte.net
XCOMMENT= A simple preprocessor for OCaml
X
XUSE_GZIP= yes
XUSE_GMAKE= yes
XUSE_OCAML= yes
XMAKE_JOBS_UNSAFE= yes
X
XDOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME}
XEXAMPLESDIR= ${PREFIX}/share/examples/ocaml/${PORTNAME}
X
X.include <bsd.port.mk>
c9e61702c89b9ec9c94b825965c1e666
echo x - ocaml-cppo/distinfo
sed 's/^X//' >ocaml-cppo/distinfo << '163471a60452bbbaa4139920f699e323'
XSHA256 (cppo-0.9.2.tar.gz) =
ee4693b16e82e0d7f9b955dc6d935c518958fdd87b8e9402cc54a52e6e03897f
XSIZE (cppo-0.9.2.tar.gz) = 20234
163471a60452bbbaa4139920f699e323
echo x - ocaml-cppo/pkg-descr
sed 's/^X//' >ocaml-cppo/pkg-descr << 'aa0b23b0074157d0e19db900403d0609'
XCppo is an equivalent of the C preprocessor targeted at the OCaml language
X
XThe main purpose of cppo is to provide a lightweight tool for simple
Xmacro substitution (#define) and file inclusion (#include) for the
Xoccasional case when this is useful in OCaml. Processing specific
Xsections of files by calling external programs is also possible via
X#ext directives.
X
XThe implementation of cppo relies on the standard library of OCaml and
Xon the standard parsing tools Ocamllex and Ocamlyacc, which contribute
Xto the robustness of cppo across OCaml versions.
X
XWWW: http://martin.jambon.free.fr/cppo.html
aa0b23b0074157d0e19db900403d0609
echo x - ocaml-cppo/pkg-plist
sed 's/^X//' >ocaml-cppo/pkg-plist << '874971bbfe0b736e7abad0e4f1ec34d9'
X at comment $FreeBSD$
Xbin/cppo
874971bbfe0b736e7abad0e4f1ec34d9
exit
--- ocaml-cppo.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list