From 704d583f8c1f670bfe93863589ad710fe31b1f45 Mon Sep 17 00:00:00 2001 From: Neil Blakey-Milner Date: Tue, 1 Aug 2000 11:58:29 +0000 Subject: Add camlp4, a preprocessor for ocaml. PR: ports/19896 Submitted by: Kim Scarborough --- devel/Makefile | 1 + devel/camlp4/Makefile | 31 ++++++++++++++++++++++++ devel/camlp4/distinfo | 1 + devel/camlp4/files/patch-aa | 19 +++++++++++++++ devel/camlp4/pkg-comment | 1 + devel/camlp4/pkg-descr | 3 +++ devel/camlp4/pkg-plist | 58 +++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 114 insertions(+) create mode 100644 devel/camlp4/Makefile create mode 100644 devel/camlp4/distinfo create mode 100644 devel/camlp4/files/patch-aa create mode 100644 devel/camlp4/pkg-comment create mode 100644 devel/camlp4/pkg-descr create mode 100644 devel/camlp4/pkg-plist (limited to 'devel') diff --git a/devel/Makefile b/devel/Makefile index 0a58f68f6d95..02897d57c099 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -23,6 +23,7 @@ SUBDIR += bugbuddy SUBDIR += c_c++_reference SUBDIR += c_c++_reference-i18n + SUBDIR += camlp4 SUBDIR += cbrowser SUBDIR += cc65 SUBDIR += cccc diff --git a/devel/camlp4/Makefile b/devel/camlp4/Makefile new file mode 100644 index 000000000000..040652143de3 --- /dev/null +++ b/devel/camlp4/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: brs +# Date created: 12 July 2000 +# Whom: Kim Scarborough +# +# $FreeBSD$ +# +# This is not the current version, but the version needs to +# be <= the version of ocaml, which hasn't been updated. Once +# the ocaml maintainer updates it, I'll update this. + +PORTNAME= camlp4 +PORTVERSION= 2.04 +CATEGORIES= devel +MASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/cristal/camlp4/OLD/2.04/ \ + http://www.unknown.nu/ports/ + +MAINTAINER= user@unknown.nu + +BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml + +HAS_CONFIGURE= yes +CONFIGURE_WRKSRC= ${WRKSRC}/config +CONFIGURE_SCRIPT= configure_batch +CONFIGURE_ENV= PREFIX=${PREFIX} +ALL_TARGET= world + +MAN1= camlp4.1 +MANLINKS= camlp4.1 camlp4o.1 camlp4r.1 mkcamlp4.1 ocpp.1 +MANCOMPRESSED= no + +.include diff --git a/devel/camlp4/distinfo b/devel/camlp4/distinfo new file mode 100644 index 000000000000..7ebd4cbc294f --- /dev/null +++ b/devel/camlp4/distinfo @@ -0,0 +1 @@ +MD5 (camlp4-2.04.tar.gz) = 4998bcc33f421f548e0d98d70d3fa9d9 diff --git a/devel/camlp4/files/patch-aa b/devel/camlp4/files/patch-aa new file mode 100644 index 000000000000..8e590cc5e1c5 --- /dev/null +++ b/devel/camlp4/files/patch-aa @@ -0,0 +1,19 @@ +*** config/configure_batch.orig Wed May 12 01:11:18 1999 +--- config/configure_batch Wed Jul 12 15:20:17 2000 +*************** +*** 1,7 **** + #! /bin/sh + # $Id: configure_batch,v 2.1 1999/05/12 06:11:18 ddr Exp $ + +! prefix=/usr/local + bindir='' + libdir='' + mandir='' +--- 1,7 ---- + #! /bin/sh + # $Id: configure_batch,v 2.1 1999/05/12 06:11:18 ddr Exp $ + +! prefix=$PREFIX + bindir='' + libdir='' + mandir='' diff --git a/devel/camlp4/pkg-comment b/devel/camlp4/pkg-comment new file mode 100644 index 000000000000..4b67f52b3100 --- /dev/null +++ b/devel/camlp4/pkg-comment @@ -0,0 +1 @@ +Pre-Processor-Pretty-Printer for Objective Caml diff --git a/devel/camlp4/pkg-descr b/devel/camlp4/pkg-descr new file mode 100644 index 000000000000..2e963ec6078e --- /dev/null +++ b/devel/camlp4/pkg-descr @@ -0,0 +1,3 @@ +Camlp4 is a Pre-Processor-Pretty-Printer for Objective Caml. It offers +syntactic library tools and the ability to extend and/or redefine the +concrete syntax of Objective Caml. diff --git a/devel/camlp4/pkg-plist b/devel/camlp4/pkg-plist new file mode 100644 index 000000000000..4226d3dfa77a --- /dev/null +++ b/devel/camlp4/pkg-plist @@ -0,0 +1,58 @@ +bin/odyl +bin/camlp4 +bin/camlp4r +bin/camlp4o +bin/mkcamlp4 +bin/ocpp +lib/camlp4/odyl.cma +lib/camlp4/odyl.cmo +lib/camlp4/pcaml.mli +lib/camlp4/quotation.mli +lib/camlp4/mLast.mli +lib/camlp4/pcaml.cmi +lib/camlp4/ast2pt.cmi +lib/camlp4/quotation.cmi +lib/camlp4/mLast.cmi +lib/camlp4/camlp4.cma +lib/camlp4/extract_crc +lib/camlp4/pr_dump.cmo +lib/camlp4/pa_extend_m.cmo +lib/camlp4/pa_extend.cmo +lib/camlp4/pa_rp.cmo +lib/camlp4/pa_r.cmo +lib/camlp4/q_MLast.cmo +lib/camlp4/q_phony.cmo +lib/camlp4/pr_depend.cmo +lib/camlp4/pr_null.cmo +lib/camlp4/pr_extend.cmo +lib/camlp4/pr_op.cmo +lib/camlp4/pr_o.cmo +lib/camlp4/pr_rp.cmo +lib/camlp4/pr_r.cmo +lib/camlp4/pa_ifdef.cmo +lib/camlp4/pa_format.cmo +lib/camlp4/pa_ru.cmo +lib/camlp4/pa_oop.cmo +lib/camlp4/pa_op.cmo +lib/camlp4/pa_o.cmo +lib/camlp4/pa_sml.cmo +lib/camlp4/pa_o.cmi +lib/camlp4/pa_ifdef.cmi +lib/camlp4/lib.sml +lib/camlp4/camlp4_top.cma +lib/camlp4/camlp4r.cma +lib/camlp4/camlp4o.cma +lib/camlp4/ocpp.cmo +lib/camlp4/crc.cmo +lib/camlp4/token.mli +lib/camlp4/stdpp.mli +lib/camlp4/plexer.mli +lib/camlp4/grammar.mli +lib/camlp4/gramext.mli +lib/camlp4/gramlib.cma +lib/camlp4/token.cmi +lib/camlp4/stdpp.cmi +lib/camlp4/plexer.cmi +lib/camlp4/grammar.cmi +lib/camlp4/gramext.cmi +@dirrm lib/camlp4 -- cgit