# $Id: Portfile,v 1.2 2005/10/13 15:10:28 gwright Exp $ PortSystem 1.0 name cpphs version 1.0 categories devel maintainers gwright@opendarwin.org platforms darwin description cpp implemented in Haskell. long_description \ cpphs is a liberalised re-implementation of cpp, \ the C pre-processor, in Haskell. homepage http://www.haskell.org/cpphs/ master_sites http://www.cs.york.ac.uk/fp/${name}/ checksums md5 e57d550691dea74cd50f07e9323439af depends_build bin:ghc:ghc configure { } build { cd ${worksrcpath} system "ghc --make ${name}" } destroot { cd ${worksrcpath} file mkdir ${destroot}${prefix}/bin file copy a.out ${destroot}${prefix}/bin/${name} file mkdir ${destroot}${prefix}/share/man/man1 file copy docs/${name}.1 ${destroot}${prefix}/share/man/man1 }