From 03ae7cbb7a3049c2127cea981d7567a5130c4aad Mon Sep 17 00:00:00 2001 From: Oliver Braun Date: Mon, 14 Jun 2004 18:28:55 +0000 Subject: Add cpphs, a simplified re-implementation of cpp, the C pre-processor, in Haskell. WWW: http://www.cs.york.ac.uk/fp/cpphs/ --- devel/Makefile | 1 + devel/hs-cpphs/Makefile | 27 +++++++++++++++++++++++++++ devel/hs-cpphs/distinfo | 2 ++ devel/hs-cpphs/pkg-descr | 10 ++++++++++ 4 files changed, 40 insertions(+) create mode 100644 devel/hs-cpphs/Makefile create mode 100644 devel/hs-cpphs/distinfo create mode 100644 devel/hs-cpphs/pkg-descr (limited to 'devel') diff --git a/devel/Makefile b/devel/Makefile index 1d257500bee4..2450bc1a133b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -306,6 +306,7 @@ SUBDIR += hs-alex SUBDIR += hs-buddha SUBDIR += hs-c2hs + SUBDIR += hs-cpphs SUBDIR += hs-crypto SUBDIR += hs-drift SUBDIR += hs-green-card diff --git a/devel/hs-cpphs/Makefile b/devel/hs-cpphs/Makefile new file mode 100644 index 000000000000..16dab8fb28c5 --- /dev/null +++ b/devel/hs-cpphs/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: cpphs +# Date created: 14 June 2004 +# Whom: obraun@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= cpphs +PORTVERSION= 0.5 +CATEGORIES= devel haskell +MASTER_SITES= http://www.cs.york.ac.uk/fp/cpphs/ +PKGNAMEPREFIX= hs- + +MAINTAINER= haskell@FreeBSD.org +COMMENT= A simplified re-implementation of cpp in Haskell + +BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc + +PLIST_FILES= bin/cpphs + +do-build: + @(cd ${WRKSRC} && ghc -o cpphs --make cpphs) + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/cpphs ${PREFIX}/bin/cpphs + +.include diff --git a/devel/hs-cpphs/distinfo b/devel/hs-cpphs/distinfo new file mode 100644 index 000000000000..6e937783fb4b --- /dev/null +++ b/devel/hs-cpphs/distinfo @@ -0,0 +1,2 @@ +MD5 (cpphs-0.5.tar.gz) = 33038f98da5604b95e439674bda77246 +SIZE (cpphs-0.5.tar.gz) = 32991 diff --git a/devel/hs-cpphs/pkg-descr b/devel/hs-cpphs/pkg-descr new file mode 100644 index 000000000000..879cc1d606e8 --- /dev/null +++ b/devel/hs-cpphs/pkg-descr @@ -0,0 +1,10 @@ +cpphs is a simplified re-implementation of cpp, the C pre-processor, in +Haskell. + +This version of the C pre-processor is pretty-much feature-complete, and +compatible with the -traditional style. It has two modes: + + * conditional compilation only (--nomacro), + * and full macro-expansion (default). + +WWW: http://www.cs.york.ac.uk/fp/cpphs/ -- cgit v1.2.3