|
|||||||||
Monday the 12th of May, 2008 |
|||||||||
c2hs most recent diff
Scroll down toward the bottom of the page to get installation instructions for c2hs. The raw portfile for c2hs 0.14.5 is located here: http://c2hs.darwinports.com/dports/devel/c2hs/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/c2hs # $Id: Portfile 22216 2007-02-22 06:56:50Z gwright PortSystem 1.0 Name: c2hs Version: 0.14.5 revision 1 Category: devel Maintainers: gwright Platform: darwin Description: Yet Another Interface Generator for Haskell Long Description: C->Haskell is an interface generator that simplifies the development of Haskell bindings to C libraries. The tool processes existing C header files that determine data layout and function signatures on the C side in conjunction with Haskell modules that specify Haskell-side type signatures and marshaling details. Homepage: http://www.cse.unsw.edu.au/~chak/haskell/c2hs/ master_sites ${homepage}/ checksums md5 8e04c1dfffbd4d27776fc406f15d24e5 depends_build port:ghc patchfiles patch-Setup.hs patch-CLexer.hs patch-CParser.hs pre-configure { cd ${worksrcpath} system "ghc -o Setup Setup.hs -package Cabal" } configure { cd ${worksrcpath} system "./Setup configure --ghc --prefix=${prefix}" } build { cd ${worksrcpath} system "./Setup build -v" } destroot { cd ${worksrcpath} system "./Setup copy --copy-prefix=${destroot}${prefix}" } If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/c2hsYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using c2hs with these commands: % man c2hs Where to find more information:
|
![]() |
![]() Digg c2hs on MacOSX
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
aqua
archivers audio benchmarks cad comms cross databases devel editors emulators games genealogy gnome gnustep graphics irc java kde lang math multimedia net news palm perl python ruby science security shells sysutils textproc www x11 xfce zope
Current CVS DownloadsDarwin Ports Current :nightly CVS snapshot OpenDarwin CVSWeb SSH Key Gen |
|||||||
| |




