Download and Install fdclone version 3.00b on Mac OS X
Thursday the 28th of August, 2008

    fdclone  most recent diff


      View the most recent changes for the fdclone port at: fdclone.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for fdclone.
      The raw portfile for fdclone 3.00b is located here:
      http://fdclone.darwinports.com/dports/sysutils/FDclone/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/fdclone
      Google
      Web Darwinports.com



      # $Id: Portfile 38104 2008-07-06 17:45:45Z takanori macports.org $

      PortSystem 1.0

      Name: FDclone
      Version: 3.00b
      Category: sysutils shells
      Maintainers: takanori
      Description: File & Directory Maintenance Tool
      Long Description: ${description}
      Platform: darwin
      Homepage: http://hp.vector.co.jp/authors/VA012337/soft/fd/index.html
      master_sites http://hp.vector.co.jp/authors/VA012337/soft/fd/ ftp://ftp.unixusers.net/src/fdclone/
      distname FD-${version}
      patchfiles patch-Makefile.in.diff
      checksums md5 622d0a660b9b56f9ff24e96cec62a5ee sha1 2c7f8b6633ebb5360fa6b18a7422608e88783307 rmd160 6c51f4b7b61fb976f98faef001d44d3d55ffd210

      depends_lib port:ncurses

      set editor ""
      set pager ""

      configure {
      if {[variant_isset nojpnmes]} {
      system "echo \"#define _NOJPNMES\" >> ${worksrcpath}/config.hin"
      }

      if {${editor} != ""} { reinplace "s|\"vi\"|\"${editor}\"|g" ${worksrcpath}/fd.h }
      if {${pager} != ""} { reinplace "s|\"more%K\"|\"${pager}\"|g" ${worksrcpath}/fd.h }

      if {[variant_isset autosort]} {
      reinplace "s|SORTTYPE\t\t0|SORTTYPE\t\t1|" ${worksrcpath}/fd.h
      reinplace "s|DISPLAYMODE\t\t0|DISPLAYMODE\t\t3|" ${worksrcpath}/fd.h
      reinplace "s|SORTTREE\t\t0|SORTTREE\t\t1|" ${worksrcpath}/fd.h
      }
      }

      use_parallel_build yes
      build.args CONFDIR=${prefix}/etc PREFIX=${prefix} CFLAGS="${configure.cflags}" CPPFLAGS="${configure.cppflags} -I${prefix}/include/ncurses" LDFLAGS="${configure.ldflags} -lncurses"

      destroot.args BUILD=${destroot} PREFIX=${prefix}
      post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
      foreach f {FAQ* HISTORY* Install* LICENSES* README* TECHKNOW* ToAdmin* *.cat} {
      eval xinstall -m 644 [glob ${worksrcpath}/${f}] ${destroot}${prefix}/share/doc/${name}
      }
      xinstall -m 644 ${worksrcpath}/_fdrc ${destroot}${prefix}/etc/fd2rc.dist
      }

      Variant: universal {
      build.args CONFDIR=${prefix}/etc PREFIX=${prefix} CFLAGS="${configure.cflags} ${configure.universal_cflags}" CPPFLAGS="${configure.cppflags} -I${prefix}/include/ncurses" LDFLAGS="${configure.ldflags} ${configure.universal_ldflags} -lncurses"
      }
      Variant: nojpnmes description {Do not show Japanese message} {}
      Variant: emacs conflicts vim description {Use emacs as default editor} {set editor emacs}
      Variant: vim conflicts emacs description {Use vim as default editor} {set editor vim}
      Variant: lv conflicts less jless description {Use lv as default pager} {set pager lv}
      Variant: less conflicts lv jless description {Use less as default pager} {set pager less}
      Variant: jless conflicts lv less description {Use jless as default pager} {set pager jless}
      Variant: autosort description {Sort files alphabetically automatically} {}

      livecheck.check regex
      livecheck.url ${homepage}
      livecheck.regex FD-(\[0-9.a-z\]+)\\.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/fdclone
      % sudo port install fdclone
      Password:
    You 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:

      ---> Fetching fdclone
      ---> Verifying checksum for fdclone
      ---> Extracting fdclone
      ---> Configuring fdclone
      ---> Building fdclone with target all
      ---> Staging fdclone into destroot
      ---> Installing fdclone
    - 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 fdclone with these commands:
      %  man fdclone
      % apropos fdclone
      % which fdclone
      % locate fdclone

     Where to find more information:

    Darwin Ports



    image test