|
|||||||||
Sunday the 11th of May, 2008 |
|||||||||
cpphs most recent diff
Scroll down toward the bottom of the page to get installation instructions for cpphs. The raw portfile for cpphs 1.3 is located here: http://cpphs.darwinports.com/dports/devel/cpphs/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/cpphs # $Id: Portfile 20837 2006-12-02 17:39:21Z gwright PortSystem 1.0 Name: cpphs Version: 1.3 Category: devel Maintainers: gwright Platform: 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 fe1f36d1cbc2ca4a8b769d1f9c2f63bc depends_build port:ghc 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}" system "./Setup register --gen-script" system "./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" } 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/cpphsYou 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 cpphs with these commands: % man cpphs Where to find more information:
|
![]() |
![]() Digg cpphs 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 |
|||||||
| |




