[
{ type: install
  message: <<EOM
 This port requires a kernel built with
 the directive:

 options USER_LDT

 Please, check the FreeBSD Handbook for instructions
 on building a custom kernel. If you do not know
 where to find it, check the FreeBSD website
 http://www.freebsd.org/

 Then before running zphoto, users should prepare as follows:

 sh or bash:
  $ ZPHOTO_TEMPLATE_DIR=%%PREFIX%%/share/zphoto/templates/en (english)
  $ ZPHOTO_TEMPLATE_DIR=%%PREFIX%%/share/zphoto/templates/ja (japanese)
  $ ZPHOTO_TEMPLATE_DIR=%%PREFIX%%/share/zphoto/templates/all (both)
  $ ZPHOTO_FONT=%%PREFIX%%/share/zphoto/fonts/EfontSerifB.fdb
  $ export ZPHOTO_TEMPLATE_DIR ZPHOTO_FONT

 csh or tcsh:
  % setenv ZPHOTO_TEMPLATE_DIR %%PREFIX%%/share/zphoto/templates/en (english)
  % setenv ZPHOTO_TEMPLATE_DIR %%PREFIX%%/share/zphoto/templates/ja (japanese)
  % setenv ZPHOTO_TEMPLATE_DIR %%PREFIX%%/share/zphoto/templates/all (both)
  % setenv ZPHOTO_FONT %%PREFIX%%/share/zphoto/fonts/EfontSerifB.fdb

EOM
}
]
