|
|||||||||
Friday the 16th of May, 2008 |
|||||||||
gdc most recent diff
Scroll down toward the bottom of the page to get installation instructions for gdc. The raw portfile for gdc 0.24 is located here: http://gdc.darwinports.com/dports/lang/gdc/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/gdc # $Id: Portfile 33441 2008-01-27 11:46:26Z ryandesign PortSystem 1.0 Name: gdc Version: 0.24 revision 1 set gcc_version 4.1.2 Category: lang Platform: darwin Maintainers: mww Description: D language compiler Long Description: gcc ${gcc_version} with D language frontend, a new language by digitalmars Homepage: http://dgcc.sourceforge.net/ master_sites sourceforge:dgcc:gdc gnu:/gcc/gcc-${gcc_version}:gcc set gdc gdc-${version}-src.tar.bz2 set gcc_core gcc-core-${gcc_version}.tar.bz2 set gcc_cxx gcc-g++-${gcc_version}.tar.bz2 distfiles ${gdc}:gdc ${gcc_core}:gcc ${gcc_cxx}:gcc checksums ${gdc} sha1 2be913fe061429c1a279e4cf882e947d34946303 ${gcc_core} sha1 d6875295f6df1bec4a6f4ab8f0da54bfb8d97306 ${gcc_cxx} sha1 e29c6e151050f8b5ac5d680b99483df522606143 use_bzip2 yes patchfiles patch-config-i386-darwin.h set bindir ${prefix}/lib/${name}/bin set incdir ${prefix}/include/d/${gcc_version} worksrcdir build post-extract { file mkdir ${worksrcpath} system "ln -sf ${workpath}/d ${workpath}/gcc-${gcc_version}/gcc/d" } patch.dir ${workpath}/gcc-${gcc_version} post-patch { system "cd ${workpath}/gcc-${gcc_version}/ && gcc/d/setup-gcc.sh" } configure.cmd ${workpath}/gcc-${gcc_version}/configure configure.args --enable-languages=d,c --bindir=${bindir} --libdir=${prefix}/lib/${name} --includedir=${incdir} --with-gxx-include-dir=${prefix}/include/d/${gcc_version} --infodir=${prefix}/share/info --mandir=${prefix}/share/man --libexecdir=${prefix}/libexec/${name} --with-system-zlib --disable-nls --disable-multilib --with-local-prefix=${prefix} build.type gnu #build.target bootstrap-lean post-destroot { # install wrapper - this way calling 'gdc' and 'gdmd' just works foreach wrp {gdc gdmd} { xinstall -m 755 ${filespath}/wrapper.sh ${destroot}${prefix}/bin/${wrp} reinplace "s|__BIN__|${bindir}/${wrp}|g" ${destroot}${prefix}/bin/${wrp} reinplace "s|__INCDIR__|${incdir}|g" ${destroot}${prefix}/bin/${wrp} } # remove unnecessary manpages foreach man1page {cpp gcc gcov g++} { file delete ${destroot}${prefix}/share/man/man1/${man1page}.1 } file delete -force ${destroot}${prefix}/share/man/man7 ${destroot}${prefix}/share/info # only need -I${incdir} this way: system "cd ${destroot}${incdir}/gcc && find .. -name config.d -exec ln -s {} \\; && find .. -name configunix.d -exec ln -s {} \\;" system "cd ${destroot}${incdir} && find . -name phobos-ver-syms -exec ln -s {} \\;" } livecheck.check regex livecheck.url http://sourceforge.net/export/rss2_projfiles.php?project=dgcc livecheck.regex gdc-(\[0-9\.\]+)-src.tar 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/gdcYou 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 gdc with these commands: % man gdc Where to find more information:
|
![]() |
![]() Digg gdc 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 |
|||||||
| |




