*** Portfile
--- Portfile
***************
*** 36,41 ****
--- 36,47 ----
  	configure.pre_args-append	-c /usr/bin/gcc-4.0 -x /usr/bin/g++-4.0
  }
  
+ variant icu_transcoder description {Use the ICU transcoder instead of the native MacOS transcoder} {
+ 	depends_lib-append port:icu
+ 	configure.env-append ICUROOT=${prefix}
+ 	configure.args-append -ticu
+ }
+ 
  post-build {
  	xinstall -m 755 -W ${filespath} makestatic.sh.in ${build.dir}/makestatic.sh
  	reinplace s|@CXX@|${configure.cxx}| ${build.dir}/makestatic.sh
