dact version 0.8.41 for Mac OS X 10.5 Leopard
Saturday the 17th of May, 2008

    dact  most recent diff


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



      # $Id: Portfile 33429 2008-01-27 10:43:17Z nox macports.org $

      PortSystem 1.0

      Name: dact
      Version: 0.8.41
      Category: archivers
      Platform: darwin
      Maintainers: nomaintainer
      Description: dynamic adaptive compression tool

      Long Description: DACT attempts to create very efficient compressed files by attempting to use many different algorithms on each block until it finds the best for every block in the file.

      Homepage: http://www.rkeene.org/oss/dact/
      master_sites http://www.rkeene.org/files/oss/dact/release/

      checksums md5 f6b33e18e9680c08835e93f8673dea8d sha1 a87db20ae7bf4ffd1b5d37c7e3be70c84661e379 rmd160 015544501df128da869f837b64579de53028a163

      post-patch {
      # checking how to create shared objects... cant
      # configure: error: We are unable to make shared objects.

      reinplace "s/ -bind_at_load//" ${worksrcpath}/configure

      # Loadable objects are bundles on OS X

      reinplace "s/=\\.so/=\\.bundle/g" ${worksrcpath}/Makefile.in
      reinplace -E "s/\[\[:<:\]\]so\[\[:>:\]\]/bundle/g" ${worksrcpath}/Makefile.in ${worksrcpath}/Makefile.dep
      reinplace -E "/AS_MODULE/s/(SHOBJLDFLAGS)/\\1:dynamiclib=bundle/" ${worksrcpath}/Makefile.in
      reinplace -E "/for/s/\\(MODS\\)/(ALGO:.c=.bundle)/" ${worksrcpath}/Makefile.in

      # ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option
      # module_shr.o definition of common _modules (size 1024)
      # net_shr.o definition of common _dact_urls (size 3072)
      # ui_shr.o definition of common _dact_ui_statusvar (size 128)

      reinplace -E "s/^(void)/static \\1/" ${worksrcpath}/module.c
      reinplace -E "/^extern void/d" ${worksrcpath}/module.h
      reinplace -E "s/^(struct.*;)\$/static \\1/" ${worksrcpath}/net.c
      reinplace -E "s/^(char.*;)\$/static \\1/" ${worksrcpath}/ui.c
      }

      depends_lib port:libmcrypt port:zlib port:bzip2 port:lzo

      configure.args --mandir=${prefix}/share/man --disable-chkvers

      destroot.destdir prefix=${destroot}${prefix}

      post-destroot {
      system "install_name_tool -id ${prefix}/lib/lib${name}.dylib ${destroot}${prefix}/lib/lib${name}.dylib"

      set docdir ${prefix}/share/doc/${name}-${version}
      xinstall -d ${destroot}${docdir}
      xinstall -m 0644 -W ${worksrcpath} AUTHORS ChangeLog LICENSE README TODO TODO.ideas ${destroot}${docdir}
      }

      # gcc: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
      universal_variant no

      livecheck.check regex
      livecheck.url ${homepage}
      livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)

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

     Where to find more information:

    Darwin Ports



    image test