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

    version 0.1.3

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


      # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*-
      The sigil Portfile 56939 2009-09-03 17:27:45Z krischik macports.org $
      # vim: set fileencoding=utf-8 tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab filetype=tcl :

      PortSystem 1.0

      Name: sigil
      Version: 0.1.3
      #epoch 20090114
      Revision: 0
      Platform: darwin
      Category: editors
      Maintainers: macports.org:krischik
      Description: Sigil, the ePub editor
      Long Description: Sigil is a multi-platform WYSIWYG ebook editor. It is designed to edit books in ePub format

      Homepage: http://code.google.com/p/sigil
      Master Sites: googlecode

      distfiles Sigil_code_${version}.zip
      worksrcdir build

      Checksums: md5 60ba640201420704ce3b500c7d96f6fd sha1 83349aec2f5dcfb066e85651e66e16b259c23d4f rmd160 616abfc8d6c770cc38d03a106a2de981cd1c6270

      use_zip yes
      use_parallel_build yes

      depends_build bin:cmake:cmake bin:gmake:gmake
      depends_lib port:qt4-mac

      configure.env PATH="${prefix}/libexec/qt4-mac/bin:$env(PATH)"
      configure.cmd "cmake"
      configure.args "-G \"Unix Makefiles\" ${workpath}/Sigil_code_${version}"

      build.env PATH="${prefix}/libexec/qt4-mac/bin:$env(PATH)"
      build.cmd "gmake"
      build.args ""
      build.target "Sigil"

      platform x86_64 {
      pre-configure {
      reinplace "s|ppc;i386|x86_64|g" ${workpath}/Sigil_code_${version}/CMakeLists.txt
      }
      }

      platform powerpc {
      pre-configure {
      reinplace "s|ppc;i386|ppc|g" ${workpath}/Sigil_code_${version}/CMakeLists.txt
      }
      }

      platform i386 {
      pre-configure {
      reinplace "s|ppc;i386|i386|g" ${workpath}/Sigil_code_${version}/CMakeLists.txt
      }
      }

      pre-configure {
      file mkdir ${worksrcpath}
      }

      destroot {
      xinstall -d ${destroot}${applications_dir}

      copy ${worksrcpath}/bin/Sigil.app ${destroot}${applications_dir}
      }


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.