diff options
author | obraun <obraun@FreeBSD.org> | 2004-06-14 18:28:55 +0000 |
---|---|---|
committer | obraun <obraun@FreeBSD.org> | 2004-06-14 18:28:55 +0000 |
commit | 3cb4ddfd61e536d6f913d70fcd342c45416d9c4f (patch) | |
tree | 6432a9cafc917d0e017fe4f3c01915e0f93c7344 /devel/hs-cpphs | |
parent | ea63887055991698739dd0ba43397b6599736745 (diff) | |
download | FreeBSD-ports-3cb4ddfd61e536d6f913d70fcd342c45416d9c4f.zip FreeBSD-ports-3cb4ddfd61e536d6f913d70fcd342c45416d9c4f.tar.gz |
Add cpphs, a simplified re-implementation of cpp, the C pre-processor, in
Haskell.
WWW: http://www.cs.york.ac.uk/fp/cpphs/
Diffstat (limited to 'devel/hs-cpphs')
-rw-r--r-- | devel/hs-cpphs/Makefile | 27 | ||||
-rw-r--r-- | devel/hs-cpphs/distinfo | 2 | ||||
-rw-r--r-- | devel/hs-cpphs/pkg-descr | 10 |
3 files changed, 39 insertions, 0 deletions
diff --git a/devel/hs-cpphs/Makefile b/devel/hs-cpphs/Makefile new file mode 100644 index 0000000..16dab8f --- /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 <bsd.port.mk> diff --git a/devel/hs-cpphs/distinfo b/devel/hs-cpphs/distinfo new file mode 100644 index 0000000..6e93778 --- /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 0000000..879cc1d --- /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/ |