Enca version 1.9 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    version 1.9

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


      The enca Portfile 54449 2009-07-27 20:43:44Z toby macports.org $

      PortSystem 1.0

      Name: enca
      Version: 1.9
      Category: textproc
      Platform: darwin
      Maintainers: nomaintainer
      Description: character set analyser
      Long Description: Enca is an Extremely Naive Charset Analyser. It detects character set and encoding of text files and can also convert them to other encodings.

      Homepage: http://trific.ath.cx/software/enca/
      Master Sites: https://launchpad.net/ubuntu/karmic/+source/enca/1.9-7/+files/ http://mirror.linux.org.mt/ubuntu/pool/universe/e/enca/
      # http://trific.ath.cx/Ftp/enca/
      # the above seems to be broken at present
      distname ${name}_${version}.orig
      worksrcdir ${name}-${version}
      Checksums: md5 99c762c0f4e560f3e469672e6ad7559d sha1 41670cc0e0211cd6ced86a59931ad9c7f013c785 rmd160 85f2921b3c96f95eff517c21e308671627a91608

      depends_build port:libtool

      depends_lib port:libiconv

      configure.args --with-libiconv=${prefix} --mandir=${prefix}/share/man
      configure.cflags-append "-I${prefix}/include"

      post-configure {
      # It's too much of a PITA to autoreconf for universal
      delete ${worksrcpath}/libtool
      system "ln -s ${prefix}/bin/glibtool ${worksrcpath}/libtool"
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.