diff options
-rw-r--r-- | devel/Makefile | 1 | ||||
-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 |
4 files changed, 40 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 1d257500bee..2450bc1a133 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 00000000000..16dab8fb28c --- /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 00000000000..6e937783fb4 --- /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 00000000000..879cc1d606e --- /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/ |