# $Id$ PortSystem 1.0 name missingh version 0.16.3 categories devel maintainers nomaintainer platforms darwin description Haskell utility functions long_description \ MissingH is a library of Haskell utility functions, \ including ones for working with lists, logging, I/O \ and strings. homepage http://software.complete.org/${name} master_sites http://launchpadlibrarian.net/5201191/ distfiles ${name}_${version}${extract.suffix} checksums md5 75202f45dbf928d7c112a79ab5028d33 depends_build port:ghc worksrcdir ${name} pre-configure { system -W ${worksrcpath} "make setup" } configure { system -W ${worksrcpath} "./setup configure --prefix=${prefix}" } build { system -W ${worksrcpath} "./setup build" } test.run yes test { system -W ${worksrcpath} "make test-ghc6" } destroot { system -W ${worksrcpath} "./setup copy --copy-prefix=${destroot}${prefix}" system -W ${worksrcpath} "./setup register --gen-script" system -W ${worksrcpath} "./setup unregister --gen-script" file mkdir ${destroot}${prefix}/libexec/${name} file copy ${worksrcpath}/register.sh \ ${destroot}${prefix}/libexec/${name} file copy ${worksrcpath}/unregister.sh \ ${destroot}${prefix}/libexec/${name} } post-activate { system "${prefix}/libexec/${name}/register.sh" } pre-deactivate { system "${prefix}/libexec/${name}/unregister.sh" }