mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
c7dc6be60e
The main purpose of cppo is to provide a lightweight tool for simple macro substitution (#define) and file inclusion (#include) for the occasional case when this is useful in OCaml. Processing specific sections of files by calling external programs is also possible via #ext directives. The implementation of cppo relies on the standard library of OCaml and on the standard parsing tools Ocamllex and Ocamlyacc, which contribute to the robustness of cppo across OCaml versions. WWW: http://martin.jambon.free.fr/cppo.html PR: ports/162749 Submitted by: <michael.grunewald@laposte.net>
26 lines
510 B
Makefile
26 lines
510 B
Makefile
# Ports collection makefile for: cppo
|
|
# Date created: 2011-12-26
|
|
# Whom: Michael Grunewald
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cppo
|
|
PORTVERSION= 0.9.2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://martin.jambon.free.fr/
|
|
PKGNAMEPREFIX= ocaml-
|
|
|
|
MAINTAINER= michael.grunewald@laposte.net
|
|
COMMENT= A simple preprocessor for OCaml
|
|
|
|
USE_GZIP= yes
|
|
USE_GMAKE= yes
|
|
USE_OCAML= yes
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME}
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/ocaml/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|