Dcmtk version 3.5.4_p2 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    version 3.5.4_p2

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


      The dcmtk Portfile 45760 2009-01-21 14:34:28Z macsforever2000 macports.org $

      PortSystem 1.0

      Name: dcmtk
      Version: 3.5.4_p2
      Category: graphics
      Platform: darwin
      Maintainers: uni-koblenz.de:guidolorenz openmaintainer
      Description: The DICOM Toolkit.
      Long Description: DCMTK is a collection of libraries and applications implementing large parts of the DICOM standard. It includes software for examining, constructing and converting DICOM image files, handling offline media, sending and receiving images over a network connection, as well as demonstrative image storage and worklist servers.

      Homepage: http://dicom.offis.de/dcmtk

      Master Sites: ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk354/ http://dicom.offis.de/download/dcmtk/dcmtk354/
      distname dcmtk-3.5.4

      Checksums: md5 0afd971cdf976a5b336722ef2f68e6d7 sha1 169056874947083e68eb941fcd53faaebc862ae5 rmd160 d1558c9c68e53e0ea3b080fd2fb50b9d8e30eeba

      depends_lib port:zlib port:tiff port:libpng port:libxml2

      destroot.target-append install-lib

      # Apply changes made in ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk354/patch/dcmtk-3.5.4_p2.tar.gz
      Patch Files: patch-dcmnet-apps-findscu.cc.diff patch-dcmnet-apps-movescu.cc.diff

      platform darwin 9 {
      # See http://forum.dcmtk.org/viewtopic.php?t=1372

      patchfiles-append patch-config-configure.in.diff

      post-patch {
      # Usually, we would system "cd ${worksrcpath}/config && ./autoall" here, but due to a
      # conflict with the MacPorts installation of autoconf, we must make sure that the
      # original autoconf distrubuted with Leopard (from /usr/bin) is used.
      system "cd ${worksrcpath}/config && /usr/bin/autoheader"
      system "cd ${worksrcpath}/config && /usr/bin/autoconf"
      system "cd ${worksrcpath}/config && /usr/bin/autoconf confmod.in > confmod"
      }
      }

      use_parallel_build no

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.