Download and Install netpbm version 10.26.51 on Mac OS X
Thursday the 24th of July, 2008

    netpbm  most recent diff


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



      # $Id: Portfile 36672 2008-05-10 15:38:43Z mas macports.org $

      PortSystem 1.0

      Name: netpbm
      Version: 10.26.51
      Category: graphics
      Maintainers: mas openmaintainer
      Description: Image manipulation
      Long Description: A whole bunch of utilities for primitive manipulation of graphic images. Wide array of converters from one graphics format to another. E.g. from g3 fax format to jpeg. Many basic graphics editing tools such as magnifying and cropping.

      Homepage: http://netpbm.sourceforge.net/
      master_sites sourceforge:netpbm
      Platform: darwin freebsd linux

      depends_lib port:zlib port:jpeg port:tiff port:libpng port:jasper
      extract.suffix .tgz
      checksums sha1 5091fb90b2c5143b440821b8468546fbe146a3e6

      set gcc-suffix ""
      patchfiles patch-lib-Makefile

      configure {
      system "cd ${worksrcpath} &&
      cat Makefile.config.in ${filespath}/Makefile.config.${os.platform} |
      sed -e '/ PREFIX /s ${prefix} ' -e '/ GCC_SUFFIX /s ${gcc-suffix} ' > Makefile.config";
      }

      build.args "messages=yes"
      build.target ""
      build.type gnu

      destroot {
      file delete -force ${destroot}${prefix}
      system "cd ${worksrcpath} && ${build.cmd} package pkgdir=${destroot}${prefix}"
      xinstall -m 755 -d ${destroot}${prefix}/share/netpbm
      system "cd ${destroot}${prefix} &&
      mv bin/doc.url misc/* share/netpbm &&
      mv man share &&
      rm -rf README VERSION config_template link misc pkginfo share/man/web"
      foreach old_library {pbm pgm pnm ppm} {
      ln -s libnetpbm.dylib ${destroot}${prefix}/lib/lib${old_library}.dylib
      }
      }

      # "Netpbm has a sophisticated, rather novel system of releasing source code"
      livecheck.distname super stable

      universal_variant no

      # work around bug in Apple's gcc build 4061
      platform darwin 8 {
      set fl [open "| gcc --version"]
      set data [read $fl]
      close $fl
      if {[regexp "build 4061" $data]} {
      set gcc-suffix "-3.3"
      } else {
      set gcc-suffix "-4.0"
      }
      }

      platform freebsd {
      patchfiles-append patch-libopt.c
      depends_build port: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/netpbm
      % sudo port install netpbm
      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 netpbm
      ---> Verifying checksum for netpbm
      ---> Extracting netpbm
      ---> Configuring netpbm
      ---> Building netpbm with target all
      ---> Staging netpbm into destroot
      ---> Installing netpbm
    - 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 netpbm with these commands:
      %  man netpbm
      % apropos netpbm
      % which netpbm
      % locate netpbm

     Where to find more information:

    Darwin Ports



    image test