Disktype - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    disktype  most recent diff


    version 9

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


      The disktype Portfile 44260 2008-12-24 09:26:11Z ryandesign macports.org $

      PortSystem 1.0

      Name: disktype
      Version: 9
      Revision: 1
      Category: sysutils
      Platform: darwin
      Maintainers: nomaintainer
      Description: Detects the content format of a disk or disk image
      Long Description: Detects the content format of a disk or disk image by checking for signatures of file systems, partition tables, and boot codes.

      Homepage: http://disktype.sourceforge.net/
      Master Sites: sourceforge
      Checksums: sha1 5ccc55d1c47f9a37becce7336c4aa3a7a43cc89c

      Patch Files: patch-Makefile.diff
      post-patch {
      if {[variant_isset universal]} {
      reinplace "s| UNIVERSAL_CPPFLAGS |${configure.universal_cppflags}|" ${worksrcpath}/Makefile
      reinplace "s| UNIVERSAL_CFLAGS |${configure.universal_cflags}|" ${worksrcpath}/Makefile
      reinplace "s| UNIVERSAL_LDFLAGS |${configure.universal_ldflags}|" ${worksrcpath}/Makefile
      } else {
      reinplace "s| UNIVERSAL_CPPFLAGS ||" ${worksrcpath}/Makefile
      reinplace "s| UNIVERSAL_CFLAGS ||" ${worksrcpath}/Makefile
      reinplace "s| UNIVERSAL_LDFLAGS ||" ${worksrcpath}/Makefile
      }
      }

      use_configure no

      destroot {
      xinstall -m 755 -s ${worksrcpath}/disktype ${destroot}${prefix}/sbin
      xinstall -m 644 ${worksrcpath}/disktype.1 ${destroot}${prefix}/share/man/man1
      }

      Variant: universal {
      }


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.