Download and Install scite version 1.76 on Mac OS X
Sunday the 7th of September, 2008

    scite  most recent diff


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



      # $Id: Portfile 36568 2008-05-07 00:18:55Z nox macports.org $

      PortSystem 1.0

      Name: scite
      Version: 1.76
      Category: editors
      Platform: darwin
      Maintainers: nox
      Description: SciTE is a SCIntilla based Text Editor.

      Long Description: Originally built to demonstrate Scintilla, it has grown to be a generally useful editor with facilities for building and running programs. It is best used for jobs with simple configurations.

      Homepage: http://scintilla.sourceforge.net/SciTE.html
      master_sites sourceforge:scintilla
      distname ${name}[strsed ${version} {g/\.//}]
      extract.suffix .tgz

      depends_build port:pkgconfig
      depends_lib port:gtk2

      checksums md5 c33461643c62c80420376de37125092b sha1 46ef6c7d5f312ed68cac8431eab17efa0e618d5e rmd160 3e82bb6c425aaeaa9dd932e179e837e1fcce9d71

      worksrcdir ${name}/gtk

      patchfiles patch-scintilla-gtk-makefile.diff patch-scite-gtk-makefile.diff

      post-patch {
      reinplace -E "s/#ifdef (PLAT_MACOSX|__APPLE__)/#if PLAT_MACOSX/" ${workpath}/scintilla/include/Platform.h ${workpath}/scintilla/src/Editor.cxx
      }

      use_configure no

      build.args prefix=${prefix} GTK2=yes

      pre-build {
      if {[variant_isset universal]} {
      set lipo_args {}

      foreach {arch} {i386 ppc} {
      system "make -C ${workpath}/scintilla/gtk GTK2=yes UNIVERSAL_CFLAGS=\"-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ${arch}\""

      file mkdir ${workpath}/scintilla/bin/${arch}
      move ${workpath}/scintilla/bin/scintilla.a ${workpath}/scintilla/bin/${arch}/scintilla.a

      system "make -C ${workpath}/scintilla/gtk clean"

      lappend lipo_args -arch ${arch} ${workpath}/scintilla/bin/${arch}/scintilla.a
      }

      system "lipo -create [join ${lipo_args}] -output ${workpath}/scintilla/bin/scintilla.a"
      } else {
      system "make -C ${workpath}/scintilla/gtk GTK2=yes"
      }
      }

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

      post-destroot {
      xinstall -m 0444 ${worksrcpath}/../doc/scite.1 ${destroot}${prefix}/share/man/man1
      }

      Variant: universal {
      post-patch {
      reinplace -E "/^CXXBASEFLAGS/s|\$| \$(UNIVERSAL_CFLAGS)|" ${workpath}/scintilla/gtk/makefile
      reinplace -E "/^CXXBASEFLAGS/s|\$| ${configure.universal_cflags}|" ${worksrcpath}/makefile
      }

      build.args-append "UNIVERSAL_LDFLAGS=\"${configure.universal_ldflags}\""
      }

      livecheck.distname SciTE


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

     Where to find more information:

    Darwin Ports



    image test