Download and Install unicodeconverter-java version 1.1 on Mac OS X
Thursday the 7th of August, 2008

    unicodeconverter-java  most recent diff


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



      # $Id: Portfile 32256 2007-12-23 09:18:47Z ryandesign macports.org $

      PortSystem 1.0
      Name: unicodeconverter-java
      Version: 1.1
      Category: java textproc unicode
      Maintainers: nomaintainer
      Description: Convert various encodings to UTF-8
      Long Description: UnicodeConverter is a Java program that converts text and HTML files in VNI, VISCII, VPS, TCVN, or VIQR/Vietnet format to Unicode UTF-8. The program, executable in both graphic user interface (GUI) and command-line modes, is capable of converting multiple files in a directory, or an entire directory, including its subdirectories. In effect, this enhanced capability enables conversion of an entire website to Unicode UTF-8 format with one single command or a few mouse clicks.

      Platform: darwin

      Homepage: http://unicodeconvert.sourceforge.net/
      master_sites sourceforge:unicodeconvert
      distname UnicodeConverter-${version}
      use_zip yes

      worksrcdir UnicodeConverter

      checksums md5 4ed03336f2916de652137d8a14251e89

      depends_lib bin:java:kaffe

      post-patch {
      reinplace "s|^PROGDIR=.*|PROGDIR=\"${prefix}/share/java\"|" ${worksrcpath}/Uni
      }

      use_configure no

      build {}

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc/${name}
      xinstall -m 755 -W ${worksrcpath} Uni ${destroot}${prefix}/bin
      xinstall -m 644 -W ${worksrcpath} Uni.jar ${destroot}${prefix}/share/java
      xinstall -m 644 -W ${worksrcpath} readme.html versionchanges.html ${destroot}${prefix}/share/doc/${name}
      # Build a nice .app
      if {[variant_isset darwin]} {
      set ucAppPath ${destroot}/Applications/MacPorts/UnicodeConverter.app
      # Build paths
      xinstall -m 755 -d ${ucAppPath}/Contents/Resources/Java ${ucAppPath}/Contents/MacOS
      # Copy basic package information
      xinstall -m 644 -W ${filespath} Info.plist PkgInfo ${ucAppPath}/Contents
      # Set version correctly in Info.plist
      reinplace "s| VERSION |${version}|g" ${ucAppPath}/Contents/Info.plist
      # Copy the jar into the right place
      xinstall -m 644 -W ${worksrcpath} Uni.jar ${ucAppPath}/Contents/Resources/Java
      # Copy the stub app
      xinstall -m 755 "/System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/MacOS/JavaApplicationStub" ${ucAppPath}/Contents/MacOS
      # If Jar Bundler is installed, we can grab the generic icon
      set javaGenericIcon "/Developer/Applications/Java Tools/Jar Bundler.app/Contents/Resources/GenericJavaApp.icns"
      if {[file exists ${javaGenericIcon}]} {
      xinstall -m 644 ${javaGenericIcon} ${ucAppPath}/Contents/Resources
      }
      }
      }

      # So it gets set, when applicable
      platform darwin {
      }


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

     Where to find more information:

    Darwin Ports



    image test