installation log - Mac OS X Tiger (ppc)

codename: sakuya

package list:

secure/clamav-0.96.1
science/boost/others/threadpool-0_2_5-src
science/cv/cmake-2.8.1
science/gap/gap4r4
science/boost/boost_1_42_0
science/boost/others/openmpi-1.4.1
libs/graphviz/graphviz-2.26.3
libs/gd-2.0.35-devel
net/www/tokyopromenade-0.9.18
libs/db/tokyocabinet-1.4.39
libs/mp/gmp-4.3.1
libs/gl/mesa/Mesa-7.5.2
libs/gl/glut/openglut-0.6.0
devel/misc/gawk-3.1.7
av/stream/flvstreamer-1.8k
misc/qemu/qemu-0.11.0-rc2
devel/git-1.6.4.2
science/boost/boost_1_39_0
net/curl-7.19.5
libs/expat-2.0.1
fonts/ot/IPAfont00301
fonts/ot/oreilly-otf-2004
fonts/ot/macosx-j-otf-2007
media/voice/julius-4.1.2
media/voice/wlm-0.0.1
media/voice/dictation-kit-v3.2
img/tiff-3-20090626
input/anthy-9026
x11/text/mgdiff-1.0-debian-i18n
games/rogue5.4.4
lang/ps/experimental/ghostscript-8.64
lang/ps/experimental/ghostscript-8.63
util/xar-20080127
devel/apl/subversion-1.5.6
devel/apl/serf-0.3.0
libs/neon-0.28.4
av/mpeg4ip-1.6dfsg
db/sqlite-3.6.10
net/torrent/ctorrent-dnh3.3.2
net/torrent/transmission-1.42
net/curl-7.19.2
devel/intltool-0.40.5
science/octave/octave-3.0.3
science/octave/qhull-2003.1
science/octave/glpk-4.35
science/octave/fftw-3.2
science/octave/sed-4.1.5
science/octave/libf2c2-20061008
science/octave/fort77-1.15
science/octave/f2c-20061008
secure/clamav-0.94.2
secure/gnupg-1.4.9
net/wget-1.11.4
av/players/mplayer/ffmpeg-20090115
av/libdca-20090115
av/x264-20090115
devel/autotools/libtool-2.2.4
devel/autotools/automake-1.10.2
devel/autotools/autoconf-2.63
devel/autotools/m4-1.4.12
devel/autotools/make-3.81
devel/bzr-1.10
devel/git-1.6.1
devel/asciidoc-8.3.3
devel/xmlto-0.0.21
devel/getopt-1.1.4
science/boost/boost_1_37_0
science/boost/boost-jam-3.1.17
net/libdnet-1.12
x11/misc/xdu-3.0
misc/du2ps-3.1
lang/ps/psutils-1.17
libs/gd-2.0.35
img/ImageMagick-6.4.1
secure/clamav-0.93
net/rdesktop-1.5.0
secure/tokyocabinet-1.2.1
secure/qdbm-1.8.77
science/maxima/readline-5.2
science/maxima/imaxima-imath-0.99
science/maxima/maxima-5.14.0
science/maxima/libsigsegv-2.5
science/maxima/clisp-2.43
science/maxima/breqn097a
science/boost/boost_1_34_1
science/boost/boost-jam-3.1.16
av/misc/shominst-0409
av/misc/TiMidity++-2.13.2
secure/gnupg-1.4.7
libs/popt-1.10
net/w3m-0.5.2
img/imlib-1.9.15
text/tops-20050927
secure/clamav-0.91.2
devel/apl/subversion-1.4.5
devel/apl/apr-iconv-1.2.0
devel/apl/apr-util-1.2.10
devel/apl/apr-1.2.11
libs/cairo/xsvg-0.2.1
libs/cairo/libsvg-cairo-0.1.6
libs/cairo/libsvg-0.1.4
libs/cairo/cairo-1.4.10
libs/fontconfig-2.4.2
libs/cairo/glitz-0.5.6
libs/freetype-2.3.5/freetype-2.3.5
libs/libxml2-2.6.30
libs/expat-2.0.0
img/tiff-3.8.2
img/libpng-1.2.21
av/gpac/gpac-0.4.4
av/players/mplayer/mplayer-export-2007-09-21
av/players/mplayer/ffmpeg-20070921
av/mpeg2dec-0.4.1
av/lame-3.97
av/twolame-0.3.10
av/ifodump-0.0.1
av/libdvdnav-0.1.10
av/dvdauthor-0.6.14
av/dvdbackup-0.1.1
av/libdvdread-0.9.7
av/mjpegtools-1.9.0rc2
av/libquicktime-1.0.0
av/x264-snapshot-20070913-2245
misc/qemu/qemu-snapshot-2007-09-03_05
viewers/less-382
net/jwhois-3.2.3
img/ImageMagick-6.3.2
libs/gsl/gsl-1.8
misc/gv-3.6.2
x11/libs/Xaw3d-1.5E
net/mew-5.1
util/lha-1.14i-ac20050924p1
libs/libsdl/SDL_gfx-2.0.13
libs/libsdl/SDL-1.2.11
libs/db/mdbtools-0.6pre1
libs/glib-2.12.2
libs/gettext-0.15
libs/pcre-6.3
x11/misc/x2x-1.27
misc/x2vnc-1.6.1
x11/misc/xclip-0.08
secure/clamav-0.88.1
x11/input/mac/kinput2-v3.1
media/cdrdao-1.2.1
media/cdrtools-2.01.01a05
img/povray-3.6.1
x11/drawer/tgif-QPL-4.1.44
img/mpeg2
img/ming-0.3beta1
devel/tla-1.3.4
net/mew-cvs-20060112
editors/emacs-22-20060112
secure/clamav-0.88
text/ptetex3/convert-ps-euc-j-20060107
secure/pop3proxy-1.3.0-beta4
secure/smtpproxy-1.3.3
util/lha-1.14i-ac20050924
av/a52dec-0.7.4
av/dvdauthor-0.6.12-alpha-2992
av/dvdbackup-0.1.1
av/faac-20051101
av/faad2-15092004
av/gpac/gpac-0.4.0-rc2
av/libdv-0.104
av/libsndfile-1.0.11
av/players/mad/libid3tag-0.15.1b
av/players/mad/libmad-0.15.1b
av/players/mad/madplay-0.15.2b
av/players/mpg123/libao-0.8.6
av/players/mpg123/mpg321-0.2.10
av/players/mplayer/MPlayer-20051027
av/players/mplayer/ffmpeg-20051027
av/stream/asfrecorder-1.1
av/stream/mms_client-0.0.3
av/vobcopy-0.5.14
av/x264-snapshot-20051023-2245
devel/pkg-config-0.19
ebooks/eb-4.2
ebooks/ebnetd-1.0
editors/emacs-22
editors/intlfonts-1.2.1
editors/mule-ucs-20030119
fonts/bm/Kappa20-0.396
fonts/bm/ayu-20050827
fonts/bm/japanese+fonts-20050721
fonts/bm/monafont-2.90
fonts/bm/mplus_bitmap_fonts-2.2.4
fonts/bm/shinonome-0.9.11
fonts/cid/oreilly-cid-2004
fonts/ot/macosx-j-otf-2005
fonts/ot/oreilly-otf-2004
fonts/tt/arphic-1999
fonts/tt/baekmuk-2002
fonts/tt/macosx-c-ttf-2005
fonts/tt/macosx-u-ttf-2005
fonts/tt/opfc-ModuleHP-1.1.1_withIPAFonts
fonts/tt/sazanami-20040629
img/ImageMagick-6.2.3
img/giflib-4.1.3
img/imlib-1.9.15
img/jpeg-6b
img/lcms-1.14
img/libpng-1.2.8
img/tiff-3.7.3
input/Canna37p3
input/FreeWnn-20030620
input/anthy-6700b
input/tamago-20020909
input/uim-0.4.7
lang/pdf/xpdf-3.01
lang/pdf/xpdf-chinese-simplified
lang/pdf/xpdf-chinese-traditional
lang/pdf/xpdf-japanese
lang/pdf/xpdf-korean
lang/ps/ghostscript-7.07
lang/ps/ghostscript-8.52
libs/gc6.5
libs/t1lib-5.1.0
media/cdrtools-2.01.01a01
net/emacs-w3m-1.4.4
net/mew-4.2.52
net/w3m-0.5.1
net/wget-1.10
science/gnuplot-20050901
secure/clamav-0.87.1
secure/gmp-4.1.4
secure/gnupg-1.4.2
terms/dialog-1.0-20050306
terms/mlterm-2.9.2
text/aspell-0.60.3
text/aspell6-en-6.0-0
text/nkf205
text/ptetex3/ptetex3-20050811
viewers/lv451
widgets/lesstif-0.94.4
wm/bbkeys-0.9.0
wm/blackbox-0.70.0
wm/blackbox-0.70.0+themes
x11/input/kinput2-v3.1
x11/misc/obsolete/xclip-0.08
x11/sys/xon-2005
x11/terms/kterm-6.2.0
x11/text/mgdiff-1.0-i18n

secure/clamav-0.96.1

preparation
verify_digest(){	# $0 method file string
  case "$1" in
  *)
    DIGEST=`echo "$1" | tr a-z A-Z`
    [ "$DIGEST($2)= $3" = "`openssl $1 $2`" ]
    ;;
  esac
}
verify_signature(){	# $0 url|id ... sig
  while [ "$1" != "" ]; do
    case "$1" in
    0x*)
      gpg --recv-keys "$1" || return $?
      ;;
    http:*|ftp:*)
      curl "$1" | gpg --import || return $?
      ;;
    *)
      gpg --verify "$1"
      return $?
    esac
    shift
  done
}
error_out(){	# $0 message ...
  echo "$@" 1>&2
  exit 1
}

curl -ROL -C - http://downloads.sourceforge.net/project/clamav/clamav/0.96.1/clamav-0.96.1.tar.gz
curl -ROL -C - http://downloads.sourceforge.net/project/clamav/clamav/0.96.1/clamav-0.96.1.tar.gz.sig
verify_signature http://www.clamav.net/gpg/tkojm.gpg clamav-0.96.1.tar.gz.sig || error_out "$0: stopped at line $LINENO"

tar xvzf clamav-0.96.1.tar.gz
(cd clamav-0.96.1 && patch -p0 -b -z.org < ../clamav-0.96.1-sakuya.patch)
build
./configure CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib --prefix=/opt/local/clamav 
make 
patch
--- ./configure.org	2010-05-19 21:23:34.000000000 +0900
+++ ./configure	2010-07-28 14:54:50.000000000 +0900
@@ -13116,7 +13116,8 @@
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc bug PR28045" >&5
 $as_echo_n "checking for gcc bug PR28045... " >&6; }
-if test "$cross_compiling" = yes; then :
+#if test "$cross_compiling" = yes; then :
+if :; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assumed ok" >&5
 $as_echo "cross-compiling, assumed ok" >&6; }
 else
--- ./etc/clamd.conf.org	2010-04-27 23:37:30.000000000 +0900
+++ ./etc/clamd.conf	2010-07-28 16:10:15.000000000 +0900
@@ -5,13 +5,14 @@
 
 
 # Comment or remove the line below.
-Example
+#Example
 
 # Uncomment this option to enable logging.
 # LogFile must be writable for the user running daemon.
 # A full path is required.
 # Default: disabled
 #LogFile /tmp/clamd.log
+LogFile /tmp/clamd.log
 
 # By default the log file is locked for writing - the lock protects against
 # running clamd multiple times (if want to run another clamd, please
@@ -55,6 +56,7 @@
 # daemon (main thread).
 # Default: disabled
 #PidFile /var/run/clamd.pid
+PidFile /tmp/clamd.pid
 
 # Optional path to the global temporary directory.
 # Default: system specific (usually /tmp or /var/tmp).
@@ -63,6 +65,7 @@
 # Path to the database directory.
 # Default: hardcoded (depends on installation options)
 #DatabaseDirectory /var/lib/clamav
+DatabaseDirectory /opt/local/clamav/share/clamav
 
 # Only load the official signatures published by the ClamAV project.
 # Default: no
@@ -90,6 +93,7 @@
 # TCP port address.
 # Default: no
 #TCPSocket 3310
+TCPSocket 3310
 
 # TCP address.
 # By default we bind to INADDR_ANY, probably not wise.
@@ -97,6 +101,7 @@
 # from the outside world.
 # Default: no
 #TCPAddr 127.0.0.1
+TCPAddr 127.0.0.1
 
 # Maximum length the queue of pending connections may grow to.
 # Default: 15
@@ -184,6 +189,7 @@
 # Run as another user (clamd must be started by root for this option to work)
 # Default: don't drop privileges
 #User clamav
+User clamav
 
 # Initialize supplementary group access (clamd must be started by root).
 # Default: no
--- ./etc/freshclam.conf.org	2010-05-12 05:45:30.000000000 +0900
+++ ./etc/freshclam.conf	2010-07-28 03:45:49.000000000 +0900
@@ -5,16 +5,18 @@
 
 
 # Comment or remove the line below.
-Example
+#Example
 
 # Path to the database directory.
 # WARNING: It must match clamd.conf's directive!
 # Default: hardcoded (depends on installation options)
 #DatabaseDirectory /var/lib/clamav
+DatabaseDirectory /opt/local/clamav/share/clamav
 
 # Path to the log file (make sure it has proper permissions)
 # Default: disabled
 #UpdateLogFile /var/log/freshclam.log
+UpdateLogFile /tmp/freshclam.log
 
 # Maximum size of the log file.
 # Value of 0 disables the limit.
@@ -44,11 +46,13 @@
 # This option allows you to save the process identifier of the daemon
 # Default: disabled
 #PidFile /var/run/freshclam.pid
+PidFile /tmp/freshclam.pid
 
 # By default when started freshclam drops privileges and switches to the
 # "clamav" user. This directive allows you to change the database owner.
 # Default: clamav (may depend on installation options)
 #DatabaseOwner clamav
+DatabaseOwner clamav
 
 # Initialize supplementary group access (freshclam must be started by root).
 # Default: no
installed
/opt/local/clamav/bin/clamav-config
/opt/local/clamav/bin/clambc
/opt/local/clamav/bin/clamconf
/opt/local/clamav/bin/clamdscan
/opt/local/clamav/bin/clamdtop
/opt/local/clamav/bin/clamscan
/opt/local/clamav/bin/freshclam
/opt/local/clamav/bin/sigtool
/opt/local/clamav/etc/clamd.conf
/opt/local/clamav/etc/freshclam.conf
/opt/local/clamav/include/clamav.h
/opt/local/clamav/lib/libclamav.6.dylib
/opt/local/clamav/lib/libclamav.dylib
/opt/local/clamav/lib/libclamav.la
/opt/local/clamav/lib/libclamunrar.6.dylib
/opt/local/clamav/lib/libclamunrar.dylib
/opt/local/clamav/lib/libclamunrar.la
/opt/local/clamav/lib/libclamunrar_iface.6.so
/opt/local/clamav/lib/libclamunrar_iface.la
/opt/local/clamav/lib/libclamunrar_iface.so
/opt/local/clamav/lib/pkgconfig/libclamav.pc
/opt/local/clamav/sbin/clamd
/opt/local/clamav/share/clamav/daily.cvd
/opt/local/clamav/share/clamav/main.cvd
/opt/local/clamav/share/man/man1/clamconf.1
/opt/local/clamav/share/man/man1/clamdscan.1
/opt/local/clamav/share/man/man1/clamdtop.1
/opt/local/clamav/share/man/man1/clamscan.1
/opt/local/clamav/share/man/man1/freshclam.1
/opt/local/clamav/share/man/man1/sigtool.1
/opt/local/clamav/share/man/man5/clamav-milter.conf.5
/opt/local/clamav/share/man/man5/clamd.conf.5
/opt/local/clamav/share/man/man5/freshclam.conf.5
/opt/local/clamav/share/man/man8/clamav-milter.8
/opt/local/clamav/share/man/man8/clamd.8
host_configuration
[ ! -d /System/Library/StartupItems/Clamd ] && \
mkdir /System/Library/StartupItems/Clamd
if [ ! -f /System/Library/StartupItems/Clamd/Clamd ]; then
  cat <<EOF > /System/Library/StartupItems/Clamd/Clamd
#!/bin/sh

##
# ClamAV Server
##

. /etc/rc.common

StartService ()
{
	DYLD_LIBRARY_PATH=/opt/local/clamav/lib; export DYLD_LIBRARY_PATH
	/opt/local/clamav/bin/freshclam -d
	/opt/local/clamav/sbin/clamd
}

StopService ()
{
	killall -9 freshclam
	killall -9 clamd
}

RestartService () { StopService; StartService; }

RunService "\$1"
EOF
  chmod +x /System/Library/StartupItems/Clamd/Clamd
fi
if [ ! -f /System/Library/StartupItems/Clamd/StartupParameters.plist ]; then
  cat <<EOF > /System/Library/StartupItems/Clamd/StartupParameters.plist
{
  Description     = "ClamAV Server";
  Provides        = ("ClamAV Server");
}
EOF
fi
#/System/Library/StartupItems/Clamd/Clamd start

science/boost/others/threadpool-0_2_5-src

preparation
wget -N http://downloads.sourceforge.net/project/threadpool/threadpool/0.2.5%20%28Stable%29/threadpool-0_2_5-src.zip
unzip threadpool-0_2_5-src.zip
build
echo 'do nothing'
installation
(cd threadpool/boost &&
tar cf - threadpool* | (cd /opt/local/include/boost &&
    tar xf - && find threadpool* -exec touch {} \;
  )
)
installed
/opt/local/include/boost/threadpool/detail/future.hpp
/opt/local/include/boost/threadpool/detail/locking_ptr.hpp
/opt/local/include/boost/threadpool/detail/pool_core.hpp
/opt/local/include/boost/threadpool/detail/scope_guard.hpp
/opt/local/include/boost/threadpool/detail/worker_thread.hpp
/opt/local/include/boost/threadpool/future.hpp
/opt/local/include/boost/threadpool/pool.hpp
/opt/local/include/boost/threadpool/pool_adaptors.hpp
/opt/local/include/boost/threadpool/scheduling_policies.hpp
/opt/local/include/boost/threadpool/shutdown_policies.hpp
/opt/local/include/boost/threadpool/size_policies.hpp
/opt/local/include/boost/threadpool/task_adaptors.hpp
/opt/local/include/boost/threadpool.hpp

science/cv/cmake-2.8.1

preparation
curl -RO -C - http://www.cmake.org/files/v2.8/cmake-2.8.1.tar.gz
tar xvzf cmake-2.8.1.tar.gz
build
./configure --prefix=/opt/local 
make 
installation
make install 
installed
data_installed
/opt/local/bin/ccmake
/opt/local/bin/cmake
/opt/local/bin/cmakexbuild
/opt/local/bin/cpack
/opt/local/bin/ctest
/opt/local/doc/cmake-2.8/ccmake.docbook
/opt/local/doc/cmake-2.8/ccmake.html
/opt/local/doc/cmake-2.8/ccmake.txt
/opt/local/doc/cmake-2.8/cmake-commands.html
/opt/local/doc/cmake-2.8/cmake-commands.txt
/opt/local/doc/cmake-2.8/cmake-compatcommands.html
/opt/local/doc/cmake-2.8/cmake-compatcommands.txt
/opt/local/doc/cmake-2.8/cmake-modules.html
/opt/local/doc/cmake-2.8/cmake-modules.txt
/opt/local/doc/cmake-2.8/cmake-policies.html
/opt/local/doc/cmake-2.8/cmake-policies.txt
/opt/local/doc/cmake-2.8/cmake-properties.html
/opt/local/doc/cmake-2.8/cmake-properties.txt
/opt/local/doc/cmake-2.8/cmake-variables.html
/opt/local/doc/cmake-2.8/cmake-variables.txt
/opt/local/doc/cmake-2.8/cmake.docbook
/opt/local/doc/cmake-2.8/cmake.html
/opt/local/doc/cmake-2.8/cmake.txt
/opt/local/doc/cmake-2.8/cmcompress/Copyright.txt
/opt/local/doc/cmake-2.8/cmcurl/COPYING
/opt/local/doc/cmake-2.8/cmexpat/COPYING
/opt/local/doc/cmake-2.8/cmsys/Copyright.txt
/opt/local/doc/cmake-2.8/cmtar/COPYRIGHT
/opt/local/doc/cmake-2.8/cmzlib/Copyright.txt
/opt/local/doc/cmake-2.8/Copyright.txt
/opt/local/doc/cmake-2.8/cpack.docbook
/opt/local/doc/cmake-2.8/cpack.html
/opt/local/doc/cmake-2.8/cpack.txt
/opt/local/doc/cmake-2.8/ctest.docbook
/opt/local/doc/cmake-2.8/ctest.html
/opt/local/doc/cmake-2.8/ctest.txt
/opt/local/man/man1/ccmake.1
/opt/local/man/man1/cmake.1
/opt/local/man/man1/cmakecommands.1
/opt/local/man/man1/cmakecompat.1
/opt/local/man/man1/cmakemodules.1
/opt/local/man/man1/cmakepolicies.1
/opt/local/man/man1/cmakeprops.1
/opt/local/man/man1/cmakevars.1
/opt/local/man/man1/cpack.1
/opt/local/man/man1/ctest.1
/opt/local/share/cmake-2.8/include/cmCPluginAPI.h
/opt/local/share/cmake-2.8/Modules/.NoDartCoverage
/opt/local/share/cmake-2.8/Modules/AddFileDependencies.cmake
/opt/local/share/cmake-2.8/Modules/BundleUtilities.cmake
/opt/local/share/cmake-2.8/Modules/CheckCCompilerFlag.cmake
/opt/local/share/cmake-2.8/Modules/CheckCSourceCompiles.cmake
/opt/local/share/cmake-2.8/Modules/CheckCSourceRuns.cmake
/opt/local/share/cmake-2.8/Modules/CheckCXXCompilerFlag.cmake
/opt/local/share/cmake-2.8/Modules/CheckCXXSourceCompiles.cmake
/opt/local/share/cmake-2.8/Modules/CheckCXXSourceRuns.cmake
/opt/local/share/cmake-2.8/Modules/CheckForPthreads.c
/opt/local/share/cmake-2.8/Modules/CheckFortranFunctionExists.cmake
/opt/local/share/cmake-2.8/Modules/CheckFunctionExists.c
/opt/local/share/cmake-2.8/Modules/CheckFunctionExists.cmake
/opt/local/share/cmake-2.8/Modules/CheckIncludeFile.c.in
/opt/local/share/cmake-2.8/Modules/CheckIncludeFile.cmake
/opt/local/share/cmake-2.8/Modules/CheckIncludeFile.cxx.in
/opt/local/share/cmake-2.8/Modules/CheckIncludeFileCXX.cmake
	:

science/gap/gap4r4

preparation
curl -RO -C - ftp://ftp.gap-system.org/pub/gap/gap4/tar.bz2/gap4r4p12.tar.bz2
curl -RO -C - ftp://ftp.gap-system.org/pub/gap/gap4/tar.bz2/packages-2010_01_30-11_10_UTC.tar.bz2
curl -RO -C - ftp://ftp.gap-system.org/pub/gap/gap4/tar.bz2/xtom1r1p4.tar.bz2
curl -RO -C - ftp://ftp.gap-system.org/pub/gap/gap4/tar.bz2/tools4r4p12.tar.bz2
tar xvjf gap4r4p12.tar.bz2
build
echo "do nothing"
installation
[ -d /opt/local/gap4 ] || mkdir -p /opt/local/gap4
tar cf - . | (cd /opt/local/gap4 && tar xvf -)
(cd /opt/local/gap4 &&
./configure --prefix=/opt/local/gap4 &&
make
)
installed
/opt/local/gap4/bin/gap.sh
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/ariths.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/blister.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/bool.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/c_filt1.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/c_meths1.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/c_oper1.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/c_random.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/c_type1.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/calls.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/code.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/compiler.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/compstat.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/config.h
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/config.log
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/config.status
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/configure
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/costab.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/cyclotom.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/dt.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/dteval.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/exprs.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/finfield.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/float.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/funcs.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/gac
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/gap
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/gap.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/gasman.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/gvars.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/integer.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/intrprtr.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/iostream.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/listfunc.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/listoper.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/lists.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/Makefile
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/objccoll.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/objcftl.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/objects.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/objfgelm.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/objpcgel.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/objscoll.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/opers.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/permutat.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/plist.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/precord.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/range.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/rational.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/read.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/records.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/saveload.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/scanner.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/sctable.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/set.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/stats.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/streams.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/string.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/sysfiles.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/system.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/tietze.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/vars.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/vec8bit.o
/opt/local/gap4/bin/powerpc-apple-darwin8.11.0-gcc/vecffe.o
	:
data_installed
/opt/local/gap4/bin/cygncurses-8.dll
/opt/local/gap4/bin/cygpanel-8.dll
/opt/local/gap4/bin/cygwin1.dll
/opt/local/gap4/bin/gap.bat
/opt/local/gap4/bin/gap.dll
/opt/local/gap4/bin/gap.pif
/opt/local/gap4/bin/gapicon.bmp
/opt/local/gap4/bin/gapp.bat
/opt/local/gap4/bin/gapp.pif
/opt/local/gap4/bin/gaprxvt.bat
/opt/local/gap4/bin/gapw95.exe
/opt/local/gap4/bin/gapw95p.exe
/opt/local/gap4/bin/i686-pc-cygwin-gcc/config.h
/opt/local/gap4/bin/i686-pc-cygwin-gcc/gac
/opt/local/gap4/bin/i686-pc-cygwin-gcc/gap.dll
/opt/local/gap4/bin/libW11.dll
/opt/local/gap4/bin/regtool.exe
/opt/local/gap4/bin/rxvt.exe
/opt/local/gap4/bin/usemem.bat
/opt/local/gap4/cnf/aclocal.m4
/opt/local/gap4/cnf/config.guess
/opt/local/gap4/cnf/config.hin
/opt/local/gap4/cnf/config.sub
/opt/local/gap4/cnf/configure.in
/opt/local/gap4/cnf/configure.out
/opt/local/gap4/cnf/gac.in
/opt/local/gap4/cnf/install-sh
/opt/local/gap4/cnf/Makefile
/opt/local/gap4/cnf/Makegap.bottom
/opt/local/gap4/cnf/Makegap.in
/opt/local/gap4/cnf/Makegap.top
/opt/local/gap4/cnf/README
/opt/local/gap4/configure
/opt/local/gap4/description4r4p10
/opt/local/gap4/description4r4p11
/opt/local/gap4/description4r4p12
/opt/local/gap4/description4r4p5
/opt/local/gap4/description4r4p6
/opt/local/gap4/description4r4p7
/opt/local/gap4/description4r4p8
/opt/local/gap4/description4r4p9
/opt/local/gap4/doc/ext/about.tex
/opt/local/gap4/doc/ext/document.tex
/opt/local/gap4/doc/ext/foa.tex
/opt/local/gap4/doc/ext/gappkg.tex
/opt/local/gap4/doc/ext/helpintf.tex
/opt/local/gap4/doc/ext/libform.tex
/opt/local/gap4/doc/ext/manual.dvi
/opt/local/gap4/doc/ext/manual.ind
/opt/local/gap4/doc/ext/manual.lab
/opt/local/gap4/doc/ext/manual.mst
/opt/local/gap4/doc/ext/manual.pdf
/opt/local/gap4/doc/ext/manual.six
/opt/local/gap4/doc/ext/manual.tex
/opt/local/gap4/doc/ext/manual.toc
/opt/local/gap4/doc/ext/stbchain.tex
/opt/local/gap4/doc/ext/weakptr.tex
/opt/local/gap4/doc/fullindex.dvi
/opt/local/gap4/doc/fullindex.pdf
/opt/local/gap4/doc/fullindex.tex
/opt/local/gap4/doc/gapmacro.tex
/opt/local/gap4/doc/htm/ext/biblio.htm
/opt/local/gap4/doc/htm/ext/CHAP001.htm
/opt/local/gap4/doc/htm/ext/CHAP002.htm
	:

science/boost/boost_1_42_0

preparation
wget -N http://downloads.sourceforge.net/boost/boost_1_42_0.tar.bz2
tar xvjf boost_1_42_0.tar.bz2
(cd boost_1_42_0 &&
patch -p0 -b -z.org < ../boost_1_42_0-sakuya.patch
)
build
bjam --prefix=/opt/local --toolset=darwin architecture=power --disable-long-double address-model=32 -d2 --debug-configuration 
patch
--- ./tools/build/v2/tools/darwin.jam~	2009-11-11 02:26:59.000000000 +0900
+++ ./tools/build/v2/tools/darwin.jam	2010-02-25 22:47:33.000000000 +0900
@@ -501,7 +501,7 @@
 
 actions link.dll bind LIBRARIES
 {
-    "$(CONFIG_COMMAND)" -dynamiclib -Wl,-single_module -install_name "$(<:B)$(<:S)" -L"$(LINKPATH)" -o "$(<)" "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-SA) -l$(FINDLIBS-ST) $(FRAMEWORK_PATH) -framework$(_)$(FRAMEWORK:D=:S=) $(OPTIONS) $(USER_OPTIONS)
+    "$(CONFIG_COMMAND)" -dynamiclib -Wl,-single_module -install_name "/opt/local/lib/$(<:B)$(<:S)" -L"$(LINKPATH)" -o "$(<)" "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-SA) -l$(FINDLIBS-ST) $(FRAMEWORK_PATH) -framework$(_)$(FRAMEWORK:D=:S=) $(OPTIONS) $(USER_OPTIONS)
 }
 
 # We use libtool instead of ar to support universal binary linking
--- ./tools/build/v2/user-config.jam~	2008-07-15 22:53:41.000000000 +0900
+++ ./tools/build/v2/user-config.jam	2010-02-25 22:52:44.000000000 +0900
@@ -84,3 +84,8 @@
 
 # Configure with an explicit installation prefix.
 # using qt : /usr/opt/qt ;
+
+#
+#
+#
+using mpi ;
installation
bjam --prefix=/opt/local --toolset=darwin architecture=power --disable-long-double address-model=32 -d2 --debug-configuration install 
installed
/opt/local/include/boost/accumulators/accumulators.hpp
/opt/local/include/boost/accumulators/accumulators_fwd.hpp
/opt/local/include/boost/accumulators/framework/accumulator_base.hpp
/opt/local/include/boost/accumulators/framework/accumulator_concept.hpp
/opt/local/include/boost/accumulators/framework/accumulator_set.hpp
/opt/local/include/boost/accumulators/framework/accumulators/droppable_accumulator.hpp
/opt/local/include/boost/accumulators/framework/accumulators/external_accumulator.hpp
/opt/local/include/boost/accumulators/framework/accumulators/reference_accumulator.hpp
/opt/local/include/boost/accumulators/framework/accumulators/value_accumulator.hpp
/opt/local/include/boost/accumulators/framework/depends_on.hpp
/opt/local/include/boost/accumulators/framework/external.hpp
/opt/local/include/boost/accumulators/framework/extractor.hpp
/opt/local/include/boost/accumulators/framework/features.hpp
/opt/local/include/boost/accumulators/framework/parameters/accumulator.hpp
/opt/local/include/boost/accumulators/framework/parameters/sample.hpp
/opt/local/include/boost/accumulators/framework/parameters/weight.hpp
/opt/local/include/boost/accumulators/framework/parameters/weights.hpp
/opt/local/include/boost/accumulators/numeric/detail/function1.hpp
/opt/local/include/boost/accumulators/numeric/detail/function2.hpp
/opt/local/include/boost/accumulators/numeric/detail/function3.hpp
/opt/local/include/boost/accumulators/numeric/detail/function4.hpp
/opt/local/include/boost/accumulators/numeric/detail/function_n.hpp
/opt/local/include/boost/accumulators/numeric/detail/pod_singleton.hpp
/opt/local/include/boost/accumulators/numeric/functional/complex.hpp
/opt/local/include/boost/accumulators/numeric/functional/valarray.hpp
/opt/local/include/boost/accumulators/numeric/functional/vector.hpp
/opt/local/include/boost/accumulators/numeric/functional.hpp
/opt/local/include/boost/accumulators/numeric/functional_fwd.hpp
/opt/local/include/boost/accumulators/statistics/count.hpp
/opt/local/include/boost/accumulators/statistics/covariance.hpp
/opt/local/include/boost/accumulators/statistics/density.hpp
/opt/local/include/boost/accumulators/statistics/error_of.hpp
/opt/local/include/boost/accumulators/statistics/error_of_mean.hpp
/opt/local/include/boost/accumulators/statistics/extended_p_square.hpp
/opt/local/include/boost/accumulators/statistics/extended_p_square_quantile.hpp
/opt/local/include/boost/accumulators/statistics/kurtosis.hpp
/opt/local/include/boost/accumulators/statistics/max.hpp
/opt/local/include/boost/accumulators/statistics/mean.hpp
/opt/local/include/boost/accumulators/statistics/median.hpp
/opt/local/include/boost/accumulators/statistics/min.hpp
/opt/local/include/boost/accumulators/statistics/moment.hpp
/opt/local/include/boost/accumulators/statistics/p_square_cumulative_distribution.hpp
/opt/local/include/boost/accumulators/statistics/p_square_quantile.hpp
/opt/local/include/boost/accumulators/statistics/parameters/quantile_probability.hpp
/opt/local/include/boost/accumulators/statistics/peaks_over_threshold.hpp
/opt/local/include/boost/accumulators/statistics/pot_quantile.hpp
/opt/local/include/boost/accumulators/statistics/pot_tail_mean.hpp
/opt/local/include/boost/accumulators/statistics/rolling_count.hpp
/opt/local/include/boost/accumulators/statistics/rolling_mean.hpp
/opt/local/include/boost/accumulators/statistics/rolling_sum.hpp
/opt/local/include/boost/accumulators/statistics/rolling_window.hpp
/opt/local/include/boost/accumulators/statistics/skewness.hpp
/opt/local/include/boost/accumulators/statistics/stats.hpp
/opt/local/include/boost/accumulators/statistics/sum.hpp
/opt/local/include/boost/accumulators/statistics/tail.hpp
/opt/local/include/boost/accumulators/statistics/tail_mean.hpp
/opt/local/include/boost/accumulators/statistics/tail_quantile.hpp
/opt/local/include/boost/accumulators/statistics/tail_variate.hpp
/opt/local/include/boost/accumulators/statistics/tail_variate_means.hpp
/opt/local/include/boost/accumulators/statistics/times2_iterator.hpp
/opt/local/include/boost/accumulators/statistics/variance.hpp
/opt/local/include/boost/accumulators/statistics/variates/covariate.hpp
/opt/local/include/boost/accumulators/statistics/weighted_covariance.hpp
/opt/local/include/boost/accumulators/statistics/weighted_density.hpp
	:

science/boost/others/openmpi-1.4.1

preparation
curl -RO -C - http://www.open-mpi.org/software/ompi/v1.4/downloads/openmpi-1.4.1.tar.bz2
tar xvjf openmpi-1.4.1.tar.bz2
build
./configure --prefix=/opt/local --disable-mpi-f77 --disable-mpi-f90 
make 
installed
/opt/local/bin/mpic++
/opt/local/bin/mpic++-vt
/opt/local/bin/mpicc
/opt/local/bin/mpicc-vt
/opt/local/bin/mpicxx
/opt/local/bin/mpicxx-vt
/opt/local/bin/mpiexec
/opt/local/bin/mpif77
/opt/local/bin/mpif77-vt
/opt/local/bin/mpif90
/opt/local/bin/mpif90-vt
/opt/local/bin/mpirun
/opt/local/bin/ompi-checkpoint
/opt/local/bin/ompi-clean
/opt/local/bin/ompi-iof
/opt/local/bin/ompi-ps
/opt/local/bin/ompi-restart
/opt/local/bin/ompi-server
/opt/local/bin/ompi_info
/opt/local/bin/opal_wrapper
/opt/local/bin/opari
/opt/local/bin/orte-clean
/opt/local/bin/orte-iof
/opt/local/bin/orte-ps
/opt/local/bin/orted
/opt/local/bin/orterun
/opt/local/bin/otfaux
/opt/local/bin/otfcompress
/opt/local/bin/otfconfig
/opt/local/bin/otfdecompress
/opt/local/bin/otfdump
/opt/local/bin/otfinfo
/opt/local/bin/otfmerge
/opt/local/bin/vtcc
/opt/local/bin/vtcxx
/opt/local/bin/vtf77
/opt/local/bin/vtf90
/opt/local/bin/vtfilter
/opt/local/bin/vtunify
/opt/local/etc/openmpi-default-hostfile
/opt/local/etc/openmpi-mca-params.conf
/opt/local/etc/openmpi-totalview.tcl
/opt/local/include/mpi.h
/opt/local/include/openmpi/ompi/mpi/cxx/comm.h
/opt/local/include/openmpi/ompi/mpi/cxx/comm_inln.h
/opt/local/include/openmpi/ompi/mpi/cxx/constants.h
/opt/local/include/openmpi/ompi/mpi/cxx/datatype.h
/opt/local/include/openmpi/ompi/mpi/cxx/datatype_inln.h
/opt/local/include/openmpi/ompi/mpi/cxx/errhandler.h
/opt/local/include/openmpi/ompi/mpi/cxx/errhandler_inln.h
/opt/local/include/openmpi/ompi/mpi/cxx/exception.h
/opt/local/include/openmpi/ompi/mpi/cxx/file.h
/opt/local/include/openmpi/ompi/mpi/cxx/file_inln.h
/opt/local/include/openmpi/ompi/mpi/cxx/functions.h
/opt/local/include/openmpi/ompi/mpi/cxx/functions_inln.h
/opt/local/include/openmpi/ompi/mpi/cxx/group.h
/opt/local/include/openmpi/ompi/mpi/cxx/group_inln.h
/opt/local/include/openmpi/ompi/mpi/cxx/info.h
/opt/local/include/openmpi/ompi/mpi/cxx/info_inln.h
/opt/local/include/openmpi/ompi/mpi/cxx/intercomm.h
/opt/local/include/openmpi/ompi/mpi/cxx/intercomm_inln.h
/opt/local/include/openmpi/ompi/mpi/cxx/intracomm.h
/opt/local/include/openmpi/ompi/mpi/cxx/intracomm_inln.h
/opt/local/include/openmpi/ompi/mpi/cxx/mpicxx.h
	:

libs/graphviz/graphviz-2.26.3

preparation
curl -RO -C - http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-2.26.3.tar.gz
tar xvzf graphviz-2.26.3.tar.gz
build
./configure 'CPPFLAGS=-I/opt/local/devel/include -I/opt/local/include' 'LDFLAGS=-L/opt/local/devel/lib -L/opt/local/lib' --prefix=/opt/local/devel 
make 
installed
/opt/local/devel/bin/acyclic
/opt/local/devel/bin/bcomps
/opt/local/devel/bin/ccomps
/opt/local/devel/bin/circo
/opt/local/devel/bin/diffimg
/opt/local/devel/bin/dijkstra
/opt/local/devel/bin/dot
/opt/local/devel/bin/dot2gxl
/opt/local/devel/bin/dotty
/opt/local/devel/bin/fdp
/opt/local/devel/bin/gc
/opt/local/devel/bin/gml2gv
/opt/local/devel/bin/gv2gxl
/opt/local/devel/bin/gvcolor
/opt/local/devel/bin/gvgen
/opt/local/devel/bin/gvpack
/opt/local/devel/bin/gvpr
/opt/local/devel/bin/gxl2dot
/opt/local/devel/bin/gxl2gv
/opt/local/devel/bin/lefty
/opt/local/devel/bin/lneato
/opt/local/devel/bin/mm2gv
/opt/local/devel/bin/neato
/opt/local/devel/bin/nop
/opt/local/devel/bin/osage
/opt/local/devel/bin/prune
/opt/local/devel/bin/sccmap
/opt/local/devel/bin/sfdp
/opt/local/devel/bin/tred
/opt/local/devel/bin/twopi
/opt/local/devel/bin/unflatten
/opt/local/devel/include/graphviz/arith.h
/opt/local/devel/include/graphviz/cdt.h
/opt/local/devel/include/graphviz/cgraph.h
/opt/local/devel/include/graphviz/color.h
/opt/local/devel/include/graphviz/geom.h
/opt/local/devel/include/graphviz/graph.h
/opt/local/devel/include/graphviz/graphviz_version.h
/opt/local/devel/include/graphviz/gv.cpp
/opt/local/devel/include/graphviz/gv.i
/opt/local/devel/include/graphviz/gvc.h
/opt/local/devel/include/graphviz/gvcext.h
/opt/local/devel/include/graphviz/gvcjob.h
/opt/local/devel/include/graphviz/gvcommon.h
/opt/local/devel/include/graphviz/gvconfig.h
/opt/local/devel/include/graphviz/gvplugin.h
/opt/local/devel/include/graphviz/gvplugin_device.h
/opt/local/devel/include/graphviz/gvplugin_layout.h
/opt/local/devel/include/graphviz/gvplugin_loadimage.h
/opt/local/devel/include/graphviz/gvplugin_render.h
/opt/local/devel/include/graphviz/gvplugin_textlayout.h
/opt/local/devel/include/graphviz/gvpr.h
/opt/local/devel/include/graphviz/pack.h
/opt/local/devel/include/graphviz/pathgeom.h
/opt/local/devel/include/graphviz/pathplan.h
/opt/local/devel/include/graphviz/textpara.h
/opt/local/devel/include/graphviz/types.h
/opt/local/devel/include/graphviz/usershape.h
/opt/local/devel/include/graphviz/xdot.h
/opt/local/devel/lib/graphviz/config6
/opt/local/devel/lib/graphviz/libgvplugin_core.6.dylib
/opt/local/devel/lib/graphviz/libgvplugin_core.dylib
/opt/local/devel/lib/graphviz/libgvplugin_core.la
/opt/local/devel/lib/graphviz/libgvplugin_dot_layout.6.dylib
	:

libs/gd-2.0.35-devel

preparation
wget -N http://www.libgd.org/releases/gd-2.0.35.tar.gz
tar xvzf gd-2.0.35.tar.gz
mv gd-2.0.35 gd-2.0.35-devel
build
./configure 'CPPFLAGS=-I/opt/local/devel/include -I/opt/local/include' 'LDFLAGS=-L/opt/local/devel/lib -L/opt/local/lib' --prefix=/opt/local/devel 
make 
installed
/opt/local/devel/bin/annotate
/opt/local/devel/bin/bdftogd
/opt/local/devel/bin/gd2copypal
/opt/local/devel/bin/gd2togif
/opt/local/devel/bin/gd2topng
/opt/local/devel/bin/gdcmpgif
/opt/local/devel/bin/gdlib-config
/opt/local/devel/bin/gdparttopng
/opt/local/devel/bin/gdtopng
/opt/local/devel/bin/giftogd2
/opt/local/devel/bin/pngtogd
/opt/local/devel/bin/pngtogd2
/opt/local/devel/bin/webpng
/opt/local/devel/include/entities.h
/opt/local/devel/include/gd.h
/opt/local/devel/include/gd_io.h
/opt/local/devel/include/gdcache.h
/opt/local/devel/include/gdfontg.h
/opt/local/devel/include/gdfontl.h
/opt/local/devel/include/gdfontmb.h
/opt/local/devel/include/gdfonts.h
/opt/local/devel/include/gdfontt.h
/opt/local/devel/include/gdfx.h
/opt/local/devel/lib/libgd.2.0.0.dylib
/opt/local/devel/lib/libgd.2.dylib
/opt/local/devel/lib/libgd.a
/opt/local/devel/lib/libgd.dylib
/opt/local/devel/lib/libgd.la

net/www/tokyopromenade-0.9.18

preparation
curl -RO -C - http://1978th.net/tokyopromenade/tokyopromenade-0.9.18.tar.gz
tar xvzf tokyopromenade-0.9.18.tar.gz
build
./configure CPPFLAGS=-I/opt/local/tokyocabinet/include LDFLAGS=-L/opt/local/tokyocabinet/lib --prefix=/opt/local 
make LIBDIR=/opt/local/lib 
installed
/opt/local/bin/prommgr
/opt/local/libexec/promenade.cgi
/opt/local/libexec/promscrcount.lua
/opt/local/libexec/promscrsample.lua
/opt/local/libexec/promupdiff.sh
/opt/local/libexec/promupping.sh
/opt/local/share/man/man1/prommgr.1
/opt/local/share/tokyopromenade/ChangeLog
/opt/local/share/tokyopromenade/COPYING
/opt/local/share/tokyopromenade/doc/common.css
/opt/local/share/tokyopromenade/doc/index.html
/opt/local/share/tokyopromenade/doc/spex.html
/opt/local/share/tokyopromenade/misc/about.tpw
/opt/local/share/tokyopromenade/misc/banner.svg
/opt/local/share/tokyopromenade/misc/blog.tpw
/opt/local/share/tokyopromenade/misc/dup1.tpw
/opt/local/share/tokyopromenade/misc/dup2.tpw
/opt/local/share/tokyopromenade/misc/dup3.tpw
/opt/local/share/tokyopromenade/misc/dup4.tpw
/opt/local/share/tokyopromenade/misc/front.tpw
/opt/local/share/tokyopromenade/misc/help-en.tpw
/opt/local/share/tokyopromenade/misc/help-ja.tpw
/opt/local/share/tokyopromenade/misc/tc.tpw
/opt/local/share/tokyopromenade/passwd.txt
/opt/local/share/tokyopromenade/promenade.css
/opt/local/share/tokyopromenade/promenade.tmpl
/opt/local/share/tokyopromenade/THANKS

libs/db/tokyocabinet-1.4.39

preparation
curl -RO -C - http://1978th.net/tokyocabinet/tokyocabinet-1.4.39.tar.gz
tar xvzf tokyocabinet-1.4.39.tar.gz
build
#./configure 'CFLAGS=-arch ppc -arch ppc64 -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4' 'LDFLAGS=-arch ppc -arch ppc64 -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4' --prefix=/opt/local/tokyocabinet-1.4.39 
#./configure 'CFLAGS=-arch ppc -arch ppc64 -arch i386 -arch x86_64 -mmacosx-version-min=10.4' 'LDFLAGS=-arch ppc -arch ppc64 -arch i386 -arch x86_64 -mmacosx-version-min=10.4' --prefix=/opt/local/tokyocabinet-1.4.39 
./configure --prefix=/opt/local/tokyocabinet-1.4.39 
make 
installation
make install 
installed
/opt/local/tokyocabinet-1.4.39/bin/tcamgr
/opt/local/tokyocabinet-1.4.39/bin/tcamttest
/opt/local/tokyocabinet-1.4.39/bin/tcatest
/opt/local/tokyocabinet-1.4.39/bin/tcbmgr
/opt/local/tokyocabinet-1.4.39/bin/tcbmttest
/opt/local/tokyocabinet-1.4.39/bin/tcbtest
/opt/local/tokyocabinet-1.4.39/bin/tcfmgr
/opt/local/tokyocabinet-1.4.39/bin/tcfmttest
/opt/local/tokyocabinet-1.4.39/bin/tcftest
/opt/local/tokyocabinet-1.4.39/bin/tchmgr
/opt/local/tokyocabinet-1.4.39/bin/tchmttest
/opt/local/tokyocabinet-1.4.39/bin/tchtest
/opt/local/tokyocabinet-1.4.39/bin/tctmgr
/opt/local/tokyocabinet-1.4.39/bin/tctmttest
/opt/local/tokyocabinet-1.4.39/bin/tcttest
/opt/local/tokyocabinet-1.4.39/bin/tcucodec
/opt/local/tokyocabinet-1.4.39/bin/tcumttest
/opt/local/tokyocabinet-1.4.39/bin/tcutest
/opt/local/tokyocabinet-1.4.39/include/tcadb.h
/opt/local/tokyocabinet-1.4.39/include/tcbdb.h
/opt/local/tokyocabinet-1.4.39/include/tcfdb.h
/opt/local/tokyocabinet-1.4.39/include/tchdb.h
/opt/local/tokyocabinet-1.4.39/include/tctdb.h
/opt/local/tokyocabinet-1.4.39/include/tcutil.h
/opt/local/tokyocabinet-1.4.39/lib/libtokyocabinet.9.2.0.dylib
/opt/local/tokyocabinet-1.4.39/lib/libtokyocabinet.9.dylib
/opt/local/tokyocabinet-1.4.39/lib/libtokyocabinet.a
/opt/local/tokyocabinet-1.4.39/lib/libtokyocabinet.dylib
/opt/local/tokyocabinet-1.4.39/lib/pkgconfig/tokyocabinet.pc
/opt/local/tokyocabinet-1.4.39/libexec/tcawmgr.cgi
/opt/local/tokyocabinet-1.4.39/share/man/man1/tcamgr.1
/opt/local/tokyocabinet-1.4.39/share/man/man1/tcamttest.1
/opt/local/tokyocabinet-1.4.39/share/man/man1/tcatest.1
/opt/local/tokyocabinet-1.4.39/share/man/man1/tcbmgr.1
/opt/local/tokyocabinet-1.4.39/share/man/man1/tcbmttest.1
/opt/local/tokyocabinet-1.4.39/share/man/man1/tcbtest.1
/opt/local/tokyocabinet-1.4.39/share/man/man1/tcfmgr.1
/opt/local/tokyocabinet-1.4.39/share/man/man1/tcfmttest.1
/opt/local/tokyocabinet-1.4.39/share/man/man1/tcftest.1
/opt/local/tokyocabinet-1.4.39/share/man/man1/tchmgr.1
/opt/local/tokyocabinet-1.4.39/share/man/man1/tchmttest.1
/opt/local/tokyocabinet-1.4.39/share/man/man1/tchtest.1
/opt/local/tokyocabinet-1.4.39/share/man/man1/tctmgr.1
/opt/local/tokyocabinet-1.4.39/share/man/man1/tctmttest.1
/opt/local/tokyocabinet-1.4.39/share/man/man1/tcttest.1
/opt/local/tokyocabinet-1.4.39/share/man/man1/tcucodec.1
/opt/local/tokyocabinet-1.4.39/share/man/man1/tcumttest.1
/opt/local/tokyocabinet-1.4.39/share/man/man1/tcutest.1
/opt/local/tokyocabinet-1.4.39/share/man/man3/tcadb.3
/opt/local/tokyocabinet-1.4.39/share/man/man3/tcbdb.3
/opt/local/tokyocabinet-1.4.39/share/man/man3/tcfdb.3
/opt/local/tokyocabinet-1.4.39/share/man/man3/tchdb.3
/opt/local/tokyocabinet-1.4.39/share/man/man3/tclist.3
/opt/local/tokyocabinet-1.4.39/share/man/man3/tcmap.3
/opt/local/tokyocabinet-1.4.39/share/man/man3/tcmdb.3
/opt/local/tokyocabinet-1.4.39/share/man/man3/tcmpool.3
/opt/local/tokyocabinet-1.4.39/share/man/man3/tctdb.3
/opt/local/tokyocabinet-1.4.39/share/man/man3/tctree.3
/opt/local/tokyocabinet-1.4.39/share/man/man3/tcutil.3
/opt/local/tokyocabinet-1.4.39/share/man/man3/tcxstr.3
/opt/local/tokyocabinet-1.4.39/share/man/man3/tokyocabinet.3
/opt/local/tokyocabinet-1.4.39/share/tokyocabinet/ChangeLog
/opt/local/tokyocabinet-1.4.39/share/tokyocabinet/COPYING
/opt/local/tokyocabinet-1.4.39/share/tokyocabinet/doc/benchmark.pdf
	:

libs/mp/gmp-4.3.1

preparation
curl -RO -C - ftp://ftp.gmplib.org/pub/gmp-4.3.1/gmp-4.3.1.tar.bz2
tar xvjf gmp-4.3.1.tar.bz2
build
./configure --prefix=/opt/local --enable-cxx --enable-mpbsd 
make 
installed
/opt/local/include/gmp.h
/opt/local/include/gmpxx.h
/opt/local/include/mp.h
/opt/local/info/gmp.info
/opt/local/info/gmp.info-1
/opt/local/info/gmp.info-2
/opt/local/lib/libgmp.3.5.0.dylib
/opt/local/lib/libgmp.3.dylib
/opt/local/lib/libgmp.a
/opt/local/lib/libgmp.dylib
/opt/local/lib/libgmp.la
/opt/local/lib/libgmpxx.4.1.0.dylib
/opt/local/lib/libgmpxx.4.dylib
/opt/local/lib/libgmpxx.a
/opt/local/lib/libgmpxx.dylib
/opt/local/lib/libgmpxx.la
/opt/local/lib/libmp.3.1.14.dylib
/opt/local/lib/libmp.3.dylib
/opt/local/lib/libmp.a
/opt/local/lib/libmp.dylib
/opt/local/lib/libmp.la

libs/gl/mesa/Mesa-7.5.2

preparation
curl -RO -C - ftp://ftp.freedesktop.org/pub/mesa/7.5.2/MesaLib-7.5.2.tar.bz2
curl -RO -C - ftp://ftp.freedesktop.org/pub/mesa/7.5.2/MesaGLUT-7.5.2.tar.bz2
curl -RO -C - ftp://ftp.freedesktop.org/pub/mesa/7.5.2/MesaDemos-7.5.2.tar.bz2
tar xvjf MesaLib-7.5.2.tar.bz2
tar xvjf MesaGLUT-7.5.2.tar.bz2
tar xvjf MesaDemos-7.5.2.tar.bz2
(cd Mesa-7.5.2 &&
patch -p0 -b -z.org < ../Mesa-7.5.2-sakuya.patch
)
build
./configure --prefix=/opt/local/mesa --disable-egl --disable-gallium --disable-gallium-intel --without-demos 
make 
patch
--- ./src/glu/sgi/glu.exports.darwin~	2009-06-18 03:41:53.000000000 +0900
+++ ./src/glu/sgi/glu.exports.darwin	2009-10-23 14:20:57.000000000 +0900
@@ -1,59 +1,59 @@
-_*gluBeginCurve
-_*gluBeginPolygon
-_*gluBeginSurface
-_*gluBeginTrim
-_*gluBuild1DMipmapLevels
-_*gluBuild1DMipmaps
-_*gluBuild2DMipmapLevels
-_*gluBuild2DMipmaps
-_*gluBuild3DMipmapLevels
-_*gluBuild3DMipmaps
-_*gluCheckExtension
-_*gluCylinder
-_*gluDeleteNurbsRenderer
-_*gluDeleteQuadric
-_*gluDeleteTess
-_*gluDisk
-_*gluEndCurve
-_*gluEndPolygon
-_*gluEndSurface
-_*gluEndTrim
-_*gluErrorString
-_*gluGetNurbsProperty
-_*gluGetString
-_*gluGetTessProperty
-_*gluLoadSamplingMatrices
-_*gluLookAt
-_*gluNewNurbsRenderer
-_*gluNewQuadric
-_*gluNewTess
-_*gluNextContour
-_*gluNurbsCallback
-_*gluNurbsCallbackData
-_*gluNurbsCallbackDataEXT
-_*gluNurbsCurve
-_*gluNurbsProperty
-_*gluNurbsSurface
-_*gluOrtho2D
-_*gluPartialDisk
-_*gluPerspective
-_*gluPickMatrix
-_*gluProject
-_*gluPwlCurve
-_*gluQuadricCallback
-_*gluQuadricDrawStyle
-_*gluQuadricNormals
-_*gluQuadricOrientation
-_*gluQuadricTexture
-_*gluScaleImage
-_*gluSphere
-_*gluTessBeginContour
-_*gluTessBeginPolygon
-_*gluTessCallback
-_*gluTessEndContour
-_*gluTessEndPolygon
-_*gluTessNormal
-_*gluTessProperty
-_*gluTessVertex
-_*gluUnProject
-_*gluUnProject4
+_gluBeginCurve
+_gluBeginPolygon
+_gluBeginSurface
+_gluBeginTrim
+_gluBuild1DMipmapLevels
+_gluBuild1DMipmaps
+_gluBuild2DMipmapLevels
+_gluBuild2DMipmaps
+_gluBuild3DMipmapLevels
+_gluBuild3DMipmaps
+_gluCheckExtension
+_gluCylinder
+_gluDeleteNurbsRenderer
+_gluDeleteQuadric
+_gluDeleteTess
+_gluDisk
+_gluEndCurve
+_gluEndPolygon
+_gluEndSurface
+_gluEndTrim
+_gluErrorString
+_gluGetNurbsProperty
+_gluGetString
+_gluGetTessProperty
+_gluLoadSamplingMatrices
+_gluLookAt
+_gluNewNurbsRenderer
+_gluNewQuadric
+_gluNewTess
+_gluNextContour
+_gluNurbsCallback
+_gluNurbsCallbackData
+_gluNurbsCallbackDataEXT
+_gluNurbsCurve
+_gluNurbsProperty
+_gluNurbsSurface
+_gluOrtho2D
+_gluPartialDisk
+_gluPerspective
+_gluPickMatrix
+_gluProject
+_gluPwlCurve
+_gluQuadricCallback
+_gluQuadricDrawStyle
+_gluQuadricNormals
+_gluQuadricOrientation
+_gluQuadricTexture
+_gluScaleImage
+_gluSphere
+_gluTessBeginContour
+_gluTessBeginPolygon
+_gluTessCallback
+_gluTessEndContour
+_gluTessEndPolygon
+_gluTessNormal
+_gluTessProperty
+_gluTessVertex
+_gluUnProject
+_gluUnProject4
installed
/opt/local/mesa/include/GL/dmesa.h
/opt/local/mesa/include/GL/ggimesa.h
/opt/local/mesa/include/GL/gl.h
/opt/local/mesa/include/GL/gl_mangle.h
/opt/local/mesa/include/GL/glew.h
/opt/local/mesa/include/GL/glext.h
/opt/local/mesa/include/GL/glfbdev.h
/opt/local/mesa/include/GL/glu.h
/opt/local/mesa/include/GL/glu_mangle.h
/opt/local/mesa/include/GL/glut.h
/opt/local/mesa/include/GL/glutf90.h
/opt/local/mesa/include/GL/GLwDrawA.h
/opt/local/mesa/include/GL/GLwDrawAP.h
/opt/local/mesa/include/GL/GLwMDrawA.h
/opt/local/mesa/include/GL/GLwMDrawAP.h
/opt/local/mesa/include/GL/glx.h
/opt/local/mesa/include/GL/glx_mangle.h
/opt/local/mesa/include/GL/glxew.h
/opt/local/mesa/include/GL/glxext.h
/opt/local/mesa/include/GL/mesa_wgl.h
/opt/local/mesa/include/GL/mglmesa.h
/opt/local/mesa/include/GL/osmesa.h
/opt/local/mesa/include/GL/svgamesa.h
/opt/local/mesa/include/GL/vms_x_fix.h
/opt/local/mesa/include/GL/wglew.h
/opt/local/mesa/include/GL/wglext.h
/opt/local/mesa/include/GL/wmesa.h
/opt/local/mesa/lib/libGL.1.5.dylib
/opt/local/mesa/lib/libGL.1.dylib
/opt/local/mesa/lib/libGL.dylib
/opt/local/mesa/lib/libGLU.1.3.dylib
/opt/local/mesa/lib/libGLU.1.dylib
/opt/local/mesa/lib/libGLU.dylib
/opt/local/mesa/lib/libglut.3.7.dylib
/opt/local/mesa/lib/libglut.3.dylib
/opt/local/mesa/lib/libglut.dylib
/opt/local/mesa/lib/libGLw.1.0.dylib
/opt/local/mesa/lib/libGLw.1.dylib
/opt/local/mesa/lib/libGLw.dylib
/opt/local/mesa/lib/libOSMesa.7.5.dylib
/opt/local/mesa/lib/libOSMesa.7.dylib
/opt/local/mesa/lib/libOSMesa.dylib
/opt/local/mesa/lib/pkgconfig/gl.pc
/opt/local/mesa/lib/pkgconfig/glu.pc
/opt/local/mesa/lib/pkgconfig/glut.pc
/opt/local/mesa/lib/pkgconfig/glw.pc
/opt/local/mesa/lib/pkgconfig/osmesa.pc

libs/gl/glut/openglut-0.6.0

preparation
curl -ROL -C - http://downloads.sourceforge.net/project/openglut/development/OpenGLUT-0-6/openglut-0.6.0.tar.bz2
tar xvjf openglut-0.6.0.tar.bz2
(cd openglut-0.6.0 &&
patch -p0 -b -z.org < ../openglut-0.6.0-sakuya.patch
)
build
./configure --prefix=/opt/local --with-x --disable-warnings 
make 
patch
--- ./progs/redbook/Makefile.am~	2004-05-02 11:05:24.000000000 +0900
+++ ./progs/redbook/Makefile.am	2009-10-22 17:30:19.000000000 +0900
@@ -12,11 +12,11 @@
 	aaindex bezcurve double light pickdepth sccolorlight surface \
 	texsub aapoly bezmesh drawf lines picksquare scenebamb teaambient texturesurf \
 	aargb checker feedback list plane scene teapots torus \
-	accanti clip fog material planet sceneflat tess trim \
-	accpersp colormat fogindex mipmap polyoff select tesswind unproject \
+	clip fog material planet sceneflat tess trim \
+	colormat fogindex mipmap polyoff select tesswind unproject \
 	alpha3D cube font model polys smooth texbind varray \
 	alpha depthcue hello movelight quadric stencil texgen wrap \
-	anti dof image nurbs robot stroke texprox 
+	anti image nurbs robot stroke texprox 
 
 # Must NOT override LDFLAGS, since it is a user variable,
 # and some systems need to modify it.  Presently, the ugly
--- ./progs/redbook/Makefile.in~	2004-05-11 12:52:33.000000000 +0900
+++ ./progs/redbook/Makefile.in	2009-10-22 17:30:41.000000000 +0900
@@ -44,17 +44,17 @@
 	picksquare$(EXEEXT) scenebamb$(EXEEXT) teaambient$(EXEEXT) \
 	texturesurf$(EXEEXT) aargb$(EXEEXT) checker$(EXEEXT) \
 	feedback$(EXEEXT) list$(EXEEXT) plane$(EXEEXT) scene$(EXEEXT) \
-	teapots$(EXEEXT) torus$(EXEEXT) accanti$(EXEEXT) clip$(EXEEXT) \
+	teapots$(EXEEXT) torus$(EXEEXT) clip$(EXEEXT) \
 	fog$(EXEEXT) material$(EXEEXT) planet$(EXEEXT) \
 	sceneflat$(EXEEXT) tess$(EXEEXT) trim$(EXEEXT) \
-	accpersp$(EXEEXT) colormat$(EXEEXT) fogindex$(EXEEXT) \
+	colormat$(EXEEXT) fogindex$(EXEEXT) \
 	mipmap$(EXEEXT) polyoff$(EXEEXT) select$(EXEEXT) \
 	tesswind$(EXEEXT) unproject$(EXEEXT) alpha3D$(EXEEXT) \
 	cube$(EXEEXT) font$(EXEEXT) model$(EXEEXT) polys$(EXEEXT) \
 	smooth$(EXEEXT) texbind$(EXEEXT) varray$(EXEEXT) \
 	alpha$(EXEEXT) depthcue$(EXEEXT) hello$(EXEEXT) \
 	movelight$(EXEEXT) quadric$(EXEEXT) stencil$(EXEEXT) \
-	texgen$(EXEEXT) wrap$(EXEEXT) anti$(EXEEXT) dof$(EXEEXT) \
+	texgen$(EXEEXT) wrap$(EXEEXT) anti$(EXEEXT) \
 	image$(EXEEXT) nurbs$(EXEEXT) robot$(EXEEXT) stroke$(EXEEXT) \
 	texprox$(EXEEXT)
 subdir = progs/redbook
installed
/opt/local/include/GL/openglut.h
/opt/local/include/GL/openglut_exp.h
/opt/local/include/GL/openglut_ext.h
/opt/local/include/GL/openglut_std.h
/opt/local/lib/libopenglut.0.6.dylib
/opt/local/lib/libopenglut.0.dylib
/opt/local/lib/libopenglut.a
/opt/local/lib/libopenglut.dylib
/opt/local/lib/libopenglut.la
/opt/local/man/cat3/glutAddMenuEntry.0
/opt/local/man/cat3/glutAddSubMenu.0
/opt/local/man/cat3/glutAttachMenu.0
/opt/local/man/cat3/glutBitmapCharacter.0
/opt/local/man/cat3/glutBitmapHeight.0
/opt/local/man/cat3/glutBitmapLength.0
/opt/local/man/cat3/glutBitmapString.0
/opt/local/man/cat3/glutBitmapWidth.0
/opt/local/man/cat3/glutButtonBoxFunc.0
/opt/local/man/cat3/glutChangeToMenuEntry.0
/opt/local/man/cat3/glutChangeToSubMenu.0
/opt/local/man/cat3/glutCloseFunc.0
/opt/local/man/cat3/glutCopyColormap.0
/opt/local/man/cat3/glutCreateMenu.0
/opt/local/man/cat3/glutCreateMenuWindow.0
/opt/local/man/cat3/glutCreateSubWindow.0
/opt/local/man/cat3/glutCreateWindow.0
/opt/local/man/cat3/glutDestroyMenu.0
/opt/local/man/cat3/glutDestroyWindow.0
/opt/local/man/cat3/glutDetachMenu.0
/opt/local/man/cat3/glutDeviceGet.0
/opt/local/man/cat3/glutDialsFunc.0
/opt/local/man/cat3/glutDisplayFunc.0
/opt/local/man/cat3/glutEnterGameMode.0
/opt/local/man/cat3/glutEntryFunc.0
/opt/local/man/cat3/glutEstablishOverlay.0
/opt/local/man/cat3/glutExtensionSupported.0
/opt/local/man/cat3/glutForceJoystickFunc.0
/opt/local/man/cat3/glutFullScreen.0
/opt/local/man/cat3/glutGameModeGet.0
/opt/local/man/cat3/glutGameModeString.0
/opt/local/man/cat3/glutGet.0
/opt/local/man/cat3/glutGetColor.0
/opt/local/man/cat3/glutGetMenu.0
/opt/local/man/cat3/glutGetMenuData.0
/opt/local/man/cat3/glutGetModifiers.0
/opt/local/man/cat3/glutGetProcAddress.0
/opt/local/man/cat3/glutGetWindow.0
/opt/local/man/cat3/glutGetWindowData.0
/opt/local/man/cat3/glutHideOverlay.0
/opt/local/man/cat3/glutHideWindow.0
/opt/local/man/cat3/glutIconifyWindow.0
/opt/local/man/cat3/glutIdleFunc.0
/opt/local/man/cat3/glutIgnoreKeyRepeat.0
/opt/local/man/cat3/glutInit.0
/opt/local/man/cat3/glutInitDisplayMode.0
/opt/local/man/cat3/glutInitDisplayString.0
/opt/local/man/cat3/glutInitWindowPosition.0
/opt/local/man/cat3/glutInitWindowSize.0
/opt/local/man/cat3/glutJoystickFunc.0
/opt/local/man/cat3/glutKeyboardFunc.0
/opt/local/man/cat3/glutKeyboardUpFunc.0
/opt/local/man/cat3/glutLayerGet.0
/opt/local/man/cat3/glutLeaveGameMode.0
/opt/local/man/cat3/glutLeaveMainLoop.0
	:

devel/misc/gawk-3.1.7

preparation
curl -RO -C - http://ftp.gnu.org/gnu/gawk/gawk-3.1.7.tar.xz
unxz -c gawk-3.1.7.tar.xz | tar xvf -
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/awk
/opt/local/bin/gawk
/opt/local/bin/gawk-3.1.7
/opt/local/bin/igawk
/opt/local/bin/pgawk
/opt/local/bin/pgawk-3.1.7
/opt/local/libexec/awk/grcat
/opt/local/libexec/awk/pwcat
/opt/local/share/awk/assert.awk
/opt/local/share/awk/bits2str.awk
/opt/local/share/awk/cliff_rand.awk
/opt/local/share/awk/ctime.awk
/opt/local/share/awk/ftrans.awk
/opt/local/share/awk/getopt.awk
/opt/local/share/awk/gettime.awk
/opt/local/share/awk/group.awk
/opt/local/share/awk/join.awk
/opt/local/share/awk/libintl.awk
/opt/local/share/awk/nextfile.awk
/opt/local/share/awk/noassign.awk
/opt/local/share/awk/ord.awk
/opt/local/share/awk/passwd.awk
/opt/local/share/awk/readable.awk
/opt/local/share/awk/rewind.awk
/opt/local/share/awk/round.awk
/opt/local/share/awk/strtonum.awk
/opt/local/share/awk/zerofile.awk
/opt/local/share/info/gawk.info
/opt/local/share/info/gawkinet.info
/opt/local/share/locale/ca/LC_MESSAGES/gawk.mo
/opt/local/share/locale/da/LC_MESSAGES/gawk.mo
/opt/local/share/locale/de/LC_MESSAGES/gawk.mo
/opt/local/share/locale/es/LC_MESSAGES/gawk.mo
/opt/local/share/locale/fr/LC_MESSAGES/gawk.mo
/opt/local/share/locale/ga/LC_MESSAGES/gawk.mo
/opt/local/share/locale/he/LC_MESSAGES/gawk.mo
/opt/local/share/locale/id/LC_MESSAGES/gawk.mo
/opt/local/share/locale/it/LC_MESSAGES/gawk.mo
/opt/local/share/locale/ja/LC_MESSAGES/gawk.mo
/opt/local/share/locale/nl/LC_MESSAGES/gawk.mo
/opt/local/share/locale/pl/LC_MESSAGES/gawk.mo
/opt/local/share/locale/pt_BR/LC_MESSAGES/gawk.mo
/opt/local/share/locale/ro/LC_MESSAGES/gawk.mo
/opt/local/share/locale/rw/LC_MESSAGES/gawk.mo
/opt/local/share/locale/sv/LC_MESSAGES/gawk.mo
/opt/local/share/locale/tr/LC_MESSAGES/gawk.mo
/opt/local/share/locale/vi/LC_MESSAGES/gawk.mo
/opt/local/share/locale/zh_CN/LC_MESSAGES/gawk.mo
/opt/local/share/man/man1/gawk.1
/opt/local/share/man/man1/igawk.1
/opt/local/share/man/man1/pgawk.1

av/stream/flvstreamer-1.8k

preparation
curl -RO -C - http://download.savannah.gnu.org/releases-noredirect/flvstreamer/source/flvstreamer-1.8k.tar.gz
tar xvzf flvstreamer-1.8k.tar.gz
mv flvstreamer flvstreamer-1.8k
(cd flvstreamer-1.8k &&
patch -p0 -b -z.org < ../flvstreamer-1.8k-sakuya.patch
)
build
make -f MakefileOSX clean 'CFLAGS=-Wall -D_FILE_OFFSET_BITS=64' 'CXXFLAGS=-Wall -D_FILE_OFFSET_BITS=64' 'LDFLAGS=-Wall -D_FILE_OFFSET_BITS=64' flvstreamer streams 
patch
--- ./streams.cpp~	2009-08-21 22:01:11.000000000 +0900
+++ ./streams.cpp	2009-09-28 20:28:10.000000000 +0900
@@ -32,6 +32,12 @@
 //#include <winsock.h>
 //#endif
 
+#if defined(__APPLE__)
+#ifndef MSG_NOSIGNAL
+#define MSG_NOSIGNAL 0
+#endif
+#endif
+
 #include "rtmp.h"
 #include "log.h"
 #include "AMFObject.h"
installation
cp flvstreamer /opt/local/bin/ 
installed
/opt/local/bin/flvstreamer

misc/qemu/qemu-0.11.0-rc2

preparation
curl -ROL -C - http://download.savannah.gnu.org/releases/qemu/qemu-0.11.0-rc2.tar.gz
tar xvzf qemu-0.11.0-rc2.tar.gz
(cd qemu-0.11.0-rc2 &&
patch -p0 -b -z.org < ../qemu-0.11.0-rc2-sakuya.patch
)
build
./configure --prefix=/opt/local --interp-prefix=/opt/local/gnemul/qemu-%M --cc=gcc --extra-cflags='-I/opt/local/include' --extra-ldflags='-L/opt/local/lib' --enable-cocoa --enable-system --disable-linux-user --disable-darwin-user --disable-bsd-user --disable-vnc-tls --disable-vnc-sasl &&
make V=:
patch
--- ./cocoa.m.org	2009-09-02 03:44:16.000000000 +0900
+++ ./cocoa.m	2009-09-15 21:39:27.000000000 +0900
@@ -438,7 +438,7 @@
         [self grabMouse];
         [self setContentDimensions];
 // test if host support "enterFullScreenMode:withOptions" at compiletime
-#if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4)
+#if (MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_4)
         if ([NSView respondsToSelector:@selector(enterFullScreenMode:withOptions:)]) { // test if "enterFullScreenMode:withOptions" is supported on host at runtime
             [self enterFullScreenMode:[NSScreen mainScreen] withOptions:[NSDictionary dictionaryWithObjectsAndKeys:
                 [NSNumber numberWithBool:NO], NSFullScreenModeAllScreens,
@@ -454,7 +454,7 @@
             [fullScreenWindow setHasShadow:NO];
             [fullScreenWindow setContentView:self];
             [fullScreenWindow makeKeyAndOrderFront:self];
-#if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4)
+#if (MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_4)
         }
 #endif
     }
installed
/opt/local/bin/qemu
/opt/local/bin/qemu-system-arm
/opt/local/bin/qemu-system-cris
/opt/local/bin/qemu-system-m68k
/opt/local/bin/qemu-system-microblaze
/opt/local/bin/qemu-system-mips
/opt/local/bin/qemu-system-mips64
/opt/local/bin/qemu-system-mips64el
/opt/local/bin/qemu-system-mipsel
/opt/local/bin/qemu-system-ppc
/opt/local/bin/qemu-system-ppc64
/opt/local/bin/qemu-system-ppcemb
/opt/local/bin/qemu-system-sh4
/opt/local/bin/qemu-system-sh4eb
/opt/local/bin/qemu-system-sparc
/opt/local/bin/qemu-system-sparc64
/opt/local/bin/qemu-system-x86_64
data_installed
/opt/local/bin/qemu-img
/opt/local/share/qemu/bamboo.dtb
/opt/local/share/qemu/bios.bin
/opt/local/share/qemu/keymaps/ar
/opt/local/share/qemu/keymaps/common
/opt/local/share/qemu/keymaps/da
/opt/local/share/qemu/keymaps/de
/opt/local/share/qemu/keymaps/de-ch
/opt/local/share/qemu/keymaps/en-gb
/opt/local/share/qemu/keymaps/en-us
/opt/local/share/qemu/keymaps/es
/opt/local/share/qemu/keymaps/et
/opt/local/share/qemu/keymaps/fi
/opt/local/share/qemu/keymaps/fo
/opt/local/share/qemu/keymaps/fr
/opt/local/share/qemu/keymaps/fr-be
/opt/local/share/qemu/keymaps/fr-ca
/opt/local/share/qemu/keymaps/fr-ch
/opt/local/share/qemu/keymaps/hr
/opt/local/share/qemu/keymaps/hu
/opt/local/share/qemu/keymaps/is
/opt/local/share/qemu/keymaps/it
/opt/local/share/qemu/keymaps/ja
/opt/local/share/qemu/keymaps/lt
/opt/local/share/qemu/keymaps/lv
/opt/local/share/qemu/keymaps/mk
/opt/local/share/qemu/keymaps/modifiers
/opt/local/share/qemu/keymaps/nl
/opt/local/share/qemu/keymaps/nl-be
/opt/local/share/qemu/keymaps/no
/opt/local/share/qemu/keymaps/pl
/opt/local/share/qemu/keymaps/pt
/opt/local/share/qemu/keymaps/pt-br
/opt/local/share/qemu/keymaps/ru
/opt/local/share/qemu/keymaps/sl
/opt/local/share/qemu/keymaps/sv
/opt/local/share/qemu/keymaps/th
/opt/local/share/qemu/keymaps/tr
/opt/local/share/qemu/multiboot.bin
/opt/local/share/qemu/openbios-ppc
/opt/local/share/qemu/openbios-sparc32
/opt/local/share/qemu/openbios-sparc64
/opt/local/share/qemu/petalogix-s3adsp1800.dtb
/opt/local/share/qemu/ppc_rom.bin
/opt/local/share/qemu/pxe-e1000.bin
/opt/local/share/qemu/pxe-ne2k_pci.bin
/opt/local/share/qemu/pxe-pcnet.bin
/opt/local/share/qemu/pxe-rtl8139.bin
/opt/local/share/qemu/vgabios-cirrus.bin
/opt/local/share/qemu/vgabios.bin
/opt/local/share/qemu/video.x

devel/git-1.6.4.2

preparation
verify_digest(){	# $0 method file string
  case "$1" in
  *)
    DIGEST=`echo "$1" | tr a-z A-Z`
    [ "$DIGEST($2)= $3" = "`openssl $1 $2`" ]
    ;;
  esac
}
verify_signature(){	# $0 url|id ... sig
  while [ "$1" != "" ]; do
    case "$1" in
    0x*)
      gpg --keyserver pgp.nic.ad.jp --recv-keys "$1" || return $?
      ;;
    http:*|ftp:*)
      curl "$1" | gpg --import || return $?
      ;;
    *)
      gpg --verify "$1"
      return $?
    esac
    shift
  done
}
error_out(){	# $0 message ...
  echo "$@" 1>&2
  exit 1
}

curl -RO -C - http://kernel.org/pub/software/scm/git/git-1.6.4.2.tar.bz2
curl -RO -C - http://kernel.org/pub/software/scm/git/git-1.6.4.2.tar.bz2.sign

verify_signature 0x517D0F0E git-1.6.4.2.tar.bz2.sign || error_out "$0: stopped at line $LINENO"

tar xvjf git-1.6.4.2.tar.bz2
(cd git-1.6.4.2 &&
patch -p0 -b -z.org < ../git-1.6.4.2-sakuya.patch
)
build
#./configure 'CC=gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4' CPP=cpp CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib --prefix=/opt/local
./configure CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib --prefix=/opt/local
#env SGML_CATALOG_FILES=`pwd`/../docbook-xml-4.2/catalog.xml:`pwd`/../docbook-xsl-1.74.0/catalog.xml make all doc info
#env SGML_CATALOG_FILES=`pwd`/../docbook-xml-4.2/catalog.xml:`pwd`/../docbook-xsl-1.74.0/catalog.xml make prefix=/opt/local ASCIIDOC8=YesPlease all doc info
#env SGML_CATALOG_FILES=`pwd`/../docbook-xml-4.2/catalog.xml:`pwd`/../docbook-xsl-1.74.0/catalog.xml make prefix=/opt/local ASCIIDOC8=YesPlease all doc
env SGML_CATALOG_FILES=`pwd`/../docbook-xml-4.2/catalog.xml:`pwd`/../docbook-xsl-1.74.0/catalog.xml make prefix=/opt/local ASCIIDOC8=YesPlease ASCIIDOC_NO_ROFF=YesPlease V=YesPlease all doc
patch
--- ./Documentation/Makefile~	2009-07-29 17:18:18.000000000 +0900
+++ ./Documentation/Makefile	2009-09-03 15:41:44.000000000 +0900
@@ -231,7 +231,7 @@
 
 %.1 %.5 %.7 : %.xml
 	$(QUIET_XMLTO)$(RM) $@ && \
-	xmlto -m $(MANPAGE_XSL) $(XMLTO_EXTRA) man $<
+	xmlto --skip-validation -m $(MANPAGE_XSL) $(XMLTO_EXTRA) man $<
 
 %.xml : %.txt
 	$(QUIET_ASCIIDOC)$(RM) $@+ $@ && \
installation
#make install install-doc install-html install-info 
#make prefix=/opt/local ASCIIDOC8=YesPlease install install-doc install-html install-info 
#make prefix=/opt/local ASCIIDOC8=YesPlease install install-doc install-html 
make prefix=/opt/local ASCIIDOC8=YesPlease ASCIIDOC_NO_ROFF=YesPlease install install-doc install-html 
installed
/opt/local/System/Library/Perl/5.8.6/darwin-thread-multi-2level/perllocal.pod
/opt/local/bin/git
/opt/local/bin/git-cvsserver
/opt/local/bin/git-receive-pack
/opt/local/bin/git-shell
/opt/local/bin/git-upload-archive
/opt/local/bin/git-upload-pack
/opt/local/bin/gitk
/opt/local/lib/perl5/site_perl/5.8.6/darwin-thread-multi-2level/auto/Git/.packlist
/opt/local/libexec/git-core/git
/opt/local/libexec/git-core/git-add
/opt/local/libexec/git-core/git-add--interactive
/opt/local/libexec/git-core/git-am
/opt/local/libexec/git-core/git-annotate
/opt/local/libexec/git-core/git-apply
/opt/local/libexec/git-core/git-archimport
/opt/local/libexec/git-core/git-archive
/opt/local/libexec/git-core/git-bisect
/opt/local/libexec/git-core/git-bisect--helper
/opt/local/libexec/git-core/git-blame
/opt/local/libexec/git-core/git-branch
/opt/local/libexec/git-core/git-bundle
/opt/local/libexec/git-core/git-cat-file
/opt/local/libexec/git-core/git-check-attr
/opt/local/libexec/git-core/git-check-ref-format
/opt/local/libexec/git-core/git-checkout
/opt/local/libexec/git-core/git-checkout-index
/opt/local/libexec/git-core/git-cherry
/opt/local/libexec/git-core/git-cherry-pick
/opt/local/libexec/git-core/git-citool
/opt/local/libexec/git-core/git-clean
/opt/local/libexec/git-core/git-clone
/opt/local/libexec/git-core/git-commit
/opt/local/libexec/git-core/git-commit-tree
/opt/local/libexec/git-core/git-config
/opt/local/libexec/git-core/git-count-objects
/opt/local/libexec/git-core/git-cvsexportcommit
/opt/local/libexec/git-core/git-cvsimport
/opt/local/libexec/git-core/git-cvsserver
/opt/local/libexec/git-core/git-daemon
/opt/local/libexec/git-core/git-describe
/opt/local/libexec/git-core/git-diff
/opt/local/libexec/git-core/git-diff-files
/opt/local/libexec/git-core/git-diff-index
/opt/local/libexec/git-core/git-diff-tree
/opt/local/libexec/git-core/git-difftool
/opt/local/libexec/git-core/git-difftool--helper
/opt/local/libexec/git-core/git-fast-export
/opt/local/libexec/git-core/git-fast-import
/opt/local/libexec/git-core/git-fetch
/opt/local/libexec/git-core/git-fetch--tool
/opt/local/libexec/git-core/git-fetch-pack
/opt/local/libexec/git-core/git-filter-branch
/opt/local/libexec/git-core/git-fmt-merge-msg
/opt/local/libexec/git-core/git-for-each-ref
/opt/local/libexec/git-core/git-format-patch
/opt/local/libexec/git-core/git-fsck
/opt/local/libexec/git-core/git-fsck-objects
/opt/local/libexec/git-core/git-gc
/opt/local/libexec/git-core/git-get-tar-commit-id
/opt/local/libexec/git-core/git-grep
/opt/local/libexec/git-core/git-gui
/opt/local/libexec/git-core/git-gui--askpass
/opt/local/libexec/git-core/git-hash-object
	:
data_installed
/opt/local/lib/perl5/site_perl/Error.pm
/opt/local/lib/perl5/site_perl/Git.pm
/opt/local/share/git-core/templates/description
/opt/local/share/git-core/templates/hooks/applypatch-msg.sample
/opt/local/share/git-core/templates/hooks/commit-msg.sample
/opt/local/share/git-core/templates/hooks/post-commit.sample
/opt/local/share/git-core/templates/hooks/post-receive.sample
/opt/local/share/git-core/templates/hooks/post-update.sample
/opt/local/share/git-core/templates/hooks/pre-applypatch.sample
/opt/local/share/git-core/templates/hooks/pre-commit.sample
/opt/local/share/git-core/templates/hooks/pre-rebase.sample
/opt/local/share/git-core/templates/hooks/prepare-commit-msg.sample
/opt/local/share/git-core/templates/hooks/update.sample
/opt/local/share/git-core/templates/info/exclude
/opt/local/share/man/man3/Git.3pm
/opt/local/share/man/man3/private-Error.3pm
host_configuration
if false; then
if [ ! -f /System/Library/LaunchDaemons/org.kernel.git-daemon.plist ]; then
  cat <<EOF > /System/Library/LaunchDaemons/org.kernel.git-daemon.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Disabled</key>
	<true/>
	<key>EnvironmentVariables</key>
	<dict>
		<key>PATH</key>
		<string>/opt/local/bin:/usr/bin:/usr/sbin:/bin:/sbin</string>
	</dict>
	<key>Label</key>
	<string>org.kernel.git-daemon</string>
	<key>OnDemand</key>
	<false/>
	<key>Program</key>
	<string>/opt/local/libexec/git-core/git-daemon</string>
	<key>ProgramArguments</key>
	<array>
		<string>/opt/local/libexec/git-core/git-daemon</string>
		<string>--user=nobody</string>
		<string>--group=nobody</string>
		<string>--base-path=/var/git</string>
		<string>--export-all</string>
		<string>--syslog</string>
		<string>--pid-file=/var/run/git-daemon.pid</string>
	</array>
	<key>ServiceIPC</key>
	<false/>
</dict>
</plist>
EOF
fi
#launchctl load -w /System/Library/LaunchDaemons/org.kernel.git-daemon.plist
else
[ ! -d /System/Library/StartupItems/GitDaemon ] && \
mkdir /System/Library/StartupItems/GitDaemon
if [ ! -f /System/Library/StartupItems/GitDaemon/GitDaemon ]; then
  cat <<EOF > /System/Library/StartupItems/GitDaemon/GitDaemon
#!/bin/sh

##
# Git Daemon
##

. /etc/rc.common

StartService ()
{
	PATH="/opt/local/bin:/usr/bin:/usr/sbin:/bin:/sbin"; export PATH
	/opt/local/libexec/git-core/git-daemon --user=nobody --group=nobody --base-path=/var/git --export-all --syslog --pid-file=/var/run/git-daemon.pid &
}

StopService ()
{
	kill -9 \`cat /var/run/git-daemon.pid\`
}

RestartService () { StopService; StartService; }

RunService "\$1"
EOF
  chmod +x /System/Library/StartupItems/GitDaemon/GitDaemon
fi
if [ ! -f /System/Library/StartupItems/GitDaemon/StartupParameters.plist ]; then
  cat <<EOF > /System/Library/StartupItems/GitDaemon/StartupParameters.plist
{
  Description     = "Git Daemon";
  Provides        = ("Git Daemon");
}
EOF
fi
#/System/Library/StartupItems/GitDaemon/GitDaemon start
fi

science/boost/boost_1_39_0

preparation
wget -N http://downloads.sourceforge.net/boost/boost_1_39_0.tar.bz2
tar xvjf boost_1_39_0.tar.bz2
(cd boost_1_39_0 &&
patch -p0 -b -z.org < ../boost_1_39_0-sakuya.patch
)
build
bjam --prefix=/opt/local --toolset=darwin architecture=power --disable-long-double address-model=32 -d2 --debug-configuration
patch
--- ./tools/build/v2/tools/darwin.jam~	2009-04-14 16:59:30.000000000 +0900
+++ ./tools/build/v2/tools/darwin.jam	2009-08-11 19:02:52.000000000 +0900
@@ -382,7 +382,7 @@
 
 actions link.dll bind LIBRARIES
 {
-    "$(CONFIG_COMMAND)" -dynamiclib -Wl,-single_module -install_name "$(<:B)$(<:S)" -L"$(LINKPATH)" -o "$(<)" "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-SA) -l$(FINDLIBS-ST) $(FRAMEWORK_PATH) -framework$(_)$(FRAMEWORK:D=:S=) $(OPTIONS) $(USER_OPTIONS)
+    "$(CONFIG_COMMAND)" -dynamiclib -Wl,-single_module -install_name "/opt/local/lib/$(<:B)$(<:S)" -L"$(LINKPATH)" -o "$(<)" "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-SA) -l$(FINDLIBS-ST) $(FRAMEWORK_PATH) -framework$(_)$(FRAMEWORK:D=:S=) $(OPTIONS) $(USER_OPTIONS)
 }
 
 # We use libtool instead of ar to support universal binary linking
installation
bjam --prefix=/opt/local --toolset=darwin architecture=power --disable-long-double address-model=32 -d2 --debug-configuration install 
installed
/opt/local/include/boost-1_39/boost/accumulators/accumulators.hpp
/opt/local/include/boost-1_39/boost/accumulators/accumulators_fwd.hpp
/opt/local/include/boost-1_39/boost/accumulators/framework/accumulator_base.hpp
/opt/local/include/boost-1_39/boost/accumulators/framework/accumulator_concept.hpp
/opt/local/include/boost-1_39/boost/accumulators/framework/accumulator_set.hpp
/opt/local/include/boost-1_39/boost/accumulators/framework/accumulators/droppable_accumulator.hpp
/opt/local/include/boost-1_39/boost/accumulators/framework/accumulators/external_accumulator.hpp
/opt/local/include/boost-1_39/boost/accumulators/framework/accumulators/reference_accumulator.hpp
/opt/local/include/boost-1_39/boost/accumulators/framework/accumulators/value_accumulator.hpp
/opt/local/include/boost-1_39/boost/accumulators/framework/depends_on.hpp
/opt/local/include/boost-1_39/boost/accumulators/framework/external.hpp
/opt/local/include/boost-1_39/boost/accumulators/framework/extractor.hpp
/opt/local/include/boost-1_39/boost/accumulators/framework/features.hpp
/opt/local/include/boost-1_39/boost/accumulators/framework/parameters/accumulator.hpp
/opt/local/include/boost-1_39/boost/accumulators/framework/parameters/sample.hpp
/opt/local/include/boost-1_39/boost/accumulators/framework/parameters/weight.hpp
/opt/local/include/boost-1_39/boost/accumulators/framework/parameters/weights.hpp
/opt/local/include/boost-1_39/boost/accumulators/numeric/detail/function1.hpp
/opt/local/include/boost-1_39/boost/accumulators/numeric/detail/function2.hpp
/opt/local/include/boost-1_39/boost/accumulators/numeric/detail/function3.hpp
/opt/local/include/boost-1_39/boost/accumulators/numeric/detail/function4.hpp
/opt/local/include/boost-1_39/boost/accumulators/numeric/detail/function_n.hpp
/opt/local/include/boost-1_39/boost/accumulators/numeric/detail/pod_singleton.hpp
/opt/local/include/boost-1_39/boost/accumulators/numeric/functional/complex.hpp
/opt/local/include/boost-1_39/boost/accumulators/numeric/functional/valarray.hpp
/opt/local/include/boost-1_39/boost/accumulators/numeric/functional/vector.hpp
/opt/local/include/boost-1_39/boost/accumulators/numeric/functional.hpp
/opt/local/include/boost-1_39/boost/accumulators/numeric/functional_fwd.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/count.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/covariance.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/density.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/error_of.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/error_of_mean.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/extended_p_square.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/extended_p_square_quantile.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/kurtosis.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/max.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/mean.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/median.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/min.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/moment.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/p_square_cumulative_distribution.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/p_square_quantile.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/parameters/quantile_probability.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/peaks_over_threshold.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/pot_quantile.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/pot_tail_mean.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/rolling_count.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/rolling_mean.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/rolling_sum.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/rolling_window.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/skewness.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/stats.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/sum.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/tail.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/tail_mean.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/tail_quantile.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/tail_variate.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/tail_variate_means.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/times2_iterator.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/variance.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/variates/covariate.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/weighted_covariance.hpp
/opt/local/include/boost-1_39/boost/accumulators/statistics/weighted_density.hpp
	:

net/curl-7.19.5

preparation
verify_digest(){	# $0 method file string
  case "$1" in
  *)
    DIGEST=`echo "$1" | tr a-z A-Z`
    [ "$DIGEST($2)= $3" = "`openssl $1 $2`" ]
    ;;
  esac
}
verify_signature(){	# $0 url|id ... sig
  while [ "$1" != "" ]; do
    case "$1" in
    0x*)
      gpg --recv-keys "$1" || return $?
      ;;
    http:*|ftp:*)
      curl "$1" | gpg --import || return $?
      ;;
    *)
      gpg --verify "$1"
      return $?
    esac
    shift
  done
}
error_out(){	# $0 message ...
  echo "$@" 1>&2
  exit 1
}

curl -RO -C - http://curl.haxx.se/download/curl-7.19.5.tar.bz2
curl -RO -C - http://curl.haxx.se/download/curl-7.19.5.tar.bz2.asc

verify_signature 0x279D5C91 curl-7.19.5.tar.bz2.asc || error_out "$0: stopped at line $LINENO"

tar xvjf curl-7.19.5.tar.bz2
build
./configure --prefix=/opt/local --with-ca-bundle=/usr/share/curl/curl-ca-bundle.crt 
make 
installed
/opt/local/bin/curl
/opt/local/bin/curl-config
/opt/local/include/curl/curl.h
/opt/local/include/curl/curlbuild.h
/opt/local/include/curl/curlrules.h
/opt/local/include/curl/curlver.h
/opt/local/include/curl/easy.h
/opt/local/include/curl/mprintf.h
/opt/local/include/curl/multi.h
/opt/local/include/curl/stdcheaders.h
/opt/local/include/curl/typecheck-gcc.h
/opt/local/include/curl/types.h
/opt/local/lib/libcurl.4.dylib
/opt/local/lib/libcurl.a
/opt/local/lib/libcurl.dylib
/opt/local/lib/libcurl.la
/opt/local/lib/pkgconfig/libcurl.pc
/opt/local/share/man/man1/curl-config.1
/opt/local/share/man/man1/curl.1
/opt/local/share/man/man3/curl_easy_cleanup.3
/opt/local/share/man/man3/curl_easy_duphandle.3
/opt/local/share/man/man3/curl_easy_escape.3
/opt/local/share/man/man3/curl_easy_getinfo.3
/opt/local/share/man/man3/curl_easy_init.3
/opt/local/share/man/man3/curl_easy_pause.3
/opt/local/share/man/man3/curl_easy_perform.3
/opt/local/share/man/man3/curl_easy_recv.3
/opt/local/share/man/man3/curl_easy_reset.3
/opt/local/share/man/man3/curl_easy_send.3
/opt/local/share/man/man3/curl_easy_setopt.3
/opt/local/share/man/man3/curl_easy_strerror.3
/opt/local/share/man/man3/curl_easy_unescape.3
/opt/local/share/man/man3/curl_escape.3
/opt/local/share/man/man3/curl_formadd.3
/opt/local/share/man/man3/curl_formfree.3
/opt/local/share/man/man3/curl_formget.3
/opt/local/share/man/man3/curl_free.3
/opt/local/share/man/man3/curl_getdate.3
/opt/local/share/man/man3/curl_getenv.3
/opt/local/share/man/man3/curl_global_cleanup.3
/opt/local/share/man/man3/curl_global_init.3
/opt/local/share/man/man3/curl_global_init_mem.3
/opt/local/share/man/man3/curl_mprintf.3
/opt/local/share/man/man3/curl_multi_add_handle.3
/opt/local/share/man/man3/curl_multi_assign.3
/opt/local/share/man/man3/curl_multi_cleanup.3
/opt/local/share/man/man3/curl_multi_fdset.3
/opt/local/share/man/man3/curl_multi_info_read.3
/opt/local/share/man/man3/curl_multi_init.3
/opt/local/share/man/man3/curl_multi_perform.3
/opt/local/share/man/man3/curl_multi_remove_handle.3
/opt/local/share/man/man3/curl_multi_setopt.3
/opt/local/share/man/man3/curl_multi_socket.3
/opt/local/share/man/man3/curl_multi_socket_action.3
/opt/local/share/man/man3/curl_multi_strerror.3
/opt/local/share/man/man3/curl_multi_timeout.3
/opt/local/share/man/man3/curl_share_cleanup.3
/opt/local/share/man/man3/curl_share_init.3
/opt/local/share/man/man3/curl_share_setopt.3
/opt/local/share/man/man3/curl_share_strerror.3
/opt/local/share/man/man3/curl_slist_append.3
/opt/local/share/man/man3/curl_slist_free_all.3
/opt/local/share/man/man3/curl_strequal.3
/opt/local/share/man/man3/curl_unescape.3
	:

libs/expat-2.0.1

preparation
curl -ROL -C - http://downloads.sourceforge.net/project/expat/expat/2.0.1/expat-2.0.1.tar.gz
tar xvzf expat-2.0.1.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/xmlwf
/opt/local/include/expat.h
/opt/local/include/expat_external.h
/opt/local/lib/libexpat.1.5.2.dylib
/opt/local/lib/libexpat.1.dylib
/opt/local/lib/libexpat.a
/opt/local/lib/libexpat.dylib
/opt/local/lib/libexpat.la
/opt/local/man/man1/xmlwf.1

fonts/ot/IPAfont00301

preparation
unzip IPAfont00301.zip
installation
mkdir -p /opt/local/X11R6/lib/X11/fonts/opentype && cp *.otf /opt/local/X11R6/lib/X11/fonts/opentype
installed
/opt/local/X11R6/lib/X11/fonts/opentype/ipag.otf
/opt/local/X11R6/lib/X11/fonts/opentype/ipagp.otf
/opt/local/X11R6/lib/X11/fonts/opentype/ipam.otf
/opt/local/X11R6/lib/X11/fonts/opentype/ipamp.otf

fonts/ot/oreilly-otf-2004

preparation
if [ ! -f oreilly-otf-2004.tar.bz2 ]; then
[ ! -d oreilly-otf-2004 ] && mkdir oreilly-otf-2004
(cd oreilly-otf-2004
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MunhwaGothicStd-Bold.otf
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MunhwaGothicStd-Regular.otf
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MunhwaHoonminStd-Regular.otf
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MunhwaMyungjoStd-Bold.otf
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MunhwaMyungjoStd-Regular.otf
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MunhwaScriptFreestyleStd-Bold.otf
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MunhwaScriptFreestyleStd-Light.otf
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MunhwaScriptStd-Bold.otf
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MunhwaScriptStd-Light.otf
)
tar cvjf oreilly-otf-2004.tar.bz2 oreilly-otf-2004
else
tar xvjf oreilly-otf-2004.tar.bz2
fi
installation
mkdir -p /opt/local/X11R6/lib/X11/fonts/opentype && cp *.otf /opt/local/X11R6/lib/X11/fonts/opentype
installed
/opt/local/X11R6/lib/X11/fonts/opentype/MunhwaGothicStd-Bold.otf
/opt/local/X11R6/lib/X11/fonts/opentype/MunhwaGothicStd-Regular.otf
/opt/local/X11R6/lib/X11/fonts/opentype/MunhwaHoonminStd-Regular.otf
/opt/local/X11R6/lib/X11/fonts/opentype/MunhwaMyungjoStd-Bold.otf
/opt/local/X11R6/lib/X11/fonts/opentype/MunhwaMyungjoStd-Regular.otf
/opt/local/X11R6/lib/X11/fonts/opentype/MunhwaScriptFreestyleStd-Bold.otf
/opt/local/X11R6/lib/X11/fonts/opentype/MunhwaScriptFreestyleStd-Light.otf
/opt/local/X11R6/lib/X11/fonts/opentype/MunhwaScriptStd-Bold.otf
/opt/local/X11R6/lib/X11/fonts/opentype/MunhwaScriptStd-Light.otf

fonts/ot/macosx-j-otf-2007

preparation
LN(){
  [ -f "$1" ] && ln -f "$1" "$2"
}
evallines(){
  while read line; do
    eval $line
  done
}
if [ ! -f macosx-j-otf-2007.tar.xz ]; then
[ ! -d macosx-j-otf-2007 ] && mkdir -p macosx-j-otf-2007
(cd macosx-j-otf-2007 &&
cat <<EOF | iconv -f EUC-JP -t UTF-8-MAC | evallines
#LN "/System/Library/Fonts/AquaKanaBold.otf"		AquaKana-Bold.otf
#LN "/System/Library/Fonts/AquaKanaRegular.otf"		AquaKana.otf
#
LN "/System/Library/Fonts/ヒラギノ丸ゴ Pro W4.otf"	HiraMaruPro-W4.otf
LN "/System/Library/Fonts/ヒラギノ明朝 Pro W3.otf"	HiraMinPro-W3.otf
LN "/System/Library/Fonts/ヒラギノ明朝 Pro W6.otf"	HiraMinPro-W6.otf
LN "/System/Library/Fonts/ヒラギノ角ゴ Pro W3.otf"	HiraKakuPro-W3.otf
LN "/System/Library/Fonts/ヒラギノ角ゴ Pro W6.otf"	HiraKakuPro-W6.otf
LN "/System/Library/Fonts/ヒラギノ角ゴ Std W8.otf"	HiraKakuStd-W8.otf
#
LN "/System/Library/Fonts/ヒラギノ明朝 ProN W3.otf"	HiraMinProN-W3.otf
LN "/System/Library/Fonts/ヒラギノ明朝 ProN W6.otf"	HiraMinProN-W6.otf
LN "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"	HiraKakuProN-W3.otf
LN "/System/Library/Fonts/ヒラギノ角ゴ ProN W6.otf"	HiraKakuProN-W6.otf
LN "/Library/Fonts/ヒラギノ丸ゴ Pro W4.otf"	HiraMaruPro-W4.otf
LN "/Library/Fonts/ヒラギノ丸ゴ ProN W4.otf"	HiraMaruProN-W4.otf
LN "/Library/Fonts/ヒラギノ明朝 Pro W3.otf"	HiraMinPro-W3.otf
LN "/Library/Fonts/ヒラギノ明朝 Pro W6.otf"	HiraMinPro-W6.otf
LN "/Library/Fonts/ヒラギノ角ゴ Pro W3.otf"	HiraKakuPro-W3.otf
LN "/Library/Fonts/ヒラギノ角ゴ Pro W6.otf"	HiraKakuPro-W6.otf
LN "/Library/Fonts/ヒラギノ角ゴ Std W8.otf"	HiraKakuStd-W8.otf
LN "/Library/Fonts/ヒラギノ角ゴ StdN W8.otf"	HiraKakuStdN-W8.otf
EOF
)
else
xzcat macosx-j-otf-2007.tar.xz | tar xvf -
fi
build
echo nothing to be done
installation
LN(){
  [ -f "$1" ] && ln -f "$1" "$2"
}
evallines(){
  while read line; do
    eval $line
  done
}
[ -d /opt/local/X11R6/lib/X11/fonts/opentype ] || mkdir -p /opt/local/X11R6/lib/X11/fonts/opentype
ln -f * /opt/local/X11R6/lib/X11/fonts/opentype/
(cd /opt/local/X11R6/lib/X11/fonts/opentype &&
cat <<EOF | iconv -f EUC-JP -t UTF-8-MAC | evallines
#LN "/System/Library/Fonts/AquaKanaBold.otf"		AquaKana-Bold.otf
#LN "/System/Library/Fonts/AquaKanaRegular.otf"		AquaKana.otf
#
LN "/System/Library/Fonts/ヒラギノ丸ゴ Pro W4.otf"	HiraMaruPro-W4.otf
LN "/System/Library/Fonts/ヒラギノ明朝 Pro W3.otf"	HiraMinPro-W3.otf
LN "/System/Library/Fonts/ヒラギノ明朝 Pro W6.otf"	HiraMinPro-W6.otf
LN "/System/Library/Fonts/ヒラギノ角ゴ Pro W3.otf"	HiraKakuPro-W3.otf
LN "/System/Library/Fonts/ヒラギノ角ゴ Pro W6.otf"	HiraKakuPro-W6.otf
LN "/System/Library/Fonts/ヒラギノ角ゴ Std W8.otf"	HiraKakuStd-W8.otf
#
LN "/System/Library/Fonts/ヒラギノ明朝 ProN W3.otf"	HiraMinProN-W3.otf
LN "/System/Library/Fonts/ヒラギノ明朝 ProN W6.otf"	HiraMinProN-W6.otf
LN "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"	HiraKakuProN-W3.otf
LN "/System/Library/Fonts/ヒラギノ角ゴ ProN W6.otf"	HiraKakuProN-W6.otf
LN "/Library/Fonts/ヒラギノ丸ゴ Pro W4.otf"	HiraMaruPro-W4.otf
LN "/Library/Fonts/ヒラギノ丸ゴ ProN W4.otf"	HiraMaruProN-W4.otf
LN "/Library/Fonts/ヒラギノ明朝 Pro W3.otf"	HiraMinPro-W3.otf
LN "/Library/Fonts/ヒラギノ明朝 Pro W6.otf"	HiraMinPro-W6.otf
LN "/Library/Fonts/ヒラギノ角ゴ Pro W3.otf"	HiraKakuPro-W3.otf
LN "/Library/Fonts/ヒラギノ角ゴ Pro W6.otf"	HiraKakuPro-W6.otf
LN "/Library/Fonts/ヒラギノ角ゴ Std W8.otf"	HiraKakuStd-W8.otf
LN "/Library/Fonts/ヒラギノ角ゴ StdN W8.otf"	HiraKakuStdN-W8.otf
EOF
)
installed
data_installed
/opt/local/X11R6/lib/X11/fonts/opentype/HiraKakuPro-W3.otf
/opt/local/X11R6/lib/X11/fonts/opentype/HiraKakuPro-W6.otf
/opt/local/X11R6/lib/X11/fonts/opentype/HiraKakuProN-W3.otf
/opt/local/X11R6/lib/X11/fonts/opentype/HiraKakuProN-W6.otf
/opt/local/X11R6/lib/X11/fonts/opentype/HiraKakuStd-W8.otf
/opt/local/X11R6/lib/X11/fonts/opentype/HiraKakuStdN-W8.otf
/opt/local/X11R6/lib/X11/fonts/opentype/HiraMaruPro-W4.otf
/opt/local/X11R6/lib/X11/fonts/opentype/HiraMaruProN-W4.otf
/opt/local/X11R6/lib/X11/fonts/opentype/HiraMinPro-W3.otf
/opt/local/X11R6/lib/X11/fonts/opentype/HiraMinPro-W6.otf
/opt/local/X11R6/lib/X11/fonts/opentype/HiraMinProN-W3.otf
/opt/local/X11R6/lib/X11/fonts/opentype/HiraMinProN-W6.otf

media/voice/julius-4.1.2

preparation
curl -RO -C - http://iij.dl.sourceforge.jp/julius/37582/julius-4.1.2.tar.gz
tar xvzf julius-4.1.2.tar.gz
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local --enable-words-int --with-sndfile 
make 
installed
/opt/local/bin/accept_check
/opt/local/bin/adinrec
/opt/local/bin/adintool
/opt/local/bin/dfa_determinize
/opt/local/bin/dfa_minimize
/opt/local/bin/generate
/opt/local/bin/generate-ngram
/opt/local/bin/gram2sapixml.pl
/opt/local/bin/jclient.pl
/opt/local/bin/jcontrol
/opt/local/bin/julius
/opt/local/bin/libjulius-config
/opt/local/bin/libsent-config
/opt/local/bin/mkbingram
/opt/local/bin/mkbinhmm
/opt/local/bin/mkbinhmmlist
/opt/local/bin/mkdfa.pl
/opt/local/bin/mkfa
/opt/local/bin/mkgshmm
/opt/local/bin/mkss
/opt/local/bin/nextword
/opt/local/bin/yomi2voca.pl
/opt/local/include/julius/acconfig.h
/opt/local/include/julius/beam.h
/opt/local/include/julius/callback.h
/opt/local/include/julius/config.h
/opt/local/include/julius/define.h
/opt/local/include/julius/extern.h
/opt/local/include/julius/global.h
/opt/local/include/julius/graph.h
/opt/local/include/julius/jconf.h
/opt/local/include/julius/jfunc.h
/opt/local/include/julius/julius.h
/opt/local/include/julius/juliuslib.h
/opt/local/include/julius/misc.h
/opt/local/include/julius/multi-gram.h
/opt/local/include/julius/plugin.h
/opt/local/include/julius/recog.h
/opt/local/include/julius/search.h
/opt/local/include/julius/trellis.h
/opt/local/include/julius/useropt.h
/opt/local/include/julius/wchmm.h
/opt/local/include/sent/adin.h
/opt/local/include/sent/config.h
/opt/local/include/sent/dfa.h
/opt/local/include/sent/hmm.h
/opt/local/include/sent/hmm_calc.h
/opt/local/include/sent/htk_defs.h
/opt/local/include/sent/htk_hmm.h
/opt/local/include/sent/htk_param.h
/opt/local/include/sent/machines.h
/opt/local/include/sent/mfcc.h
/opt/local/include/sent/ngram2.h
/opt/local/include/sent/ptree.h
/opt/local/include/sent/speech.h
/opt/local/include/sent/stddefs.h
/opt/local/include/sent/tcpip.h
/opt/local/include/sent/util.h
/opt/local/include/sent/vocabulary.h
/opt/local/lib/libjulius.a
/opt/local/lib/libsent.a
/opt/local/man/man1/accept_check.1
/opt/local/man/man1/adinrec.1
/opt/local/man/man1/adintool.1
	:

media/voice/wlm-0.0.1

preparation
curl -RO -C - http://road-to-dream.net/lang_model/wlm-0.0.1.tar.gz
tar xvzf wlm-0.0.1.tar.gz
build
for d in	\
wikipedia_plus_web	\
wikipedia_only	\
; do
  case "$d" in
  wikipedia_plus_web)	s=WPW	;;
  wikipedia_only)	s=Wikipedia	;;
  esac
  htkdic="`basename \"$d/\"*\".htkdic\"`"
  bingram_gz="`basename \"$d/\"*\".bingram.gz\"`"
  for c in	\
/opt/local/share/julius/fast.jconf	\
/opt/local/share/julius/light.jconf	\
; do
    n="`basename \"$c\" .jconf`-$s.jconf"
    sed "s|[^/]*\.htkdic|$htkdic|;s|[^/]*\.bingram.*\.gz|$bingram_gz|" "$c" > "$n"
  done
done
installation
for d in	\
wikipedia_plus_web	\
wikipedia_only	\
; do
  case "$d" in
  wikipedia_plus_web)	s=WPW	;;
  wikipedia_only)	s=Wikipedia	;;
  esac
  htkdic="`basename \"$d/\"*\".htkdic\"`"
  bingram_gz="`basename \"$d/\"*\".bingram.gz\"`"
  cp "$d/$htkdic" "$d/$bingram_gz" /opt/local/share/julius/model/lang_m/
  cp *"-$s.jconf" /opt/local/share/julius/
done
installed
/opt/local/share/julius/fast-Wikipedia.jconf
/opt/local/share/julius/fast-WPW.jconf
/opt/local/share/julius/light-Wikipedia.jconf
/opt/local/share/julius/light-WPW.jconf
/opt/local/share/julius/model/lang_m/Wikipedia.60k.2-2.bingram.gz
/opt/local/share/julius/model/lang_m/Wikipedia.60k.htkdic
/opt/local/share/julius/model/lang_m/WPW.60k.2-2.bingram.gz
/opt/local/share/julius/model/lang_m/WPW.60k.htkdic

media/voice/dictation-kit-v3.2

preparation
curl -RO -C - http://osdn.dl.sourceforge.jp/julius/28977/dictation-kit-v3.2.tar.gz
tar xvzf dictation-kit-v3.2.tar.gz
installation
prefix="/opt/local"
datadir="$prefix/share/julius"
for f in doc/*; do
  case "$f" in
  */catman*|*/man*) rm -rf "$f"	;;
  esac
done
[ -d "$datadir" ] || mkdir -p "$datadir"
for f in *; do
  case "$f" in
  bin|src) continue	;;
  esac
  [ -d "$f" ] &&
  cp -r "$f" "$datadir"/ ||
  cp    "$f" "$datadir"/
done
installed
/opt/local/share/julius/00readme.txt
/opt/local/share/julius/doc/00readme-ja.txt
/opt/local/share/julius/doc/00readme.txt
/opt/local/share/julius/doc/gramtools-ja.txt
/opt/local/share/julius/doc/gramtools.txt
/opt/local/share/julius/doc/LICENSE.txt
/opt/local/share/julius/doc/Release-ja.txt
/opt/local/share/julius/doc/Release.txt
/opt/local/share/julius/doc/Sample-julian.jconf
/opt/local/share/julius/doc/Sample-julian.jconf.ja
/opt/local/share/julius/doc/Sample.jconf
/opt/local/share/julius/doc/Sample.jconf.ja
/opt/local/share/julius/doc/scoring.txt
/opt/local/share/julius/fast.jconf
/opt/local/share/julius/HOWTO.txt
/opt/local/share/julius/INSTALL.txt
/opt/local/share/julius/light.jconf
/opt/local/share/julius/model/lang_m/web.60k.8-8.bingramv4.gz
/opt/local/share/julius/model/lang_m/web.60k.htkdic
/opt/local/share/julius/model/phone_m/hmmdefs_monof_mix16_gid.binhmm
/opt/local/share/julius/model/phone_m/hmmdefs_ptm_gid.binhmm
/opt/local/share/julius/model/phone_m/logicalTri
/opt/local/share/julius/TROUBLE.txt

img/tiff-3-20090626

preparation
if [ ! -f tiff-3-20090626.tar.bz2 ]; then
cvs -z3 -d:pserver:cvsanon@cvs.maptools.org:/cvs/maptools/cvsroot login
cvs -z3 -d:pserver:cvsanon@cvs.maptools.org:/cvs/maptools/cvsroot co -r branch-3-9 libtiff
[ ! -d tiff-3-20090626 ] && mkdir tiff-3-20090626
(cd libtiff && tar cf - .) | (cd tiff-3-20090626 && tar xvf -)
tar cvjf tiff-3-20090626.tar.bz2 tiff-3-20090626
else
tar xvjf tiff-3-20090626.tar.bz2
fi
build
./configure --prefix=/opt/local --with-zlib-include-dir=/usr/include --with-zlib-lib-dir=/usr/lib --with-jpeg-include-dir=/opt/local/include --with-jpeg-lib-dir=/opt/local/lib --with-apple-opengl-framework 
make 
installed
/opt/local/bin/bmp2tiff
/opt/local/bin/fax2ps
/opt/local/bin/fax2tiff
/opt/local/bin/gif2tiff
/opt/local/bin/pal2rgb
/opt/local/bin/ppm2tiff
/opt/local/bin/ras2tiff
/opt/local/bin/raw2tiff
/opt/local/bin/rgb2ycbcr
/opt/local/bin/thumbnail
/opt/local/bin/tiff2bw
/opt/local/bin/tiff2pdf
/opt/local/bin/tiff2ps
/opt/local/bin/tiff2rgba
/opt/local/bin/tiffcmp
/opt/local/bin/tiffcp
/opt/local/bin/tiffcrop
/opt/local/bin/tiffdither
/opt/local/bin/tiffdump
/opt/local/bin/tiffgt
/opt/local/bin/tiffinfo
/opt/local/bin/tiffmedian
/opt/local/bin/tiffset
/opt/local/bin/tiffsplit
/opt/local/include/tiff.h
/opt/local/include/tiffconf.h
/opt/local/include/tiffio.h
/opt/local/include/tiffio.hxx
/opt/local/include/tiffvers.h
/opt/local/lib/libtiff.3.dylib
/opt/local/lib/libtiff.a
/opt/local/lib/libtiff.dylib
/opt/local/lib/libtiff.la
/opt/local/lib/libtiffxx.3.dylib
/opt/local/lib/libtiffxx.a
/opt/local/lib/libtiffxx.dylib
/opt/local/lib/libtiffxx.la
/opt/local/share/doc/tiff-3.9.0beta/ChangeLog
/opt/local/share/doc/tiff-3.9.0beta/COPYRIGHT
/opt/local/share/doc/tiff-3.9.0beta/html/addingtags.html
/opt/local/share/doc/tiff-3.9.0beta/html/bugs.html
/opt/local/share/doc/tiff-3.9.0beta/html/build.html
/opt/local/share/doc/tiff-3.9.0beta/html/contrib.html
/opt/local/share/doc/tiff-3.9.0beta/html/document.html
/opt/local/share/doc/tiff-3.9.0beta/html/images/back.gif
/opt/local/share/doc/tiff-3.9.0beta/html/images/bali.jpg
/opt/local/share/doc/tiff-3.9.0beta/html/images/cat.gif
/opt/local/share/doc/tiff-3.9.0beta/html/images/cover.jpg
/opt/local/share/doc/tiff-3.9.0beta/html/images/cramps.gif
/opt/local/share/doc/tiff-3.9.0beta/html/images/dave.gif
/opt/local/share/doc/tiff-3.9.0beta/html/images/info.gif
/opt/local/share/doc/tiff-3.9.0beta/html/images/jello.jpg
/opt/local/share/doc/tiff-3.9.0beta/html/images/jim.gif
/opt/local/share/doc/tiff-3.9.0beta/html/images/note.gif
/opt/local/share/doc/tiff-3.9.0beta/html/images/oxford.gif
/opt/local/share/doc/tiff-3.9.0beta/html/images/quad.jpg
/opt/local/share/doc/tiff-3.9.0beta/html/images/ring.gif
/opt/local/share/doc/tiff-3.9.0beta/html/images/smallliz.jpg
/opt/local/share/doc/tiff-3.9.0beta/html/images/strike.gif
/opt/local/share/doc/tiff-3.9.0beta/html/images/warning.gif
/opt/local/share/doc/tiff-3.9.0beta/html/images.html
/opt/local/share/doc/tiff-3.9.0beta/html/index.html
/opt/local/share/doc/tiff-3.9.0beta/html/internals.html
/opt/local/share/doc/tiff-3.9.0beta/html/intro.html
	:

input/anthy-9026

preparation
wget -N http://iij.dl.sourceforge.jp/anthy/25984/anthy-9026.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/anthy-agent
/opt/local/bin/anthy-dic-tool
/opt/local/bin/anthy-morphological-analyzer
/opt/local/etc/anthy-conf
/opt/local/include/anthy/anthy.h
/opt/local/include/anthy/dicutil.h
/opt/local/include/anthy/input.h
/opt/local/lib/libanthy.0.1.0.dylib
/opt/local/lib/libanthy.0.dylib
/opt/local/lib/libanthy.a
/opt/local/lib/libanthy.dylib
/opt/local/lib/libanthy.la
/opt/local/lib/libanthydic.0.1.0.dylib
/opt/local/lib/libanthydic.0.dylib
/opt/local/lib/libanthydic.a
/opt/local/lib/libanthydic.dylib
/opt/local/lib/libanthydic.la
/opt/local/lib/libanthyinput.0.0.0.dylib
/opt/local/lib/libanthyinput.0.dylib
/opt/local/lib/libanthyinput.a
/opt/local/lib/libanthyinput.dylib
/opt/local/lib/libanthyinput.la
/opt/local/lib/pkgconfig/anthy.pc
/opt/local/share/anthy/anthy.dic
/opt/local/share/anthy/dic-tool-usage.txt
/opt/local/share/anthy/typetab
/opt/local/share/anthy/zipcode.t
/opt/local/share/emacs/site-lisp/anthy/anthy-azik.el
/opt/local/share/emacs/site-lisp/anthy/anthy-azik.elc
/opt/local/share/emacs/site-lisp/anthy/anthy-conf.el
/opt/local/share/emacs/site-lisp/anthy/anthy-conf.elc
/opt/local/share/emacs/site-lisp/anthy/anthy-dic.el
/opt/local/share/emacs/site-lisp/anthy/anthy-dic.elc
/opt/local/share/emacs/site-lisp/anthy/anthy-isearch.el
/opt/local/share/emacs/site-lisp/anthy/anthy-isearch.elc
/opt/local/share/emacs/site-lisp/anthy/anthy-kyuri.el
/opt/local/share/emacs/site-lisp/anthy/anthy-kyuri.elc
/opt/local/share/emacs/site-lisp/anthy/anthy.el
/opt/local/share/emacs/site-lisp/anthy/anthy.elc
/opt/local/share/emacs/site-lisp/anthy/leim-list.el

x11/text/mgdiff-1.0-debian-i18n

preparation
curl -RO -C - http://ftp.de.debian.org/debian/pool/main/m/mgdiff/mgdiff_1.0.orig.tar.gz
curl -RO -C - http://ftp.de.debian.org/debian/pool/main/m/mgdiff/mgdiff_1.0-29.diff.gz
tar xvzf mgdiff_1.0.orig.tar.gz
mv mgdiff-1.0.orig mgdiff-1.0-debian-i18n
(cd mgdiff-1.0-debian-i18n &&
gzcat ../mgdiff_1.0-29.diff.gz | patch -p1
patch -p0 -b -z.org < ../mgdiff-1.0-debian-i18n.patch
)
build
xmkmf -a 
make 
installed
/usr/X11R6/bin/mgdiff
/usr/X11R6/lib/X11/app-defaults
/usr/X11R6/lib/X11/doc/html/mgdiff.1.html
/usr/X11R6/man/man1/mgdiff.1
/etc/X11/app-defaults/Mgdiff

games/rogue5.4.4

preparation
wget -N http://rogue.rogueforge.net/files/rogue5.4/rogue5.4.4-src.tar.gz
build
./configure --prefix=/opt/local/games
make
installed
/opt/local/games/bin/rogue
/opt/local/games/share/doc/rogue-5.4.4/LICENSE.TXT
/opt/local/games/share/doc/rogue-5.4.4/rogue.cat
/opt/local/games/share/doc/rogue-5.4.4/rogue.doc
/opt/local/games/share/doc/rogue-5.4.4/rogue.html
/opt/local/games/share/doc/rogue-5.4.4/rogue.me
/opt/local/games/share/man/rogue.6

lang/ps/experimental/ghostscript-8.64

preparation
curl -ROL -C - http://downloads.sourceforge.net/ghostscript/ghostscript-8.64.tar.bz2
tar xvjf ghostscript-8.64.tar.bz2
build
./configure PKG_CONFIG_PATH=/opt/local/apl/lib/pkgconfig:/opt/local/devel/lib/pkgconfig:/opt/local/lib/pkgconfig --prefix=/opt/local/gs8.64 --disable-compile-inits --with-drivers=ALL 
make 
installation
make install 
[ ! -d   /opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont ] &&
mkdir -p /opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont
(cd      /opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont &&
(
find ../../../../../../gs7.07/share/ghostscript/Resource/CIDFont ! -type d ! -type l &&
find /opt/local/X11R6/lib/X11/fonts/opentype ! -type d ! -name fonts.dir ! -name '*-[0-9]*'
) |
while read f; do
  t="`basename \"$f\" .otf`"
  [ ! -f "$t" ] && ln -sf "$f" "$t"
done
#
#
#
find . -maxdepth 1 -name '*-Acro' |
while read f; do
  f="`basename \"$f\"`"
  t="`basename \"$f\" -Acro`"
  [ ! -f "$t" ] && echo "/$t	/$f	;"
done
)
installed
/opt/local/gs8.64/bin/bdftops
/opt/local/gs8.64/bin/dumphint
/opt/local/gs8.64/bin/dvipdf
/opt/local/gs8.64/bin/eps2eps
/opt/local/gs8.64/bin/fixmswrd.pl
/opt/local/gs8.64/bin/font2c
/opt/local/gs8.64/bin/gs
/opt/local/gs8.64/bin/gsbj
/opt/local/gs8.64/bin/gsdj
/opt/local/gs8.64/bin/gsdj500
/opt/local/gs8.64/bin/gslj
/opt/local/gs8.64/bin/gslp
/opt/local/gs8.64/bin/gsnd
/opt/local/gs8.64/bin/lprsetup.sh
/opt/local/gs8.64/bin/pdf2dsc
/opt/local/gs8.64/bin/pdf2ps
/opt/local/gs8.64/bin/pdfopt
/opt/local/gs8.64/bin/pf2afm
/opt/local/gs8.64/bin/pfbtopfa
/opt/local/gs8.64/bin/printafm
/opt/local/gs8.64/bin/ps2ascii
/opt/local/gs8.64/bin/ps2epsi
/opt/local/gs8.64/bin/ps2pdf
/opt/local/gs8.64/bin/ps2pdf12
/opt/local/gs8.64/bin/ps2pdf13
/opt/local/gs8.64/bin/ps2pdf14
/opt/local/gs8.64/bin/ps2pdfwr
/opt/local/gs8.64/bin/ps2ps
/opt/local/gs8.64/bin/ps2ps2
/opt/local/gs8.64/bin/pv.sh
/opt/local/gs8.64/bin/unix-lpr.sh
/opt/local/gs8.64/bin/wftopfa
/opt/local/gs8.64/share/ghostscript/8.64/doc/API.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/C-style.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/Changes.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/Commprod.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/Deprecated.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/Details.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/Details8.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/Develop.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/Devices.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/DLL.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/Drivers.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/Fonts.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/gs.css
/opt/local/gs8.64/share/ghostscript/8.64/doc/Helpers.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/Hershey.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/History1.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/History2.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/History3.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/History4.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/History5.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/History6.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/History7.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/History8.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/index.html
/opt/local/gs8.64/share/ghostscript/8.64/doc/Install.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/Issues.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/Language.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/Lib.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/Make.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/News.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/Projects.htm
/opt/local/gs8.64/share/ghostscript/8.64/doc/Ps-style.htm
	:
data_installed
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/AdobeHeitiStd-Regular
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/AdobeMingStd-Light
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/AdobeMingStd-Light-Acro
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/AdobeMyungjoStd-Medium
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/AdobeMyungjoStd-Medium-Acro
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/AdobeSongStd-Light
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/AdobeSongStd-Light-Acro
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/HeiseiKakuGo-W5-Acro
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/HeiseiKakuGo-W5-AcroSub
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/HeiseiMin-W3-Acro
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/HeiseiMin-W3-AcroSub
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/HiraKakuPro-W3
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/HiraKakuPro-W6
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/HiraKakuProN-W3
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/HiraKakuProN-W6
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/HiraKakuStd-W8
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/HiraKakuStdN-W8
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/HiraMaruPro-W4
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/HiraMaruProN-W4
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/HiraMinPro-W3
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/HiraMinPro-W6
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/HiraMinProN-W3
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/HiraMinProN-W6
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/HYGoThic-Medium-Acro
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/HYSMyeongJo-Medium-Acro
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/KozGoPro-Medium
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/KozGoPro-Medium-Acro
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/KozGoProVI-Medium
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/KozGoStd-Medium-Sub
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/KozMinPro-Regular-Acro
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/KozMinProVI-Regular
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/KozMinStd-Regular-Sub
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/MHei-Medium-Acro
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/MOEKai-Regular
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/MOESung-Regular
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/MSung-Light-Acro
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/Munhwa-Bold
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/Munhwa-Regular
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/MunhwaGothic-Bold
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/MunhwaGothic-Regular
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/MunhwaGothicStd-Bold
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/MunhwaGothicStd-Regular
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/MunhwaGungSeo-Bold
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/MunhwaGungSeo-Light
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/MunhwaGungSeoHeulim-Bold
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/MunhwaGungSeoHeulim-Light
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/MunhwaHoonMin-Regular
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/MunhwaHoonminStd-Regular
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/MunhwaMyungjoStd-Bold
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/MunhwaMyungjoStd-Regular
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/MunhwaScriptFreestyleStd-Bold
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/MunhwaScriptFreestyleStd-Light
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/MunhwaScriptStd-Bold
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/MunhwaScriptStd-Light
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/STSong-Light-Acro
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/WadaGo-Bold
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/WadaMaruGo-Regular
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/WadaMaruGo-RegularH
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/WadaMin-Bold
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/WadaMin-Regular
/opt/local/gs8.64/share/ghostscript/8.64/Resource/CIDFont/WadaMin-RegularH

lang/ps/experimental/ghostscript-8.63

preparation
curl -RO -C - http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs863/ghostscript-8.63.tar.bz2
tar xvjf ghostscript-8.63.tar.bz2
build
./configure PKG_CONFIG_PATH=/opt/local/apl/lib/pkgconfig:/opt/local/devel/lib/pkgconfig:/opt/local/lib/pkgconfig --prefix=/opt/local/gs8.63 --disable-compile-inits --with-drivers=ALL 
make 
installed
/opt/local/gs8.63/bin/bdftops
/opt/local/gs8.63/bin/dumphint
/opt/local/gs8.63/bin/dvipdf
/opt/local/gs8.63/bin/eps2eps
/opt/local/gs8.63/bin/fixmswrd.pl
/opt/local/gs8.63/bin/font2c
/opt/local/gs8.63/bin/gs
/opt/local/gs8.63/bin/gsbj
/opt/local/gs8.63/bin/gsdj
/opt/local/gs8.63/bin/gsdj500
/opt/local/gs8.63/bin/gslj
/opt/local/gs8.63/bin/gslp
/opt/local/gs8.63/bin/gsnd
/opt/local/gs8.63/bin/lprsetup.sh
/opt/local/gs8.63/bin/pdf2dsc
/opt/local/gs8.63/bin/pdf2ps
/opt/local/gs8.63/bin/pdfopt
/opt/local/gs8.63/bin/pf2afm
/opt/local/gs8.63/bin/pfbtopfa
/opt/local/gs8.63/bin/printafm
/opt/local/gs8.63/bin/ps2ascii
/opt/local/gs8.63/bin/ps2epsi
/opt/local/gs8.63/bin/ps2pdf
/opt/local/gs8.63/bin/ps2pdf12
/opt/local/gs8.63/bin/ps2pdf13
/opt/local/gs8.63/bin/ps2pdf14
/opt/local/gs8.63/bin/ps2pdfwr
/opt/local/gs8.63/bin/ps2ps
/opt/local/gs8.63/bin/ps2ps2
/opt/local/gs8.63/bin/pv.sh
/opt/local/gs8.63/bin/unix-lpr.sh
/opt/local/gs8.63/bin/wftopfa
/opt/local/gs8.63/share/ghostscript/8.63/doc/API.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/C-style.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/Changes.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/Commprod.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/Deprecated.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/Details.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/Details8.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/Develop.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/Devices.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/DLL.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/Drivers.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/Fonts.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/gs.css
/opt/local/gs8.63/share/ghostscript/8.63/doc/Helpers.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/Hershey.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/History1.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/History2.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/History3.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/History4.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/History5.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/History6.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/History7.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/History8.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/Htmstyle.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/Humor.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/index.html
/opt/local/gs8.63/share/ghostscript/8.63/doc/Install.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/Issues.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/Language.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/Lib.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/Make.htm
/opt/local/gs8.63/share/ghostscript/8.63/doc/News.htm
	:
data_installed
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/AdobeHeitiStd-Regular
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/AdobeMingStd-Light
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/AdobeMingStd-Light-Acro
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/AdobeMyungjoStd-Medium
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/AdobeMyungjoStd-Medium-Acro
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/AdobeSongStd-Light
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/AdobeSongStd-Light-Acro
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/HeiseiKakuGo-W5-Acro
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/HeiseiKakuGo-W5-AcroSub
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/HeiseiMin-W3-Acro
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/HeiseiMin-W3-AcroSub
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/HiraKakuPro-W3
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/HiraKakuPro-W6
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/HiraKakuProN-W3
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/HiraKakuProN-W6
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/HiraKakuStd-W8
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/HiraKakuStdN-W8
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/HiraMaruPro-W4
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/HiraMaruProN-W4
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/HiraMinPro-W3
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/HiraMinPro-W6
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/HiraMinProN-W3
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/HiraMinProN-W6
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/HYGoThic-Medium-Acro
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/HYSMyeongJo-Medium-Acro
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/KozGoPro-Medium
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/KozGoPro-Medium-Acro
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/KozGoProVI-Medium
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/KozGoStd-Medium-Sub
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/KozMinPro-Regular-Acro
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/KozMinProVI-Regular
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/KozMinStd-Regular-Sub
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/MHei-Medium-Acro
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/MOEKai-Regular
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/MOESung-Regular
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/MSung-Light-Acro
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/Munhwa-Bold
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/Munhwa-Regular
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/MunhwaGothic-Bold
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/MunhwaGothic-Regular
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/MunhwaGothicStd-Bold
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/MunhwaGothicStd-Regular
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/MunhwaGungSeo-Bold
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/MunhwaGungSeo-Light
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/MunhwaGungSeoHeulim-Bold
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/MunhwaGungSeoHeulim-Light
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/MunhwaHoonMin-Regular
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/MunhwaHoonminStd-Regular
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/MunhwaMyungjoStd-Bold
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/MunhwaMyungjoStd-Regular
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/MunhwaScriptFreestyleStd-Bold
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/MunhwaScriptFreestyleStd-Light
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/MunhwaScriptStd-Bold
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/MunhwaScriptStd-Light
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/STSong-Light-Acro
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/WadaGo-Bold
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/WadaMaruGo-Regular
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/WadaMaruGo-RegularH
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/WadaMin-Bold
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/WadaMin-Regular
/opt/local/gs8.63/share/ghostscript/8.63/Resource/CIDFont/WadaMin-RegularH

util/xar-20080127

preparation
if [ ! -f xar-20080127.tar.bz2 ]; then

if [ ! -d xar-read-only ]; then
svn checkout http://xar.googlecode.com/svn/trunk/ xar-read-only
else
(cd xar-read-only &&
svn update
)
fi

[ ! -d xar-20080127 ] && mkdir xar-20080127
(cd xar-read-only &&
tar cf - . | (cd ../xar-20080127 && tar xf -)
)
tar cvjf xar-20080127.tar.bz2 xar-20080127

else

tar xvjf xar-20080127.tar.bz2

fi

(cd xar-20080127 &&
:#patch -p0 -b -z.org < ../xar-20080127-sakuya.patch
)
build
autoreconf -i 
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/xar
/opt/local/include/xar/xar.h
/opt/local/lib/libxar.0.dylib
/opt/local/lib/libxar.a
/opt/local/lib/libxar.dylib
/opt/local/lib/libxar.la
/opt/local/share/man/man1/xar.1

devel/apl/subversion-1.5.6

preparation
curl -RO -C - http://subversion.tigris.org/downloads/subversion-1.5.6.tar.bz2
tar xvjf subversion-1.5.6.tar.bz2
build
./configure CPPFLAGS=-I/opt/local/apl/include LDFLAGS=-L/opt/local/apl/lib --prefix=/opt/local/apl 
make 
installed
/opt/local/apl/bin/svn
/opt/local/apl/bin/svnadmin
/opt/local/apl/bin/svndumpfilter
/opt/local/apl/bin/svnlook
/opt/local/apl/bin/svnserve
/opt/local/apl/bin/svnsync
/opt/local/apl/bin/svnversion
/opt/local/apl/include/subversion-1/mod_authz_svn.h
/opt/local/apl/include/subversion-1/mod_dav_svn.h
/opt/local/apl/include/subversion-1/svn-revision.txt
/opt/local/apl/include/subversion-1/svn_auth.h
/opt/local/apl/include/subversion-1/svn_base64.h
/opt/local/apl/include/subversion-1/svn_client.h
/opt/local/apl/include/subversion-1/svn_cmdline.h
/opt/local/apl/include/subversion-1/svn_compat.h
/opt/local/apl/include/subversion-1/svn_config.h
/opt/local/apl/include/subversion-1/svn_ctype.h
/opt/local/apl/include/subversion-1/svn_dav.h
/opt/local/apl/include/subversion-1/svn_delta.h
/opt/local/apl/include/subversion-1/svn_diff.h
/opt/local/apl/include/subversion-1/svn_dso.h
/opt/local/apl/include/subversion-1/svn_error.h
/opt/local/apl/include/subversion-1/svn_error_codes.h
/opt/local/apl/include/subversion-1/svn_fs.h
/opt/local/apl/include/subversion-1/svn_hash.h
/opt/local/apl/include/subversion-1/svn_io.h
/opt/local/apl/include/subversion-1/svn_iter.h
/opt/local/apl/include/subversion-1/svn_md5.h
/opt/local/apl/include/subversion-1/svn_mergeinfo.h
/opt/local/apl/include/subversion-1/svn_nls.h
/opt/local/apl/include/subversion-1/svn_opt.h
/opt/local/apl/include/subversion-1/svn_path.h
/opt/local/apl/include/subversion-1/svn_pools.h
/opt/local/apl/include/subversion-1/svn_props.h
/opt/local/apl/include/subversion-1/svn_quoprint.h
/opt/local/apl/include/subversion-1/svn_ra.h
/opt/local/apl/include/subversion-1/svn_ra_svn.h
/opt/local/apl/include/subversion-1/svn_repos.h
/opt/local/apl/include/subversion-1/svn_sorts.h
/opt/local/apl/include/subversion-1/svn_string.h
/opt/local/apl/include/subversion-1/svn_subst.h
/opt/local/apl/include/subversion-1/svn_time.h
/opt/local/apl/include/subversion-1/svn_types.h
/opt/local/apl/include/subversion-1/svn_user.h
/opt/local/apl/include/subversion-1/svn_utf.h
/opt/local/apl/include/subversion-1/svn_version.h
/opt/local/apl/include/subversion-1/svn_wc.h
/opt/local/apl/include/subversion-1/svn_xml.h
/opt/local/apl/lib/libsvn_client-1.0.0.0.dylib
/opt/local/apl/lib/libsvn_client-1.0.dylib
/opt/local/apl/lib/libsvn_client-1.a
/opt/local/apl/lib/libsvn_client-1.dylib
/opt/local/apl/lib/libsvn_client-1.la
/opt/local/apl/lib/libsvn_delta-1.0.0.0.dylib
/opt/local/apl/lib/libsvn_delta-1.0.dylib
/opt/local/apl/lib/libsvn_delta-1.a
/opt/local/apl/lib/libsvn_delta-1.dylib
/opt/local/apl/lib/libsvn_delta-1.la
/opt/local/apl/lib/libsvn_diff-1.0.0.0.dylib
/opt/local/apl/lib/libsvn_diff-1.0.dylib
/opt/local/apl/lib/libsvn_diff-1.a
/opt/local/apl/lib/libsvn_diff-1.dylib
/opt/local/apl/lib/libsvn_diff-1.la
/opt/local/apl/lib/libsvn_fs-1.0.0.0.dylib
	:

devel/apl/serf-0.3.0

preparation
curl -RO -C - http://serf.googlecode.com/files/serf-0.3.0.tar.bz2
tar xvjf serf-0.3.0.tar.bz2
build
./configure CPPFLAGS=-I/opt/local/apl/include LDFLAGS=-L/opt/local/apl/lib --prefix=/opt/local/apl --with-openssl=/usr 
make 
installed
/opt/local/apl/include/serf-0/serf.h
/opt/local/apl/include/serf-0/serf_bucket_types.h
/opt/local/apl/include/serf-0/serf_bucket_util.h
/opt/local/apl/include/serf-0/serf_declare.h
/opt/local/apl/lib/libserf-0.0.0.0.dylib
/opt/local/apl/lib/libserf-0.0.dylib
/opt/local/apl/lib/libserf-0.a
/opt/local/apl/lib/libserf-0.dylib
/opt/local/apl/lib/libserf-0.la

libs/neon-0.28.4

preparation
curl -RO -C - http://www.webdav.org/neon/neon-0.28.4.tar.gz
tar xvzf neon-0.28.4.tar.gz
build
./configure --prefix=/opt/local --with-ssl=openssl --enable-threadsafe-ssl=posix 
make 
installed
/opt/local/bin/neon-config
/opt/local/include/neon/ne_207.h
/opt/local/include/neon/ne_acl.h
/opt/local/include/neon/ne_alloc.h
/opt/local/include/neon/ne_auth.h
/opt/local/include/neon/ne_basic.h
/opt/local/include/neon/ne_compress.h
/opt/local/include/neon/ne_dates.h
/opt/local/include/neon/ne_defs.h
/opt/local/include/neon/ne_i18n.h
/opt/local/include/neon/ne_locks.h
/opt/local/include/neon/ne_md5.h
/opt/local/include/neon/ne_pkcs11.h
/opt/local/include/neon/ne_props.h
/opt/local/include/neon/ne_redirect.h
/opt/local/include/neon/ne_request.h
/opt/local/include/neon/ne_session.h
/opt/local/include/neon/ne_socket.h
/opt/local/include/neon/ne_ssl.h
/opt/local/include/neon/ne_string.h
/opt/local/include/neon/ne_uri.h
/opt/local/include/neon/ne_utils.h
/opt/local/include/neon/ne_xml.h
/opt/local/include/neon/ne_xmlreq.h
/opt/local/lib/libneon.a
/opt/local/lib/libneon.la
/opt/local/lib/pkgconfig/neon.pc
/opt/local/share/doc/neon-0.28.4/html/api.html
/opt/local/share/doc/neon-0.28.4/html/biblio.html
/opt/local/share/doc/neon-0.28.4/html/compliance.html
/opt/local/share/doc/neon-0.28.4/html/features.html
/opt/local/share/doc/neon-0.28.4/html/index.html
/opt/local/share/doc/neon-0.28.4/html/intro.html
/opt/local/share/doc/neon-0.28.4/html/ref.html
/opt/local/share/doc/neon-0.28.4/html/refalloc.html
/opt/local/share/doc/neon-0.28.4/html/refauth.html
/opt/local/share/doc/neon-0.28.4/html/refbuf.html
/opt/local/share/doc/neon-0.28.4/html/refbufapp.html
/opt/local/share/doc/neon-0.28.4/html/refbufcr.html
/opt/local/share/doc/neon-0.28.4/html/refbufdest.html
/opt/local/share/doc/neon-0.28.4/html/refbufutil.html
/opt/local/share/doc/neon-0.28.4/html/refcert.html
/opt/local/share/doc/neon-0.28.4/html/refclicert.html
/opt/local/share/doc/neon-0.28.4/html/refconfig.html
/opt/local/share/doc/neon-0.28.4/html/referr.html
/opt/local/share/doc/neon-0.28.4/html/reffeat.html
/opt/local/share/doc/neon-0.28.4/html/refgetst.html
/opt/local/share/doc/neon-0.28.4/html/refi18n.html
/opt/local/share/doc/neon-0.28.4/html/refiaddr.html
/opt/local/share/doc/neon-0.28.4/html/refneon.html
/opt/local/share/doc/neon-0.28.4/html/refopts.html
/opt/local/share/doc/neon-0.28.4/html/refreq.html
/opt/local/share/doc/neon-0.28.4/html/refreqbody.html
/opt/local/share/doc/neon-0.28.4/html/refreqflags.html
/opt/local/share/doc/neon-0.28.4/html/refreqhdr.html
/opt/local/share/doc/neon-0.28.4/html/refresolve.html
/opt/local/share/doc/neon-0.28.4/html/refresphdr.html
/opt/local/share/doc/neon-0.28.4/html/refsess.html
/opt/local/share/doc/neon-0.28.4/html/refsessflags.html
/opt/local/share/doc/neon-0.28.4/html/refshave.html
/opt/local/share/doc/neon-0.28.4/html/refsockinit.html
/opt/local/share/doc/neon-0.28.4/html/refsslca.html
/opt/local/share/doc/neon-0.28.4/html/refsslcert2.html
/opt/local/share/doc/neon-0.28.4/html/refsslcertio.html
	:

av/mpeg4ip-1.6dfsg

preparation
curl -RO -C - http://archive.ubuntu.com/ubuntu/pool/multiverse/m/mpeg4ip/mpeg4ip_1.6dfsg.orig.tar.gz
tar xvzf mpeg4ip_1.6dfsg.orig.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/avi2raw
/opt/local/bin/avidump
/opt/local/bin/h264_parse
/opt/local/bin/lboxcrop
/opt/local/bin/mp4art
/opt/local/bin/mp4creator
/opt/local/bin/mp4dump
/opt/local/bin/mp4extract
/opt/local/bin/mp4info
/opt/local/bin/mp4player
/opt/local/bin/mp4tags
/opt/local/bin/mp4trackdump
/opt/local/bin/mp4videoinfo
/opt/local/bin/mpeg2t_dump
/opt/local/bin/mpeg2video_parse
/opt/local/bin/mpeg4ip-config
/opt/local/bin/mpeg4vol
/opt/local/bin/mpeg_ps_extract
/opt/local/bin/mpeg_ps_info
/opt/local/bin/rgb2yuv
/opt/local/bin/sdl_pcm_play
/opt/local/bin/yuvdump
/opt/local/include/codec_plugin.h
/opt/local/include/h264_sdp.h
/opt/local/include/mp4.h
/opt/local/include/mp4av.h
/opt/local/include/mp4av_aac.h
/opt/local/include/mp4av_ac3.h
/opt/local/include/mp4av_adts.h
/opt/local/include/mp4av_amr.h
/opt/local/include/mp4av_audio.h
/opt/local/include/mp4av_h264.h
/opt/local/include/mp4av_hinters.h
/opt/local/include/mp4av_mp3.h
/opt/local/include/mp4av_mpeg3.h
/opt/local/include/mp4av_mpeg4.h
/opt/local/include/mpeg4_audio_config.h
/opt/local/include/mpeg4_sdp.h
/opt/local/include/mpeg4ip.h
/opt/local/include/mpeg4ip_bitstream.h
/opt/local/include/mpeg4ip_byteswap.h
/opt/local/include/mpeg4ip_config.h
/opt/local/include/mpeg4ip_config_set.h
/opt/local/include/mpeg4ip_getopt.h
/opt/local/include/mpeg4ip_version.h
/opt/local/include/rtp_plugin.h
/opt/local/include/sdp.h
/opt/local/include/sdp_error.h
/opt/local/include/text_plugin.h
/opt/local/lib/libhttp.0.0.0.dylib
/opt/local/lib/libhttp.0.dylib
/opt/local/lib/libhttp.a
/opt/local/lib/libhttp.dylib
/opt/local/lib/libhttp.la
/opt/local/lib/libismacryp.0.0.0.dylib
/opt/local/lib/libismacryp.0.dylib
/opt/local/lib/libismacryp.a
/opt/local/lib/libismacryp.dylib
/opt/local/lib/libismacryp.la
/opt/local/lib/libmp4.0.0.0.dylib
/opt/local/lib/libmp4.0.dylib
/opt/local/lib/libmp4.a
/opt/local/lib/libmp4.dylib
/opt/local/lib/libmp4.la
	:

db/sqlite-3.6.10

preparation
curl -RO -C - http://www.sqlite.org/sqlite-3.6.10.tar.gz
tar xvzf sqlite-3.6.10.tar.gz
build
./configure --prefix=/opt/local --disable-tcl 
make 
installed
/opt/local/bin/sqlite3
/opt/local/include/sqlite3.h
/opt/local/include/sqlite3ext.h
/opt/local/lib/libsqlite3.0.dylib
/opt/local/lib/libsqlite3.a
/opt/local/lib/libsqlite3.dylib
/opt/local/lib/libsqlite3.la
/opt/local/lib/pkgconfig/sqlite3.pc

net/torrent/ctorrent-dnh3.3.2

preparation
curl -ROL -C - http://downloads.sourceforge.net/dtorrent/ctorrent-dnh3.3.2.tar.gz
tar xvzf ctorrent-dnh3.3.2.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/ctorrent

net/torrent/transmission-1.42

preparation
curl -ROL -C - http://mirrors.m0k.org/transmission/files/transmission-1.42.tar.bz2
tar xvjf transmission-1.42.tar.bz2
(cd transmission-1.42 &&
patch -p0 -b -z.org < ../transmission-1.42-sakuya.patch
)
build
./configure CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib --prefix=/opt/local --disable-gtk --disable-wx --disable-beos --enable-cli --disable-mac --disable-daemon 
make 
patch
--- ./configure~	2008-12-25 02:53:05.000000000 +0900
+++ ./configure	2009-01-21 02:19:42.000000000 +0900
@@ -27062,6 +27062,7 @@
   *darwin*)
     have_darwin="yes"
     # Make sure the Universal SDK is installed
+    if false; then
     if test ! -d /Developer/SDKs/MacOSX10.4u.sdk; then
       cat << EOF
 You need to install the Universal SDK in order to build Transmission:
@@ -27073,6 +27074,7 @@
 EOF
       exit 1
     fi
+    fi
     ;;
 
 esac
--- ./third-party/libnatpmp/natpmp.h~	2008-12-25 02:48:44.000000000 +0900
+++ ./third-party/libnatpmp/natpmp.h	2009-01-21 14:06:49.000000000 +0900
@@ -28,6 +28,7 @@
 #define in_addr_t uint32_t
 #else
 #include <netinet/in.h>
+#include <stdint.h>
 #endif
 #include "declspec.h"
 
installed
/opt/local/bin/transmissioncli
/opt/local/share/man/man1/transmissioncli.1
/opt/local/share/transmission/web/images/buttons/info_activity.png
/opt/local/share/transmission/web/images/buttons/info_general.png
/opt/local/share/transmission/web/images/buttons/tab_backgrounds.png
/opt/local/share/transmission/web/images/buttons/toolbar_buttons.png
/opt/local/share/transmission/web/images/buttons/torrent_buttons.png
/opt/local/share/transmission/web/images/favicon.ico
/opt/local/share/transmission/web/images/favicon.png
/opt/local/share/transmission/web/images/graphics/browser_firefox.gif
/opt/local/share/transmission/web/images/graphics/browser_opera.gif
/opt/local/share/transmission/web/images/graphics/browser_safari.gif
/opt/local/share/transmission/web/images/graphics/chrome.png
/opt/local/share/transmission/web/images/graphics/filter_bar.png
/opt/local/share/transmission/web/images/graphics/filter_icon.png
/opt/local/share/transmission/web/images/graphics/iphone_chrome.png
/opt/local/share/transmission/web/images/graphics/logo.png
/opt/local/share/transmission/web/images/graphics/transfer_arrows.png
/opt/local/share/transmission/web/images/progress/progress.png
/opt/local/share/transmission/web/images/webclip-icon.png
/opt/local/share/transmission/web/index.html
/opt/local/share/transmission/web/javascript/common.js
/opt/local/share/transmission/web/javascript/dialog.js
/opt/local/share/transmission/web/javascript/jquery/jquery.contextmenu.min.js
/opt/local/share/transmission/web/javascript/jquery/jquery.dimensions.min.js
/opt/local/share/transmission/web/javascript/jquery/jquery.form.min.js
/opt/local/share/transmission/web/javascript/jquery/jquery.min.js
/opt/local/share/transmission/web/javascript/jquery/jquery.transmenu.min.js
/opt/local/share/transmission/web/javascript/jquery/json.min.js
/opt/local/share/transmission/web/javascript/menu.js
/opt/local/share/transmission/web/javascript/torrent.js
/opt/local/share/transmission/web/javascript/transmission.js
/opt/local/share/transmission/web/javascript/transmission.remote.js
/opt/local/share/transmission/web/LICENSE
/opt/local/share/transmission/web/stylesheets/common.css
/opt/local/share/transmission/web/stylesheets/iphone.css

net/curl-7.19.2

preparation
verify_digest(){	# $0 method file string
  case "$1" in
  *)
    DIGEST=`echo "$1" | tr a-z A-Z`
    [ "$DIGEST($2)= $3" = "`openssl $1 $2`" ]
    ;;
  esac
}
verify_signature(){	# $0 url|id ... sig
  while [ "$1" != "" ]; do
    case "$1" in
    0x*)
      gpg --recv-keys "$1" || return $?
      ;;
    http:*|ftp:*)
      curl "$1" | gpg --import || return $?
      ;;
    *)
      gpg --verify "$1"
      return $?
    esac
    shift
  done
}
error_out(){	# $0 message ...
  echo "$@" 1>&2
  exit 1
}

wget -N ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.9.tar.bz2
wget -N ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.9.tar.bz2.sig

verify_digest sha1 gnupg-1.4.9.tar.bz2 826f4bef1effce61c3799c8f7d3cc8313b340b55 || error_out "$0: stopped at line $LINENO"

tar xvjf gnupg-1.4.9.tar.bz2
build
./configure --prefix=/opt/local --with-ca-bundle=/usr/share/curl/curl-ca-bundle.crt 
make 
installed
/opt/local/bin/curl
/opt/local/bin/curl-config
/opt/local/include/curl/curl.h
/opt/local/include/curl/curlbuild.h
/opt/local/include/curl/curlrules.h
/opt/local/include/curl/curlver.h
/opt/local/include/curl/easy.h
/opt/local/include/curl/mprintf.h
/opt/local/include/curl/multi.h
/opt/local/include/curl/stdcheaders.h
/opt/local/include/curl/typecheck-gcc.h
/opt/local/include/curl/types.h
/opt/local/lib/libcurl.4.1.1.dylib
/opt/local/lib/libcurl.4.dylib
/opt/local/lib/libcurl.a
/opt/local/lib/libcurl.dylib
/opt/local/lib/libcurl.la
/opt/local/lib/pkgconfig/libcurl.pc
/opt/local/share/man/man1/curl-config.1
/opt/local/share/man/man1/curl.1
/opt/local/share/man/man3/curl_easy_cleanup.3
/opt/local/share/man/man3/curl_easy_duphandle.3
/opt/local/share/man/man3/curl_easy_escape.3
/opt/local/share/man/man3/curl_easy_getinfo.3
/opt/local/share/man/man3/curl_easy_init.3
/opt/local/share/man/man3/curl_easy_pause.3
/opt/local/share/man/man3/curl_easy_perform.3
/opt/local/share/man/man3/curl_easy_recv.3
/opt/local/share/man/man3/curl_easy_reset.3
/opt/local/share/man/man3/curl_easy_send.3
/opt/local/share/man/man3/curl_easy_setopt.3
/opt/local/share/man/man3/curl_easy_strerror.3
/opt/local/share/man/man3/curl_easy_unescape.3
/opt/local/share/man/man3/curl_escape.3
/opt/local/share/man/man3/curl_formadd.3
/opt/local/share/man/man3/curl_formfree.3
/opt/local/share/man/man3/curl_formget.3
/opt/local/share/man/man3/curl_free.3
/opt/local/share/man/man3/curl_getdate.3
/opt/local/share/man/man3/curl_getenv.3
/opt/local/share/man/man3/curl_global_cleanup.3
/opt/local/share/man/man3/curl_global_init.3
/opt/local/share/man/man3/curl_global_init_mem.3
/opt/local/share/man/man3/curl_mprintf.3
/opt/local/share/man/man3/curl_multi_add_handle.3
/opt/local/share/man/man3/curl_multi_assign.3
/opt/local/share/man/man3/curl_multi_cleanup.3
/opt/local/share/man/man3/curl_multi_fdset.3
/opt/local/share/man/man3/curl_multi_info_read.3
/opt/local/share/man/man3/curl_multi_init.3
/opt/local/share/man/man3/curl_multi_perform.3
/opt/local/share/man/man3/curl_multi_remove_handle.3
/opt/local/share/man/man3/curl_multi_setopt.3
/opt/local/share/man/man3/curl_multi_socket.3
/opt/local/share/man/man3/curl_multi_strerror.3
/opt/local/share/man/man3/curl_multi_timeout.3
/opt/local/share/man/man3/curl_share_cleanup.3
/opt/local/share/man/man3/curl_share_init.3
/opt/local/share/man/man3/curl_share_setopt.3
/opt/local/share/man/man3/curl_share_strerror.3
/opt/local/share/man/man3/curl_slist_append.3
/opt/local/share/man/man3/curl_slist_free_all.3
/opt/local/share/man/man3/curl_strequal.3
/opt/local/share/man/man3/curl_unescape.3
	:

devel/intltool-0.40.5

preparation
curl -RO -C - http://ftp.gnome.org/pub/gnome/sources/intltool/0.40/intltool-0.40.5.tar.bz2
tar xvjf intltool-0.40.5.tar.bz2
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/intltool-extract
/opt/local/bin/intltool-merge
/opt/local/bin/intltool-prepare
/opt/local/bin/intltool-update
/opt/local/bin/intltoolize
/opt/local/share/aclocal/intltool.m4
/opt/local/share/intltool/Makefile.in.in
/opt/local/share/man/man8/intltool-extract.8
/opt/local/share/man/man8/intltool-merge.8
/opt/local/share/man/man8/intltool-prepare.8
/opt/local/share/man/man8/intltool-update.8
/opt/local/share/man/man8/intltoolize.8

science/octave/octave-3.0.3

preparation
wget -N ftp://ftp.octave.org/pub/octave/octave-3.0.3.tar.bz2
tar xvjf octave-3.0.3.tar.bz2
build
./configure CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib FLIBS=-lf2c --prefix=/opt/local --enable-shared --enable-dl --disable-static --with-blas="-framework Accelerate" --enable-static 
make LIBREADLINE=/opt/local/lib/libreadline.a QHULL_LIBS=/opt/local/lib/libqhull.a REGEX_LIBS=/opt/local/lib/libpcre.a FFTW_LIBS=/opt/local/lib/libfftw3.a GLPK_LIBS='/opt/local/lib/libglpk.a /opt/local/lib/libgmp.a' CURL_LIBS='/opt/local/lib/libcurl.a -lssl -lcrypto -lldap' 
make check 
installed
/opt/local/bin/mkoctfile
/opt/local/bin/mkoctfile-3.0.3
/opt/local/bin/octave
/opt/local/bin/octave-3.0.3
/opt/local/bin/octave-bug
/opt/local/bin/octave-bug-3.0.3
/opt/local/bin/octave-config
/opt/local/bin/octave-config-3.0.3
/opt/local/include/octave-3.0.3/octave/Array-util.h
/opt/local/include/octave-3.0.3/octave/Array.cc
/opt/local/include/octave-3.0.3/octave/Array.h
/opt/local/include/octave-3.0.3/octave/Array2.h
/opt/local/include/octave-3.0.3/octave/Array3.h
/opt/local/include/octave-3.0.3/octave/ArrayN-idx.h
/opt/local/include/octave-3.0.3/octave/ArrayN.cc
/opt/local/include/octave-3.0.3/octave/ArrayN.h
/opt/local/include/octave-3.0.3/octave/base-dae.h
/opt/local/include/octave-3.0.3/octave/base-de.h
/opt/local/include/octave-3.0.3/octave/base-list.h
/opt/local/include/octave-3.0.3/octave/base-lu.cc
/opt/local/include/octave-3.0.3/octave/base-lu.h
/opt/local/include/octave-3.0.3/octave/base-min.h
/opt/local/include/octave-3.0.3/octave/boolMatrix.h
/opt/local/include/octave-3.0.3/octave/boolNDArray.h
/opt/local/include/octave-3.0.3/octave/boolSparse.h
/opt/local/include/octave-3.0.3/octave/Bounds.h
/opt/local/include/octave-3.0.3/octave/builtins.h
/opt/local/include/octave-3.0.3/octave/byte-swap.h
/opt/local/include/octave-3.0.3/octave/c-file-ptr-stream.h
/opt/local/include/octave-3.0.3/octave/CColVector.h
/opt/local/include/octave-3.0.3/octave/CDiagMatrix.h
/opt/local/include/octave-3.0.3/octave/Cell.h
/opt/local/include/octave-3.0.3/octave/chMatrix.h
/opt/local/include/octave-3.0.3/octave/chNDArray.h
/opt/local/include/octave-3.0.3/octave/CMatrix.h
/opt/local/include/octave-3.0.3/octave/cmd-edit.h
/opt/local/include/octave-3.0.3/octave/cmd-hist.h
/opt/local/include/octave-3.0.3/octave/CmplxAEPBAL.h
/opt/local/include/octave-3.0.3/octave/CmplxCHOL.h
/opt/local/include/octave-3.0.3/octave/CmplxDET.h
/opt/local/include/octave-3.0.3/octave/CmplxHESS.h
/opt/local/include/octave-3.0.3/octave/CmplxLU.h
/opt/local/include/octave-3.0.3/octave/CmplxQR.h
/opt/local/include/octave-3.0.3/octave/CmplxQRP.h
/opt/local/include/octave-3.0.3/octave/CmplxSCHUR.h
/opt/local/include/octave-3.0.3/octave/CmplxSVD.h
/opt/local/include/octave-3.0.3/octave/CNDArray.h
/opt/local/include/octave-3.0.3/octave/CollocWt.h
/opt/local/include/octave-3.0.3/octave/comment-list.h
/opt/local/include/octave-3.0.3/octave/config.h
/opt/local/include/octave-3.0.3/octave/CRowVector.h
/opt/local/include/octave-3.0.3/octave/CSparse.h
/opt/local/include/octave-3.0.3/octave/DAE.h
/opt/local/include/octave-3.0.3/octave/DAEFunc.h
/opt/local/include/octave-3.0.3/octave/DAERT.h
/opt/local/include/octave-3.0.3/octave/DAERTFunc.h
/opt/local/include/octave-3.0.3/octave/DASPK-opts.h
/opt/local/include/octave-3.0.3/octave/DASPK.h
/opt/local/include/octave-3.0.3/octave/DASRT-opts.h
/opt/local/include/octave-3.0.3/octave/DASRT.h
/opt/local/include/octave-3.0.3/octave/DASSL-opts.h
/opt/local/include/octave-3.0.3/octave/DASSL.h
/opt/local/include/octave-3.0.3/octave/data-conv.h
/opt/local/include/octave-3.0.3/octave/dbleAEPBAL.h
	:

science/octave/qhull-2003.1

preparation
curl -RO -C - http://www.qhull.org/download/qhull-2003.1.tar.gz
tar xvzf qhull-2003.1.tar.gz

build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/qconvex
/opt/local/bin/qdelaunay
/opt/local/bin/qhalf
/opt/local/bin/qhull
/opt/local/bin/qvoronoi
/opt/local/bin/rbox
/opt/local/include/qhull/geom.h
/opt/local/include/qhull/io.h
/opt/local/include/qhull/mem.h
/opt/local/include/qhull/merge.h
/opt/local/include/qhull/poly.h
/opt/local/include/qhull/qhull.h
/opt/local/include/qhull/qhull_a.h
/opt/local/include/qhull/qset.h
/opt/local/include/qhull/stat.h
/opt/local/include/qhull/user.h
/opt/local/lib/libqhull.5.0.0.dylib
/opt/local/lib/libqhull.5.dylib
/opt/local/lib/libqhull.a
/opt/local/lib/libqhull.dylib
/opt/local/lib/libqhull.la
/opt/local/man/man1/qhull.1
/opt/local/man/man1/rbox.1
/opt/local/share/doc/qhull/Announce.txt
/opt/local/share/doc/qhull/Changes.txt
/opt/local/share/doc/qhull/COPYING.txt
/opt/local/share/doc/qhull/examples/Makefile.txt
/opt/local/share/doc/qhull/examples/Mborland
/opt/local/share/doc/qhull/examples/q_eg
/opt/local/share/doc/qhull/examples/q_egtest
/opt/local/share/doc/qhull/examples/q_test
/opt/local/share/doc/qhull/examples/q_test.bat
/opt/local/share/doc/qhull/examples/Qhull-go.bat
/opt/local/share/doc/qhull/examples/qhull_interface.cpp
/opt/local/share/doc/qhull/examples/user_eg.c
/opt/local/share/doc/qhull/examples/user_eg2.c
/opt/local/share/doc/qhull/html/index.htm
/opt/local/share/doc/qhull/html/qconvex.htm
/opt/local/share/doc/qhull/html/qdelau_f.htm
/opt/local/share/doc/qhull/html/qdelaun.htm
/opt/local/share/doc/qhull/html/qh--4d.gif
/opt/local/share/doc/qhull/html/qh--cone.gif
/opt/local/share/doc/qhull/html/qh--dt.gif
/opt/local/share/doc/qhull/html/qh--geom.gif
/opt/local/share/doc/qhull/html/qh--half.gif
/opt/local/share/doc/qhull/html/qh--rand.gif
/opt/local/share/doc/qhull/html/qh-eg.htm
/opt/local/share/doc/qhull/html/qh-faq.htm
/opt/local/share/doc/qhull/html/qh-get.htm
/opt/local/share/doc/qhull/html/qh-impre.htm
/opt/local/share/doc/qhull/html/qh-in.htm
/opt/local/share/doc/qhull/html/qh-optc.htm
/opt/local/share/doc/qhull/html/qh-optf.htm
/opt/local/share/doc/qhull/html/qh-optg.htm
/opt/local/share/doc/qhull/html/qh-opto.htm
/opt/local/share/doc/qhull/html/qh-optp.htm
/opt/local/share/doc/qhull/html/qh-optq.htm
/opt/local/share/doc/qhull/html/qh-optt.htm
/opt/local/share/doc/qhull/html/qh-quick.htm
/opt/local/share/doc/qhull/html/qhalf.htm
/opt/local/share/doc/qhull/html/qhull.htm
/opt/local/share/doc/qhull/html/qvoron_f.htm
/opt/local/share/doc/qhull/html/qvoronoi.htm
/opt/local/share/doc/qhull/html/rbox.htm
	:

science/octave/glpk-4.35

preparation
curl -RO -C - http://ftp.gnu.org/gnu/glpk/glpk-4.35.tar.gz
tar xvzf glpk-4.35.tar.gz
build
./configure CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib --prefix=/opt/local --with-gmp --with-zlib 
make 
installed
/opt/local/bin/glpsol
/opt/local/include/glpk.h
/opt/local/lib/libglpk.0.20.0.dylib
/opt/local/lib/libglpk.0.dylib
/opt/local/lib/libglpk.a
/opt/local/lib/libglpk.dylib
/opt/local/lib/libglpk.la

science/octave/fftw-3.2

preparation
curl -RO -C - ftp://ftp.u-aizu.ac.jp/pub/SciEng/numanal/fftw/fftw-3.2.tar.gz
tar xvzf fftw-3.2.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/fftw-wisdom
/opt/local/bin/fftw-wisdom-to-conf
/opt/local/include/fftw3.f
/opt/local/include/fftw3.h
/opt/local/lib/libfftw3.a
/opt/local/lib/libfftw3.la
/opt/local/lib/pkgconfig/fftw3.pc
/opt/local/share/info/fftw3.info
/opt/local/share/man/man1/fftw-wisdom-to-conf.1
/opt/local/share/man/man1/fftw-wisdom.1

science/octave/sed-4.1.5

preparation
verify_digest(){	# $0 method file string
  case "$1" in
  *)
    DIGEST=`echo "$1" | tr a-z A-Z`
    [ "$DIGEST($2)= $3" = "`openssl $1 $2`" ]
    ;;
  esac
}
verify_signature(){	# $0 url|id ... sig
  while [ "$1" != "" ]; do
    case "$1" in
    0x*)
      gpg --recv-keys "$1" || return $?
      ;;
    http:*|ftp:*)
      curl "$1" | gpg --import || return $?
      ;;
    *)
      gpg --verify "$1"
      return $?
    esac
    shift
  done
}
error_out(){	# $0 message ...
  echo "$@" 1>&2
  exit 1
}

curl -RO -C - ftp://ftp.gnu.org/gnu/sed/sed-4.1.5.tar.gz
curl -RO -C - ftp://ftp.gnu.org/gnu/sed/sed-4.1.5.tar.gz.sig
verify_signature 0xA750566F sed-4.1.5.tar.gz.sig || error_out "$0: stopped at line $LINENO"

tar xvzf sed-4.1.5.tar.gz
(cd sed-4.1.5 && patch -p0 -b -z.org < ../sed-4.1.5-sakuya.patch)
build
./configure --prefix=/opt/local 
make 
patch
--- ./configure~	2006-02-03 18:24:40.000000000 +0900
+++ ./configure	2009-01-20 18:00:53.000000000 +0900
@@ -11265,13 +11265,13 @@
       esac
     done ;;
     gettext-fix )
-  sed -e '/^mkinstalldirs *=/a\' \
-      -e "install_sh=$install_sh" \
+  sed -e '/^mkinstalldirs *=/a\
+        '"install_sh=$install_sh" \
       -e 's/^mkinstalldirs *=.*/mkinstalldirs=$(MKINSTALLDIRS)/' \
       intl/Makefile > intl/Makefile.tmp
   mv intl/Makefile.tmp intl/Makefile
-  sed -e '/^mkinstalldirs *=/a\' \
-      -e "install_sh=$install_sh" \
+  sed -e '/^mkinstalldirs *=/a\
+        '"install_sh=$install_sh" \
       -e 's/^mkinstalldirs *=.*/mkinstalldirs=$(MKINSTALLDIRS)/' \
       po/Makefile > po/Makefile.tmp
   mv po/Makefile.tmp po/Makefile ;;
installed
/opt/local/bin/sed
/opt/local/info/sed.info
/opt/local/info/sed.info-1
/opt/local/info/sed.info-2
/opt/local/man/man1/sed.1
/opt/local/share/locale/af/LC_MESSAGES/sed.mo
/opt/local/share/locale/ca/LC_MESSAGES/sed.mo
/opt/local/share/locale/cs/LC_MESSAGES/sed.mo
/opt/local/share/locale/da/LC_MESSAGES/sed.mo
/opt/local/share/locale/de/LC_MESSAGES/sed.mo
/opt/local/share/locale/el/LC_MESSAGES/sed.mo
/opt/local/share/locale/eo/LC_MESSAGES/sed.mo
/opt/local/share/locale/es/LC_MESSAGES/sed.mo
/opt/local/share/locale/et/LC_MESSAGES/sed.mo
/opt/local/share/locale/fi/LC_MESSAGES/sed.mo
/opt/local/share/locale/fr/LC_MESSAGES/sed.mo
/opt/local/share/locale/ga/LC_MESSAGES/sed.mo
/opt/local/share/locale/gl/LC_MESSAGES/sed.mo
/opt/local/share/locale/he/LC_MESSAGES/sed.mo
/opt/local/share/locale/hr/LC_MESSAGES/sed.mo
/opt/local/share/locale/hu/LC_MESSAGES/sed.mo
/opt/local/share/locale/id/LC_MESSAGES/sed.mo
/opt/local/share/locale/it/LC_MESSAGES/sed.mo
/opt/local/share/locale/ja/LC_MESSAGES/sed.mo
/opt/local/share/locale/ko/LC_MESSAGES/sed.mo
/opt/local/share/locale/nl/LC_MESSAGES/sed.mo
/opt/local/share/locale/pl/LC_MESSAGES/sed.mo
/opt/local/share/locale/pt_BR/LC_MESSAGES/sed.mo
/opt/local/share/locale/ro/LC_MESSAGES/sed.mo
/opt/local/share/locale/ru/LC_MESSAGES/sed.mo
/opt/local/share/locale/sk/LC_MESSAGES/sed.mo
/opt/local/share/locale/sl/LC_MESSAGES/sed.mo
/opt/local/share/locale/sr/LC_MESSAGES/sed.mo
/opt/local/share/locale/sv/LC_MESSAGES/sed.mo
/opt/local/share/locale/tr/LC_MESSAGES/sed.mo
/opt/local/share/locale/zh_CN/LC_MESSAGES/sed.mo

science/octave/libf2c2-20061008

preparation
curl -RO -C - http://ftp.de.debian.org/debian/pool/main/libf/libf2c2/libf2c2_20061008.orig.tar.gz
curl -RO -C - http://ftp.de.debian.org/debian/pool/main/libf/libf2c2/libf2c2_20061008-4.1.diff.gz
tar xvzf libf2c2_20061008.orig.tar.gz
[ ! -d libf2c2-20061008 ] && mv libf2c2-20061008.orig libf2c2-20061008
(cd libf2c2-20061008 && gzcat ../libf2c2_20061008-4.1.diff.gz | patch -p1)
(cd libf2c2-20061008 && patch -p0 -b -z.org < ../libf2c2-20061008-sakuya.patch)
build
make -f debian/make_lib INTSIZE=f2c 
patch
--- ./debian/make_lib~	2009-01-20 16:18:34.000000000 +0900
+++ ./debian/make_lib	2009-01-20 17:08:48.000000000 +0900
@@ -2,17 +2,24 @@
 
 all:
 	cd ..	
-	$(MAKE) -f makefile.u CFLAGS="$(GCCOPT) -fPIC \
+#	$(MAKE) -f makefile.u CFLAGS="$(GCCOPT) -fPIC \
+#        -I ../ -DNON_UNIX_STDIO -D$(INTSIZE)" 
+#
+#	gcc -shared -Wl,-soname,lib$(INTSIZE).so.2\
+#	                 -o lib$(INTSIZE).so.2.1 *.o -lc -lm
+         
+	$(MAKE) -f makefile.u CFLAGS="$(GCCOPT) -fPIC -fno-common \
         -I ../ -DNON_UNIX_STDIO -D$(INTSIZE)" 
 
-	gcc -shared -Wl,-soname,lib$(INTSIZE).so.2\
-	                 -o lib$(INTSIZE).so.2.1 *.o -lc -lm
+	gcc -dynamiclib -flat_namespace -undefined suppress\
+	  -o lib$(INTSIZE).2.1.dylib *.o -install_name /opt/local/lib/lib$(INTSIZE).dylib -Wl,-compatibility_version -Wl,2 -Wl,-current_version -Wl,2.1
          
 	ar r lib$(INTSIZE).a *.o
 	ranlib lib$(INTSIZE).a
 	touch build_$(INTSIZE)
 
 clean: 
+	rm -f lib$(INTSIZE).so.2.1 lib$(INTSIZE).2.1.dylib
 	cd ..
 	$(MAKE) -f makefile.u  clean
 
installation
cp libf2c.a /opt/local/lib/
cp libf2c.2.1.dylib /opt/local/lib/
(cd /opt/local/lib/ &&
[ -f libf2c.dylib ] && rm -f libf2c.dylib || true
ln -s libf2c.2.1.dylib libf2c.dylib
)
installed
/opt/local/lib/libf2c.2.1.dylib
/opt/local/lib/libf2c.a
/opt/local/lib/libf2c.dylib

science/octave/fort77-1.15

preparation
curl -RO -C - http://ftp.de.debian.org/debian/pool/main/f/fort77/fort77_1.15.orig.tar.gz
curl -RO -C - http://ftp.de.debian.org/debian/pool/main/f/fort77/fort77_1.15-8.diff.gz
tar xvzf fort77_1.15.orig.tar.gz
[ ! -d fort77-1.15 ] && mv fort77-1.15.orig fort77-1.15
(cd fort77-1.15 && gzcat ../fort77_1.15-8.diff.gz | patch -p1)
(cd fort77-1.15 && patch -p0 -b -z.org < fort77-1.15-sakuya.patch)
build
./configure --prefix=/opt/local 
make PREFIX=/opt/local
patch
--- ./fort77.in.org	2009-01-20 15:41:19.000000000 +0900
+++ ./fort77.in	2009-01-20 17:34:59.000000000 +0900
@@ -12,7 +12,7 @@
 $debug = 0;
 $debugcmd = "";
 
-$cppcmd = "/lib/cpp -traditional";
+$cppcmd = "/usr/bin/cpp -traditional";
 
 # Loop over all options; pull all options from @ARGV and put all
 # arguments into @argv.	 This is needed because, apparently, UNIX
@@ -287,7 +287,7 @@
 # C compilation step.
 
     if ($cfile) {
-	@command = ("@CC@",@cppopts,@copts);
+	@command = ("@CC@","-I/opt/local/include",@cppopts,@copts);
 	if ($compile_only && $output) {
 	    push(@command,'-o',$output,$compile_only);
 	}
@@ -323,7 +323,7 @@
 
 push (@output, "-o", $output) if $output;
 
-$retcode = &mysystem("@CC@", @output, @lfiles, @lopts, "-lf2c", "-lm" );
+$retcode = &mysystem("@CC@", @output, @lfiles, @lopts, "-L/opt/local/lib", "-lf2c", "-lm" );
 if (@gener_lfiles) {
     print STDERR "$0: unlinking ",join(',',@gener_lfiles),"\n" if $verbose;
     unlink (@gener_lfiles);
--- ./Makefile~	2009-01-20 15:41:19.000000000 +0900
+++ ./Makefile	2009-01-20 17:37:57.000000000 +0900
@@ -14,7 +14,7 @@
 	autoconf
 
 test: fort77
-	(cd tests; ./test.pl -v)
+	-(cd tests; ./test.pl -v)
 
 install: test
 	install -m 755 fort77 $(BINDIR)
installation
make PREFIX=/opt/local install 
installed
/opt/local/bin/fort77
/opt/local/share/man/man1/fort77.1

science/octave/f2c-20061008

preparation
curl -RO -C - http://ftp.de.debian.org/debian/pool/main/f/f2c/f2c_20061008.orig.tar.gz
curl -RO -C - http://ftp.de.debian.org/debian/pool/main/f/f2c/f2c_20061008-3.diff.gz
tar xvzf f2c_20061008.orig.tar.gz
[ ! -d f2c-20061008 ] && mv f2c-20061008.orig f2c-20061008
(cd f2c-20061008 && gzcat ../f2c_20061008-3.diff.gz | patch -p1)
build
#(cd src && make -f makefile.u)
make -C src -f makefile.u
sed 's|^PATH=|#PATH=|;s|/usr/bin/f2c|/opt/local/bin/f2c|' fc > src/fc
chmod +x src/fc
sed 's|/usr/bin/fc|fc|' fc.1 > src/fc.1
installation
cp src/f2c /opt/local/bin/
cp src/fc /opt/local/bin/
cp src/f2c.h /opt/local/include/
cp src/f2c.1t /opt/local/man/man1/f2c.1
cp src/fc.1 /opt/local/man/man1/
installed
/opt/local/bin/f2c
/opt/local/bin/fc
/opt/local/include/f2c.h
/opt/local/man/man1/f2c.1
/opt/local/man/man1/fc.1

secure/clamav-0.94.2

preparation
verify_digest(){	# $0 method file string
  case "$1" in
  *)
    DIGEST=`echo "$1" | tr a-z A-Z`
    [ "$DIGEST($2)= $3" = "`openssl $1 $2`" ]
    ;;
  esac
}
verify_signature(){	# $0 url|id ... sig
  while [ "$1" != "" ]; do
    case "$1" in
    0x*)
      gpg --recv-keys "$1" || return $?
      ;;
    http:*|ftp:*)
      curl "$1" | gpg --import || return $?
      ;;
    *)
      gpg --verify "$1"
      return $?
    esac
    shift
  done
}
error_out(){	# $0 message ...
  echo "$@" 1>&2
  exit 1
}

curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/clamav/clamav-0.94.2.tar.gz
curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/clamav/clamav-0.94.2.tar.gz.sig
verify_signature http://www.clamav.net/gpg/tkojm.gpg clamav-0.94.2.tar.gz.sig || error_out "$0: stopped at line $LINENO"

tar xvzf clamav-0.94.2.tar.gz
(cd clamav-0.94.2 && patch -p0 -b -z.org < ../clamav-0.94.2-sakuya.patch)
build
./configure CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib --prefix=/opt/local/clamav 
make 
patch
--- ./configure~	2008-04-10 00:55:27.000000000 +0900
+++ ./configure	2008-05-23 22:21:27.000000000 +0900
@@ -11427,6 +11427,7 @@
 
 
 
+if false; then
 { echo "$as_me:$LINENO: checking for gcc bug PR28045" >&5
 echo $ECHO_N "checking for gcc bug PR28045... $ECHO_C" >&6; }
 if test "$cross_compiling" = yes; then
@@ -11496,6 +11497,7 @@
 fi
 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 fi
+fi
 
 
 
--- ./etc/clamd.conf~	2008-03-07 03:41:13.000000000 +0900
+++ ./etc/clamd.conf	2008-05-23 22:40:38.000000000 +0900
@@ -5,13 +5,14 @@
 
 
 # Comment or remove the line below.
-Example
+#Example
 
 # Uncomment this option to enable logging.
 # LogFile must be writable for the user running daemon.
 # A full path is required.
 # Default: disabled
 #LogFile /tmp/clamd.log
+LogFile /tmp/clamd.log
 
 # By default the log file is locked for writing - the lock protects against
 # running clamd multiple times (if want to run another clamd, please
@@ -55,6 +56,7 @@
 # daemon (main thread).
 # Default: disabled
 #PidFile /var/run/clamd.pid
+PidFile /tmp/clamd.pid
 
 # Optional path to the global temporary directory.
 # Default: system specific (usually /tmp or /var/tmp).
@@ -63,6 +65,7 @@
 # Path to the database directory.
 # Default: hardcoded (depends on installation options)
 #DatabaseDirectory /var/lib/clamav
+DatabaseDirectory /opt/local/clamav/share/clamav
 
 # The daemon works in a local OR a network mode. Due to security reasons we
 # recommend the local mode.
@@ -85,6 +88,7 @@
 # from the outside world.
 # Default: no
 #TCPAddr 127.0.0.1
+TCPAddr 127.0.0.1
 
 # Maximum length the queue of pending connections may grow to.
 # Default: 15
@@ -142,6 +146,7 @@
 # Run as another user (clamd must be started by root for this option to work)
 # Default: don't drop privileges
 #User clamav
+User clamav
 
 # Initialize supplementary group access (clamd must be started by root).
 # Default: no
--- ./etc/freshclam.conf~	2008-03-07 03:41:13.000000000 +0900
+++ ./etc/freshclam.conf	2008-05-23 22:42:32.000000000 +0900
@@ -5,16 +5,18 @@
 
 
 # Comment or remove the line below.
-Example
+#Example
 
 # Path to the database directory.
 # WARNING: It must match clamd.conf's directive!
 # Default: hardcoded (depends on installation options)
 #DatabaseDirectory /var/lib/clamav
+DatabaseDirectory /opt/local/clamav/share/clamav
 
 # Path to the log file (make sure it has proper permissions)
 # Default: disabled
 #UpdateLogFile /var/log/freshclam.log
+UpdateLogFile /tmp/freshclam.log
 
 # Maximum size of the log file.
 # Value of 0 disables the limit.
@@ -44,11 +46,13 @@
 # This option allows you to save the process identifier of the daemon
 # Default: disabled
 #PidFile /var/run/freshclam.pid
+PidFile /tmp/freshclam.pid
 
 # By default when started freshclam drops privileges and switches to the
 # "clamav" user. This directive allows you to change the database owner.
 # Default: clamav (may depend on installation options)
 #DatabaseOwner clamav
+DatabaseOwner clamav
 
 # Initialize supplementary group access (freshclam must be started by root).
 # Default: no
installed
/opt/local/clamav/bin/clamav-config
/opt/local/clamav/bin/clamconf
/opt/local/clamav/bin/clamdscan
/opt/local/clamav/bin/clamscan
/opt/local/clamav/bin/freshclam
/opt/local/clamav/bin/sigtool
/opt/local/clamav/etc/clamd.conf
/opt/local/clamav/etc/freshclam.conf
/opt/local/clamav/include/clamav.h
/opt/local/clamav/lib/libclamav.5.dylib
/opt/local/clamav/lib/libclamav.a
/opt/local/clamav/lib/libclamav.dylib
/opt/local/clamav/lib/libclamav.la
/opt/local/clamav/lib/libclamunrar.5.dylib
/opt/local/clamav/lib/libclamunrar.a
/opt/local/clamav/lib/libclamunrar.dylib
/opt/local/clamav/lib/libclamunrar.la
/opt/local/clamav/lib/libclamunrar_iface.5.dylib
/opt/local/clamav/lib/libclamunrar_iface.a
/opt/local/clamav/lib/libclamunrar_iface.dylib
/opt/local/clamav/lib/libclamunrar_iface.la
/opt/local/clamav/lib/pkgconfig/libclamav.pc
/opt/local/clamav/sbin/clamd
/opt/local/clamav/share/clamav/daily.cvd
/opt/local/clamav/share/clamav/main.cvd
/opt/local/clamav/share/man/man1/clamconf.1
/opt/local/clamav/share/man/man1/clamdscan.1
/opt/local/clamav/share/man/man1/clamscan.1
/opt/local/clamav/share/man/man1/freshclam.1
/opt/local/clamav/share/man/man1/sigtool.1
/opt/local/clamav/share/man/man5/clamd.conf.5
/opt/local/clamav/share/man/man5/freshclam.conf.5
/opt/local/clamav/share/man/man8/clamav-milter.8
/opt/local/clamav/share/man/man8/clamd.8
host_configuration
[ ! -d /System/Library/StartupItems/Clamd ] && \
mkdir /System/Library/StartupItems/Clamd
if [ ! -f /System/Library/StartupItems/Clamd/Clamd ]; then
  cat <<EOF > /System/Library/StartupItems/Clamd/Clamd
#!/bin/sh

##
# ClamAV Server
##

. /etc/rc.common

StartService ()
{
	/opt/local/clamav/bin/freshclam -d
	/opt/local/clamav/sbin/clamd
}

StopService ()
{
	killall -9 freshclam
	killall -9 clamd
}

RestartService () { StopService; StartService; }

RunService "\$1"
EOF
  chmod +x /System/Library/StartupItems/Clamd/Clamd
fi
if [ ! -f /System/Library/StartupItems/Clamd/StartupParameters.plist ]; then
  cat <<EOF > /System/Library/StartupItems/Clamd/StartupParameters.plist
{
  Description     = "ClamAV Server";
  Provides        = ("ClamAV Server");
}
EOF
fi
#/System/Library/StartupItems/Clamd/Clamd start

secure/gnupg-1.4.9

preparation
verify_digest(){	# $0 method file string
  case "$1" in
  *)
    DIGEST=`echo "$1" | tr a-z A-Z`
    [ "$DIGEST($2)= $3" = "`openssl $1 $2`" ]
    ;;
  esac
}
verify_signature(){	# $0 url|id ... sig
  while [ "$1" != "" ]; do
    case "$1" in
    0x*)
      gpg --recv-keys "$1" || return $?
      ;;
    http:*|ftp:*)
      curl "$1" | gpg --import || return $?
      ;;
    *)
      gpg --verify "$1"
      return $?
    esac
    shift
  done
}
error_out(){	# $0 message ...
  echo "$@" 1>&2
  exit 1
}

wget -N ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.9.tar.bz2
wget -N ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.9.tar.bz2.sig

#verify_digest md5 gnupg-1.4.9.tar.bz2 cc52393087480ac8d245625004a6a30c || error_out "$0: stopped at line $LINENO"
verify_digest sha1 gnupg-1.4.9.tar.bz2 826f4bef1effce61c3799c8f7d3cc8313b340b55 || error_out "$0: stopped at line $LINENO"

tar xvjf gnupg-1.4.9.tar.bz2
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/gpg
/opt/local/bin/gpg-zip
/opt/local/bin/gpgsplit
/opt/local/bin/gpgv
/opt/local/libexec/gnupg/gpgkeys_curl
/opt/local/libexec/gnupg/gpgkeys_finger
/opt/local/libexec/gnupg/gpgkeys_hkp
/opt/local/libexec/gnupg/gpgkeys_ldap
/opt/local/share/gnupg/FAQ
/opt/local/share/gnupg/faq.html
/opt/local/share/gnupg/options.skel
/opt/local/share/info/gnupg1.info
/opt/local/share/locale/be/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/ca/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/cs/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/da/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/de/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/el/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/en@boldquot/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/en@quot/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/eo/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/es/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/et/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/fi/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/fr/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/gl/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/hu/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/id/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/it/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/ja/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/nb/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/nl/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/pl/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/pt/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/pt_BR/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/ro/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/ru/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/sk/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/sv/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/tr/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/zh_CN/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/zh_TW/LC_MESSAGES/gnupg.mo
/opt/local/share/man/man1/gpg.1
/opt/local/share/man/man1/gpg.ru.1
/opt/local/share/man/man1/gpgv.1
/opt/local/share/man/man7/gnupg.7

net/wget-1.11.4

preparation
verify_digest(){	# $0 method file string
  case "$1" in
  *)
    DIGEST=`echo "$1" | tr a-z A-Z`
    [ "$DIGEST($2)= $3" = "`openssl $1 $2`" ]
    ;;
  esac
}
verify_signature(){	# $0 url|id ... sig
  while [ "$1" != "" ]; do
    case "$1" in
    0x*)
      gpg --recv-keys "$1" || return $?
      ;;
    http:*|ftp:*)
      curl "$1" | gpg --import || return $?
      ;;
    *)
      gpg --verify "$1"
      return $?
    esac
    shift
  done
}
error_out(){	# $0 message ...
  echo "$@" 1>&2
  exit 1
}

curl -RO -C - http://ftp.gnu.org/gnu/wget/wget-1.11.4.tar.gz
curl -RO -C - http://ftp.gnu.org/gnu/wget/wget-1.11.4.tar.gz.sig

verify_signature 0x4A1B4EB1 wget-1.11.4.tar.gz.sig || error_out "$0: stopped at line $LINENO"

tar xvzf wget-1.11.4.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/wget
/opt/local/etc/wgetrc
/opt/local/share/info/wget.info
/opt/local/share/man/man1/wget.1

av/players/mplayer/ffmpeg-20090115

preparation
if [ ! -f ffmpeg-20090115.tar.bz2 ]; then

if [ ! -d ffmpeg ]; then
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
else
(cd ffmpeg &&
svn update
)
fi

[ ! -d ffmpeg-20090115 ] && mkdir ffmpeg-20090115
(cd ffmpeg &&
tar cf - . | (cd ../ffmpeg-20090115 && tar xf -)
)
tar cvjf ffmpeg-20090115.tar.bz2 ffmpeg-20090115

else

tar xvjf ffmpeg-20090115.tar.bz2

fi

(cd ffmpeg-20090115 &&
patch -p0 -b -z.org < ../ffmpeg-20090115-sakuya.patch
)
build
./configure --prefix=/opt/local --extra-cflags=-I/opt/local/include --extra-ldflags=-L/opt/local/lib --enable-powerpc-perf --enable-libfaad --enable-libfaac --enable-libx264 --enable-libmp3lame --enable-shared --enable-pthreads --enable-gpl 
make 
patch
--- ./configure.org	2009-01-15 20:50:04.000000000 +0900
+++ ./configure	2009-01-15 20:57:14.000000000 +0900
@@ -1903,7 +1903,7 @@
 enabled libspeex   && require  libspeex speex/speex.h speex_decoder_init -lspeex
 enabled libtheora  && require  libtheora theora/theora.h theora_info_init -ltheora -logg
 enabled libvorbis  && require  libvorbis vorbis/vorbisenc.h vorbis_info_init -lvorbisenc -lvorbis -logg
-enabled libx264    && require  libx264 x264.h x264_encoder_open -lx264 -lm &&
+enabled libx264    && require  libx264 x264.h x264_encoder_open -lx264 -L/usr/X11R6/lib -lX11 -lm &&
                       { check_cpp_condition x264.h "X264_BUILD >= 65" ||
                         die "ERROR: libx264 version must be >= 0.65."; }
 enabled libxvid    && require  libxvid xvid.h xvid_global -lxvidcore
installed
/opt/local/bin/ffmpeg
/opt/local/bin/ffplay
/opt/local/bin/ffserver
/opt/local/include/libavcodec/avcodec.h
/opt/local/include/libavcodec/opt.h
/opt/local/include/libavcodec/vdpau.h
/opt/local/include/libavdevice/avdevice.h
/opt/local/include/libavformat/avformat.h
/opt/local/include/libavformat/avio.h
/opt/local/include/libavformat/rtsp.h
/opt/local/include/libavformat/rtspcodes.h
/opt/local/include/libavutil/adler32.h
/opt/local/include/libavutil/avstring.h
/opt/local/include/libavutil/avutil.h
/opt/local/include/libavutil/base64.h
/opt/local/include/libavutil/common.h
/opt/local/include/libavutil/crc.h
/opt/local/include/libavutil/fifo.h
/opt/local/include/libavutil/intfloat_readwrite.h
/opt/local/include/libavutil/log.h
/opt/local/include/libavutil/lzo.h
/opt/local/include/libavutil/mathematics.h
/opt/local/include/libavutil/md5.h
/opt/local/include/libavutil/mem.h
/opt/local/include/libavutil/random.h
/opt/local/include/libavutil/rational.h
/opt/local/include/libavutil/sha1.h
/opt/local/lib/libavcodec.52.10.0.dylib
/opt/local/lib/libavcodec.52.dylib
/opt/local/lib/libavcodec.a
/opt/local/lib/libavcodec.dylib
/opt/local/lib/libavdevice.52.1.0.dylib
/opt/local/lib/libavdevice.52.dylib
/opt/local/lib/libavdevice.a
/opt/local/lib/libavdevice.dylib
/opt/local/lib/libavformat.52.23.1.dylib
/opt/local/lib/libavformat.52.dylib
/opt/local/lib/libavformat.a
/opt/local/lib/libavformat.dylib
/opt/local/lib/libavutil.49.12.0.dylib
/opt/local/lib/libavutil.49.dylib
/opt/local/lib/libavutil.a
/opt/local/lib/libavutil.dylib
/opt/local/lib/pkgconfig/libavcodec.pc
/opt/local/lib/pkgconfig/libavdevice.pc
/opt/local/lib/pkgconfig/libavformat.pc
/opt/local/lib/pkgconfig/libavutil.pc
/opt/local/lib/vhook/drawtext.dylib
/opt/local/lib/vhook/fish.dylib
/opt/local/lib/vhook/null.dylib
/opt/local/lib/vhook/ppm.dylib
/opt/local/lib/vhook/watermark.dylib
/opt/local/share/man/man1/ffmpeg.1
/opt/local/share/man/man1/ffplay.1
/opt/local/share/man/man1/ffserver.1

av/libdca-20090115

preparation
if [ ! -f libdca-20090115.tar.bz2 ]; then

if [ ! -d libdca ]; then
svn checkout svn://svn.videolan.org/libdca/trunk libdca
else
(cd libdca &&
svn update
)
fi

[ ! -d libdca-20090115 ] && mkdir libdca-20090115
(cd libdca &&
tar cf - . | (cd ../libdca-20090115 && tar xf -)
)
tar cvjf libdca-20090115.tar.bz2 libdca-20090115

else

tar xvjf libdca-20090115.tar.bz2

fi
build
autoreconf -i 
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/dcadec
/opt/local/bin/dtsdec
/opt/local/bin/extract_dca
/opt/local/bin/extract_dts
/opt/local/include/dca.h
/opt/local/include/dts.h
/opt/local/lib/libdca.0.dylib
/opt/local/lib/libdca.a
/opt/local/lib/libdca.dylib
/opt/local/lib/libdca.la
/opt/local/lib/libdts.a
/opt/local/lib/pkgconfig/libdca.pc
/opt/local/lib/pkgconfig/libdts.pc
/opt/local/share/man/man1/dcadec.1
/opt/local/share/man/man1/dtsdec.1
/opt/local/share/man/man1/extract_dca.1
/opt/local/share/man/man1/extract_dts.1

av/x264-20090115

preparation
if [ ! -f x264-20090115.tar.bz2 ]; then

if [ ! -d x264 ]; then
git clone git://git.videolan.org/x264.git
else
(cd x264 &&
git pull
)
fi

[ ! -d x264-20090115 ] && mkdir x264-20090115
(cd x264 &&
tar cf - . | (cd ../x264-20090115 && tar xf -)
)
tar cvjf x264-20090115.tar.bz2 x264-20090115

else

tar xvjf x264-20090115.tar.bz2

fi
build
./configure --prefix=/opt/local --extra-ldflags=-L/opt/local/lib --enable-pthread --enable-visualize 
make 
installed
/opt/local/bin/x264
/opt/local/include/x264.h
/opt/local/lib/libx264.a
/opt/local/lib/pkgconfig/x264.pc

devel/autotools/libtool-2.2.4

preparation
verify_digest(){	# $0 method file string
  case "$1" in
  *)
    DIGEST=`echo "$1" | tr a-z A-Z`
    [ "$DIGEST($2)= $3" = "`openssl $1 $2`" ]
    ;;
  esac
}
verify_signature(){	# $0 url|id ... sig
  while [ "$1" != "" ]; do
    case "$1" in
    0x*)
      gpg --recv-keys "$1" || return $?
      ;;
    http:*|ftp:*)
      curl "$1" | gpg --import || return $?
      ;;
    *)
      gpg --verify "$1"
      return $?
    esac
    shift
  done
}
error_out(){	# $0 message ...
  echo "$@" 1>&2
  exit 1
}

curl -RO -C - http://ftp.gnu.org/gnu/libtool/libtool-2.2.4.tar.gz
curl -RO -C - http://ftp.gnu.org/gnu/libtool/libtool-2.2.4.tar.gz.sig

verify_signature 0x2983D606 libtool-2.2.4.tar.gz.sig || error_out "$0: stopped at line $LINENO"

tar xvzf libtool-2.2.4.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/libtool
/opt/local/bin/libtoolize
/opt/local/include/libltdl/lt_dlloader.h
/opt/local/include/libltdl/lt_error.h
/opt/local/include/libltdl/lt_system.h
/opt/local/include/ltdl.h
/opt/local/lib/libltdl.7.dylib
/opt/local/lib/libltdl.a
/opt/local/lib/libltdl.dylib
/opt/local/lib/libltdl.la
/opt/local/share/aclocal/argz.m4
/opt/local/share/aclocal/libtool.m4
/opt/local/share/aclocal/ltdl.m4
/opt/local/share/aclocal/ltoptions.m4
/opt/local/share/aclocal/ltsugar.m4
/opt/local/share/aclocal/ltversion.m4
/opt/local/share/aclocal/lt~obsolete.m4
/opt/local/share/info/libtool.info
/opt/local/share/info/libtool.info-1
/opt/local/share/libtool/config/compile
/opt/local/share/libtool/config/config.guess
/opt/local/share/libtool/config/config.sub
/opt/local/share/libtool/config/depcomp
/opt/local/share/libtool/config/install-sh
/opt/local/share/libtool/config/ltmain.sh
/opt/local/share/libtool/config/missing
/opt/local/share/libtool/libltdl/aclocal.m4
/opt/local/share/libtool/libltdl/argz.c
/opt/local/share/libtool/libltdl/argz_.h
/opt/local/share/libtool/libltdl/config-h.in
/opt/local/share/libtool/libltdl/configure
/opt/local/share/libtool/libltdl/configure.ac
/opt/local/share/libtool/libltdl/COPYING.LIB
/opt/local/share/libtool/libltdl/libltdl/lt__alloc.h
/opt/local/share/libtool/libltdl/libltdl/lt__dirent.h
/opt/local/share/libtool/libltdl/libltdl/lt__glibc.h
/opt/local/share/libtool/libltdl/libltdl/lt__private.h
/opt/local/share/libtool/libltdl/libltdl/lt__strl.h
/opt/local/share/libtool/libltdl/libltdl/lt_dlloader.h
/opt/local/share/libtool/libltdl/libltdl/lt_error.h
/opt/local/share/libtool/libltdl/libltdl/lt_system.h
/opt/local/share/libtool/libltdl/libltdl/slist.h
/opt/local/share/libtool/libltdl/loaders/dld_link.c
/opt/local/share/libtool/libltdl/loaders/dlopen.c
/opt/local/share/libtool/libltdl/loaders/dyld.c
/opt/local/share/libtool/libltdl/loaders/load_add_on.c
/opt/local/share/libtool/libltdl/loaders/loadlibrary.c
/opt/local/share/libtool/libltdl/loaders/preopen.c
/opt/local/share/libtool/libltdl/loaders/shl_load.c
/opt/local/share/libtool/libltdl/lt__alloc.c
/opt/local/share/libtool/libltdl/lt__dirent.c
/opt/local/share/libtool/libltdl/lt__strl.c
/opt/local/share/libtool/libltdl/lt_dlloader.c
/opt/local/share/libtool/libltdl/lt_error.c
/opt/local/share/libtool/libltdl/ltdl.c
/opt/local/share/libtool/libltdl/ltdl.h
/opt/local/share/libtool/libltdl/Makefile.am
/opt/local/share/libtool/libltdl/Makefile.in
/opt/local/share/libtool/libltdl/Makefile.inc
/opt/local/share/libtool/libltdl/README
/opt/local/share/libtool/libltdl/slist.c

devel/autotools/automake-1.10.2

preparation
verify_digest(){	# $0 method file string
  case "$1" in
  *)
    DIGEST=`echo "$1" | tr a-z A-Z`
    [ "$DIGEST($2)= $3" = "`openssl $1 $2`" ]
    ;;
  esac
}
verify_signature(){	# $0 url|id ... sig
  while [ "$1" != "" ]; do
    case "$1" in
    0x*)
      gpg --recv-keys "$1" || return $?
      ;;
    http:*|ftp:*)
      curl "$1" | gpg --import || return $?
      ;;
    *)
      gpg --verify "$1"
      return $?
    esac
    shift
  done
}
error_out(){	# $0 message ...
  echo "$@" 1>&2
  exit 1
}

curl -RO -C - http://ftp.gnu.org/gnu/automake/automake-1.10.2.tar.gz
curl -RO -C - http://ftp.gnu.org/gnu/automake/automake-1.10.2.tar.gz.sig

verify_signature 0x5D0CDCFC automake-1.10.2.tar.gz.sig || error_out "$0: stopped at line $LINENO"

tar xvzf automake-1.10.2.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/aclocal
/opt/local/bin/aclocal-1.10
/opt/local/bin/automake
/opt/local/bin/automake-1.10
/opt/local/share/aclocal-1.10/amversion.m4
/opt/local/share/aclocal-1.10/as.m4
/opt/local/share/aclocal-1.10/auxdir.m4
/opt/local/share/aclocal-1.10/ccstdc.m4
/opt/local/share/aclocal-1.10/cond.m4
/opt/local/share/aclocal-1.10/depend.m4
/opt/local/share/aclocal-1.10/depout.m4
/opt/local/share/aclocal-1.10/dmalloc.m4
/opt/local/share/aclocal-1.10/gcj.m4
/opt/local/share/aclocal-1.10/header.m4
/opt/local/share/aclocal-1.10/init.m4
/opt/local/share/aclocal-1.10/install-sh.m4
/opt/local/share/aclocal-1.10/lead-dot.m4
/opt/local/share/aclocal-1.10/lex.m4
/opt/local/share/aclocal-1.10/lispdir.m4
/opt/local/share/aclocal-1.10/maintainer.m4
/opt/local/share/aclocal-1.10/make.m4
/opt/local/share/aclocal-1.10/minuso.m4
/opt/local/share/aclocal-1.10/missing.m4
/opt/local/share/aclocal-1.10/mkdirp.m4
/opt/local/share/aclocal-1.10/multi.m4
/opt/local/share/aclocal-1.10/obsol-gt.m4
/opt/local/share/aclocal-1.10/obsol-lt.m4
/opt/local/share/aclocal-1.10/obsolete.m4
/opt/local/share/aclocal-1.10/options.m4
/opt/local/share/aclocal-1.10/protos.m4
/opt/local/share/aclocal-1.10/python.m4
/opt/local/share/aclocal-1.10/regex.m4
/opt/local/share/aclocal-1.10/runlog.m4
/opt/local/share/aclocal-1.10/sanity.m4
/opt/local/share/aclocal-1.10/strip.m4
/opt/local/share/aclocal-1.10/substnot.m4
/opt/local/share/aclocal-1.10/tar.m4
/opt/local/share/aclocal-1.10/upc.m4
/opt/local/share/automake-1.10/acinstall
/opt/local/share/automake-1.10/am/ansi2knr.am
/opt/local/share/automake-1.10/am/check.am
/opt/local/share/automake-1.10/am/clean-hdr.am
/opt/local/share/automake-1.10/am/clean.am
/opt/local/share/automake-1.10/am/compile.am
/opt/local/share/automake-1.10/am/configure.am
/opt/local/share/automake-1.10/am/data.am
/opt/local/share/automake-1.10/am/dejagnu.am
/opt/local/share/automake-1.10/am/depend.am
/opt/local/share/automake-1.10/am/depend2.am
/opt/local/share/automake-1.10/am/distdir.am
/opt/local/share/automake-1.10/am/footer.am
/opt/local/share/automake-1.10/am/header-vars.am
/opt/local/share/automake-1.10/am/header.am
/opt/local/share/automake-1.10/am/inst-vars.am
/opt/local/share/automake-1.10/am/install.am
/opt/local/share/automake-1.10/am/java.am
/opt/local/share/automake-1.10/am/lang-compile.am
/opt/local/share/automake-1.10/am/lex.am
/opt/local/share/automake-1.10/am/library.am
/opt/local/share/automake-1.10/am/libs.am
/opt/local/share/automake-1.10/am/libtool.am
/opt/local/share/automake-1.10/am/lisp.am
/opt/local/share/automake-1.10/am/ltlib.am
/opt/local/share/automake-1.10/am/ltlibrary.am
	:

devel/autotools/autoconf-2.63

preparation
verify_digest(){	# $0 method file string
  case "$1" in
  *)
    DIGEST=`echo "$1" | tr a-z A-Z`
    [ "$DIGEST($2)= $3" = "`openssl $1 $2`" ]
    ;;
  esac
}
verify_signature(){	# $0 url|id ... sig
  while [ "$1" != "" ]; do
    case "$1" in
    0x*)
      gpg --recv-keys "$1" || return $?
      ;;
    http:*|ftp:*)
      curl "$1" | gpg --import || return $?
      ;;
    *)
      gpg --verify "$1"
      return $?
    esac
    shift
  done
}
error_out(){	# $0 message ...
  echo "$@" 1>&2
  exit 1
}

curl -RO -C - http://ftp.gnu.org/gnu/autoconf/autoconf-2.63.tar.gz
curl -RO -C - http://ftp.gnu.org/gnu/autoconf/autoconf-2.63.tar.gz.sig

verify_signature 0xF4850180 autoconf-2.63.tar.gz.sig || error_out "$0: stopped at line $LINENO"

tar xvzf autoconf-2.63.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/autoconf
/opt/local/bin/autoheader
/opt/local/bin/autom4te
/opt/local/bin/autoreconf
/opt/local/bin/autoscan
/opt/local/bin/autoupdate
/opt/local/bin/ifnames
/opt/local/share/autoconf/autoconf/autoconf.m4
/opt/local/share/autoconf/autoconf/autoconf.m4f
/opt/local/share/autoconf/autoconf/autoheader.m4
/opt/local/share/autoconf/autoconf/autoscan.m4
/opt/local/share/autoconf/autoconf/autotest.m4
/opt/local/share/autoconf/autoconf/autoupdate.m4
/opt/local/share/autoconf/autoconf/c.m4
/opt/local/share/autoconf/autoconf/erlang.m4
/opt/local/share/autoconf/autoconf/fortran.m4
/opt/local/share/autoconf/autoconf/functions.m4
/opt/local/share/autoconf/autoconf/general.m4
/opt/local/share/autoconf/autoconf/headers.m4
/opt/local/share/autoconf/autoconf/lang.m4
/opt/local/share/autoconf/autoconf/libs.m4
/opt/local/share/autoconf/autoconf/oldnames.m4
/opt/local/share/autoconf/autoconf/programs.m4
/opt/local/share/autoconf/autoconf/specific.m4
/opt/local/share/autoconf/autoconf/status.m4
/opt/local/share/autoconf/autoconf/types.m4
/opt/local/share/autoconf/Autom4te/C4che.pm
/opt/local/share/autoconf/Autom4te/ChannelDefs.pm
/opt/local/share/autoconf/Autom4te/Channels.pm
/opt/local/share/autoconf/Autom4te/Configure_ac.pm
/opt/local/share/autoconf/Autom4te/FileUtils.pm
/opt/local/share/autoconf/Autom4te/General.pm
/opt/local/share/autoconf/Autom4te/Request.pm
/opt/local/share/autoconf/Autom4te/Struct.pm
/opt/local/share/autoconf/Autom4te/XFile.pm
/opt/local/share/autoconf/autom4te.cfg
/opt/local/share/autoconf/autoscan/autoscan.list
/opt/local/share/autoconf/autotest/autotest.m4
/opt/local/share/autoconf/autotest/autotest.m4f
/opt/local/share/autoconf/autotest/general.m4
/opt/local/share/autoconf/INSTALL
/opt/local/share/autoconf/m4sugar/foreach.m4
/opt/local/share/autoconf/m4sugar/m4sh.m4
/opt/local/share/autoconf/m4sugar/m4sh.m4f
/opt/local/share/autoconf/m4sugar/m4sugar.m4
/opt/local/share/autoconf/m4sugar/m4sugar.m4f
/opt/local/share/autoconf/m4sugar/version.m4
/opt/local/share/emacs/site-lisp/autoconf-mode.el
/opt/local/share/emacs/site-lisp/autoconf-mode.elc
/opt/local/share/emacs/site-lisp/autotest-mode.el
/opt/local/share/emacs/site-lisp/autotest-mode.elc
/opt/local/share/info/autoconf.info
/opt/local/share/info/standards.info
/opt/local/share/man/man1/autoconf.1
/opt/local/share/man/man1/autoheader.1
/opt/local/share/man/man1/autom4te.1
/opt/local/share/man/man1/autoreconf.1
/opt/local/share/man/man1/autoscan.1
/opt/local/share/man/man1/autoupdate.1
/opt/local/share/man/man1/config.guess.1
/opt/local/share/man/man1/config.sub.1
/opt/local/share/man/man1/ifnames.1

devel/autotools/m4-1.4.12

preparation
verify_digest(){	# $0 method file string
  case "$1" in
  *)
    DIGEST=`echo "$1" | tr a-z A-Z`
    [ "$DIGEST($2)= $3" = "`openssl $1 $2`" ]
    ;;
  esac
}
verify_signature(){	# $0 url|id ... sig
  while [ "$1" != "" ]; do
    case "$1" in
    0x*)
      gpg --recv-keys "$1" || return $?
      ;;
    http:*|ftp:*)
      curl "$1" | gpg --import || return $?
      ;;
    *)
      gpg --verify "$1"
      return $?
    esac
    shift
  done
}
error_out(){	# $0 message ...
  echo "$@" 1>&2
  exit 1
}

curl -RO -C - http://ftp.gnu.org/gnu/m4/m4-1.4.12.tar.gz
curl -RO -C - http://ftp.gnu.org/gnu/m4/m4-1.4.12.tar.gz.sig

verify_signature 0xF4850180 m4-1.4.12.tar.gz.sig || error_out "$0: stopped at line $LINENO"

tar xvzf m4-1.4.12.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/m4
/opt/local/share/info/m4.info
/opt/local/share/info/m4.info-1
/opt/local/share/info/m4.info-2
/opt/local/share/man/man1/m4.1

devel/autotools/make-3.81

preparation
verify_digest(){	# $0 method file string
  case "$1" in
  *)
    DIGEST=`echo "$1" | tr a-z A-Z`
    [ "$DIGEST($2)= $3" = "`openssl $1 $2`" ]
    ;;
  esac
}
verify_signature(){	# $0 url|id ... sig
  while [ "$1" != "" ]; do
    case "$1" in
    0x*)
      gpg --recv-keys "$1" || return $?
      ;;
    http:*|ftp:*)
      curl "$1" | gpg --import || return $?
      ;;
    *)
      gpg --verify "$1"
      return $?
    esac
    shift
  done
}
error_out(){	# $0 message ...
  echo "$@" 1>&2
  exit 1
}

curl -RO -C - http://ftp.gnu.org/gnu/make/make-3.81.tar.gz
curl -RO -C - http://ftp.gnu.org/gnu/make/make-3.81.tar.gz.sig

verify_signature 0x6338B6D4 make-3.81.tar.gz.sig || error_out "$0: stopped at line $LINENO"

tar xvzf make-3.81.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/make
/opt/local/info/make.info
/opt/local/info/make.info-1
/opt/local/info/make.info-2
/opt/local/man/man1/make.1
/opt/local/share/locale/be/LC_MESSAGES/make.mo
/opt/local/share/locale/da/LC_MESSAGES/make.mo
/opt/local/share/locale/de/LC_MESSAGES/make.mo
/opt/local/share/locale/es/LC_MESSAGES/make.mo
/opt/local/share/locale/fi/LC_MESSAGES/make.mo
/opt/local/share/locale/fr/LC_MESSAGES/make.mo
/opt/local/share/locale/ga/LC_MESSAGES/make.mo
/opt/local/share/locale/gl/LC_MESSAGES/make.mo
/opt/local/share/locale/he/LC_MESSAGES/make.mo
/opt/local/share/locale/hr/LC_MESSAGES/make.mo
/opt/local/share/locale/id/LC_MESSAGES/make.mo
/opt/local/share/locale/ja/LC_MESSAGES/make.mo
/opt/local/share/locale/ko/LC_MESSAGES/make.mo
/opt/local/share/locale/nl/LC_MESSAGES/make.mo
/opt/local/share/locale/pl/LC_MESSAGES/make.mo
/opt/local/share/locale/pt_BR/LC_MESSAGES/make.mo
/opt/local/share/locale/ru/LC_MESSAGES/make.mo
/opt/local/share/locale/rw/LC_MESSAGES/make.mo
/opt/local/share/locale/sv/LC_MESSAGES/make.mo
/opt/local/share/locale/tr/LC_MESSAGES/make.mo
/opt/local/share/locale/uk/LC_MESSAGES/make.mo
/opt/local/share/locale/vi/LC_MESSAGES/make.mo
/opt/local/share/locale/zh_CN/LC_MESSAGES/make.mo

devel/bzr-1.10

preparation
verify_digest(){	# $0 method file string
  case "$1" in
  *)
    DIGEST=`echo "$1" | tr a-z A-Z`
    [ "$DIGEST($2)= $3" = "`openssl $1 $2`" ]
    ;;
  esac
}
verify_signature(){	# $0 url|id ... sig
  while [ "$1" != "" ]; do
    case "$1" in
    0x*)
      gpg --recv-keys "$1" || return $?
      ;;
    http:*|ftp:*)
      curl "$1" | gpg --import || return $?
      ;;
    *)
      gpg --verify "$1"
      return $?
    esac
    shift
  done
}
error_out(){	# $0 message ...
  echo "$@" 1>&2
  exit 1
}

wget -N --no-check-certificate https://launchpad.net/bzr/1.10/1.10/+download/bzr-1.10.tar.gz
wget -N --no-check-certificate https://launchpad.net/bzr/1.10/1.10/+download/bzr-1.10.tar.gz.sig

verify_signature 0x848D0003 bzr-1.10.tar.gz.sig || error_out "$0: stopped at line $LINENO"

tar xvzf bzr-1.10.tar.gz
build
echo "do nothing"
installation
#
# if you face troubles to complile, then modify top-level Makefile for Pyrhon:
# $ sudo emacs /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config/Makefile
# and try again.
#
./setup.py install --prefix /opt/local
installed
/opt/local/bin/bzr
/opt/local/lib/python2.6/site-packages/bzr-1.10-py2.6.egg-info
/opt/local/lib/python2.6/site-packages/bzrlib/__init__.py
/opt/local/lib/python2.6/site-packages/bzrlib/__init__.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/_btree_serializer_c.so
/opt/local/lib/python2.6/site-packages/bzrlib/_btree_serializer_py.py
/opt/local/lib/python2.6/site-packages/bzrlib/_btree_serializer_py.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/_dirstate_helpers_c.so
/opt/local/lib/python2.6/site-packages/bzrlib/_dirstate_helpers_py.py
/opt/local/lib/python2.6/site-packages/bzrlib/_dirstate_helpers_py.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/_knit_load_data_c.so
/opt/local/lib/python2.6/site-packages/bzrlib/_knit_load_data_py.py
/opt/local/lib/python2.6/site-packages/bzrlib/_knit_load_data_py.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/_patiencediff_c.so
/opt/local/lib/python2.6/site-packages/bzrlib/_patiencediff_py.py
/opt/local/lib/python2.6/site-packages/bzrlib/_patiencediff_py.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/_readdir_py.py
/opt/local/lib/python2.6/site-packages/bzrlib/_readdir_py.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/_readdir_pyx.so
/opt/local/lib/python2.6/site-packages/bzrlib/add.py
/opt/local/lib/python2.6/site-packages/bzrlib/add.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/annotate.py
/opt/local/lib/python2.6/site-packages/bzrlib/annotate.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/api.py
/opt/local/lib/python2.6/site-packages/bzrlib/api.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/atomicfile.py
/opt/local/lib/python2.6/site-packages/bzrlib/atomicfile.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/__init__.py
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/__init__.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_add.py
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_add.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_bench.py
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_bench.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_bundle.py
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_bundle.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_cache_utf8.py
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_cache_utf8.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_checkout.py
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_checkout.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_commit.py
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_commit.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_dirstate.py
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_dirstate.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_info.py
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_info.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_inventory.py
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_inventory.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_knit.py
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_knit.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_log.py
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_log.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_osutils.py
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_osutils.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_pack.py
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_pack.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_rocks.py
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_rocks.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_sftp.py
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_sftp.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_startup.py
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_startup.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_status.py
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_status.pyc
/opt/local/lib/python2.6/site-packages/bzrlib/benchmarks/bench_transform.py
	:

devel/git-1.6.1

preparation
verify_digest(){	# $0 method file string
  case "$1" in
  *)
    DIGEST=`echo "$1" | tr a-z A-Z`
    [ "$DIGEST($2)= $3" = "`openssl $1 $2`" ]
    ;;
  esac
}
verify_signature(){	# $0 url|id ... sig
  while [ "$1" != "" ]; do
    case "$1" in
    0x*)
      gpg --recv-keys "$1" || return $?
      ;;
    http:*|ftp:*)
      curl "$1" | gpg --import || return $?
      ;;
    *)
      gpg --verify "$1"
      return $?
    esac
    shift
  done
}
error_out(){	# $0 message ...
  echo "$@" 1>&2
  exit 1
}

curl -RO -C - http://kernel.org/pub/software/scm/git/git-1.6.1.tar.bz2
curl -RO -C - http://kernel.org/pub/software/scm/git/git-1.6.1.tar.bz2.sign

verify_signature 0x517D0F0E git-1.6.1.tar.bz2.sign || error_out "$0: stopped at line $LINENO"

tar xvjf git-1.6.1.tar.bz2
build
#./configure --prefix=/opt/local
#env SGML_CATALOG_FILES=`pwd`/../docbook-xml-4.2/catalog.xml:`pwd`/../docbook-xsl-1.74.0/catalog.xml make all doc info
env SGML_CATALOG_FILES=`pwd`/../docbook-xml-4.2/catalog.xml:`pwd`/../docbook-xsl-1.74.0/catalog.xml make prefix=/opt/local ASCIIDOC8=YesPlease all doc info
installation
#make install install-doc install-html install-info 
make prefix=/opt/local ASCIIDOC8=YesPlease install install-doc install-html install-info 
installed
/opt/local/bin/git
/opt/local/bin/git-cvsserver
/opt/local/bin/git-receive-pack
/opt/local/bin/git-shell
/opt/local/bin/git-upload-archive
/opt/local/bin/git-upload-pack
/opt/local/bin/gitk
/opt/local/lib/perl5/site_perl/5.8.6/darwin-thread-multi-2level/auto/Git/.packlist
/opt/local/libexec/git-core/git-add--interactive
/opt/local/libexec/git-core/git-am
/opt/local/libexec/git-core/git-archimport
/opt/local/libexec/git-core/git-bisect
/opt/local/libexec/git-core/git-citool
/opt/local/libexec/git-core/git-cvsexportcommit
/opt/local/libexec/git-core/git-cvsimport
/opt/local/libexec/git-core/git-cvsserver
/opt/local/libexec/git-core/git-daemon
/opt/local/libexec/git-core/git-fast-import
/opt/local/libexec/git-core/git-filter-branch
/opt/local/libexec/git-core/git-gui
/opt/local/libexec/git-core/git-gui--askpass
/opt/local/libexec/git-core/git-hash-object
/opt/local/libexec/git-core/git-http-push
/opt/local/libexec/git-core/git-imap-send
/opt/local/libexec/git-core/git-index-pack
/opt/local/libexec/git-core/git-instaweb
/opt/local/libexec/git-core/git-lost-found
/opt/local/libexec/git-core/git-merge-index
/opt/local/libexec/git-core/git-merge-octopus
/opt/local/libexec/git-core/git-merge-one-file
/opt/local/libexec/git-core/git-merge-resolve
/opt/local/libexec/git-core/git-merge-tree
/opt/local/libexec/git-core/git-mergetool
/opt/local/libexec/git-core/git-mktag
/opt/local/libexec/git-core/git-mktree
/opt/local/libexec/git-core/git-pack-redundant
/opt/local/libexec/git-core/git-parse-remote
/opt/local/libexec/git-core/git-patch-id
/opt/local/libexec/git-core/git-pull
/opt/local/libexec/git-core/git-quiltimport
/opt/local/libexec/git-core/git-rebase
/opt/local/libexec/git-core/git-rebase--interactive
/opt/local/libexec/git-core/git-relink
/opt/local/libexec/git-core/git-repack
/opt/local/libexec/git-core/git-request-pull
/opt/local/libexec/git-core/git-send-email
/opt/local/libexec/git-core/git-sh-setup
/opt/local/libexec/git-core/git-shell
/opt/local/libexec/git-core/git-show-index
/opt/local/libexec/git-core/git-stash
/opt/local/libexec/git-core/git-submodule
/opt/local/libexec/git-core/git-svn
/opt/local/libexec/git-core/git-unpack-file
/opt/local/libexec/git-core/git-update-server-info
/opt/local/libexec/git-core/git-upload-pack
/opt/local/libexec/git-core/git-var
/opt/local/libexec/git-core/git-web--browse
/opt/local/share/doc/git-doc/blame-options.txt
/opt/local/share/doc/git-doc/cmds-ancillaryinterrogators.txt
/opt/local/share/doc/git-doc/cmds-ancillarymanipulators.txt
/opt/local/share/doc/git-doc/cmds-foreignscminterface.txt
/opt/local/share/doc/git-doc/cmds-mainporcelain.txt
/opt/local/share/doc/git-doc/cmds-plumbinginterrogators.txt
/opt/local/share/doc/git-doc/cmds-plumbingmanipulators.txt
	:
data_installed
/opt/local/libexec/git-core/git-add
/opt/local/libexec/git-core/git-annotate
/opt/local/libexec/git-core/git-apply
/opt/local/libexec/git-core/git-archive
/opt/local/libexec/git-core/git-blame
/opt/local/libexec/git-core/git-branch
/opt/local/libexec/git-core/git-bundle
/opt/local/libexec/git-core/git-cat-file
/opt/local/libexec/git-core/git-check-attr
/opt/local/libexec/git-core/git-check-ref-format
/opt/local/libexec/git-core/git-checkout
/opt/local/libexec/git-core/git-checkout-index
/opt/local/libexec/git-core/git-cherry
/opt/local/libexec/git-core/git-cherry-pick
/opt/local/libexec/git-core/git-clean
/opt/local/libexec/git-core/git-clone
/opt/local/libexec/git-core/git-commit
/opt/local/libexec/git-core/git-commit-tree
/opt/local/libexec/git-core/git-config
/opt/local/libexec/git-core/git-count-objects
/opt/local/libexec/git-core/git-describe
/opt/local/libexec/git-core/git-diff
/opt/local/libexec/git-core/git-diff-files
/opt/local/libexec/git-core/git-diff-index
/opt/local/libexec/git-core/git-diff-tree
/opt/local/libexec/git-core/git-fast-export
/opt/local/libexec/git-core/git-fetch
/opt/local/libexec/git-core/git-fetch--tool
/opt/local/libexec/git-core/git-fetch-pack
/opt/local/libexec/git-core/git-fmt-merge-msg
/opt/local/libexec/git-core/git-for-each-ref
/opt/local/libexec/git-core/git-format-patch
/opt/local/libexec/git-core/git-fsck
/opt/local/libexec/git-core/git-fsck-objects
/opt/local/libexec/git-core/git-gc
/opt/local/libexec/git-core/git-get-tar-commit-id
/opt/local/libexec/git-core/git-grep
/opt/local/libexec/git-core/git-help
/opt/local/libexec/git-core/git-http-fetch
/opt/local/libexec/git-core/git-init
/opt/local/libexec/git-core/git-init-db
/opt/local/libexec/git-core/git-log
/opt/local/libexec/git-core/git-ls-files
/opt/local/libexec/git-core/git-ls-remote
/opt/local/libexec/git-core/git-ls-tree
/opt/local/libexec/git-core/git-mailinfo
/opt/local/libexec/git-core/git-mailsplit
/opt/local/libexec/git-core/git-merge
/opt/local/libexec/git-core/git-merge-base
/opt/local/libexec/git-core/git-merge-file
/opt/local/libexec/git-core/git-merge-ours
/opt/local/libexec/git-core/git-merge-recursive
/opt/local/libexec/git-core/git-merge-subtree
/opt/local/libexec/git-core/git-mv
/opt/local/libexec/git-core/git-name-rev
/opt/local/libexec/git-core/git-pack-objects
/opt/local/libexec/git-core/git-pack-refs
/opt/local/libexec/git-core/git-peek-remote
/opt/local/libexec/git-core/git-prune
/opt/local/libexec/git-core/git-prune-packed
/opt/local/libexec/git-core/git-push
/opt/local/libexec/git-core/git-read-tree
/opt/local/libexec/git-core/git-receive-pack
/opt/local/libexec/git-core/git-reflog
	:

devel/asciidoc-8.3.3

preparation
curl -RO -C - http://www.methods.co.nz/asciidoc/asciidoc-8.3.3.tar.gz
tar xvzf asciidoc-8.3.3.tar.gz
build
./configure --prefix=/opt/local 
make 
installation
make install docs 
installed
/opt/local/bin/a2x
/opt/local/bin/asciidoc
/opt/local/etc/asciidoc/asciidoc.conf
/opt/local/etc/asciidoc/dblatex/asciidoc-dblatex.sty
/opt/local/etc/asciidoc/dblatex/asciidoc-dblatex.xsl
/opt/local/etc/asciidoc/docbook-xsl/chunked.xsl
/opt/local/etc/asciidoc/docbook-xsl/common.xsl
/opt/local/etc/asciidoc/docbook-xsl/fo.xsl
/opt/local/etc/asciidoc/docbook-xsl/htmlhelp.xsl
/opt/local/etc/asciidoc/docbook-xsl/manpage.xsl
/opt/local/etc/asciidoc/docbook-xsl/text.xsl
/opt/local/etc/asciidoc/docbook-xsl/xhtml.xsl
/opt/local/etc/asciidoc/docbook.conf
/opt/local/etc/asciidoc/filters/code/code-filter.conf
/opt/local/etc/asciidoc/filters/code/code-filter.py
/opt/local/etc/asciidoc/filters/graphviz/graphviz-filter.conf
/opt/local/etc/asciidoc/filters/graphviz/graphviz2png.py
/opt/local/etc/asciidoc/filters/music/music-filter.conf
/opt/local/etc/asciidoc/filters/music/music2png.py
/opt/local/etc/asciidoc/filters/source/source-highlight-filter.conf
/opt/local/etc/asciidoc/help.conf
/opt/local/etc/asciidoc/html4.conf
/opt/local/etc/asciidoc/images/icons/callouts/1.png
/opt/local/etc/asciidoc/images/icons/callouts/10.png
/opt/local/etc/asciidoc/images/icons/callouts/11.png
/opt/local/etc/asciidoc/images/icons/callouts/12.png
/opt/local/etc/asciidoc/images/icons/callouts/13.png
/opt/local/etc/asciidoc/images/icons/callouts/14.png
/opt/local/etc/asciidoc/images/icons/callouts/15.png
/opt/local/etc/asciidoc/images/icons/callouts/2.png
/opt/local/etc/asciidoc/images/icons/callouts/3.png
/opt/local/etc/asciidoc/images/icons/callouts/4.png
/opt/local/etc/asciidoc/images/icons/callouts/5.png
/opt/local/etc/asciidoc/images/icons/callouts/6.png
/opt/local/etc/asciidoc/images/icons/callouts/7.png
/opt/local/etc/asciidoc/images/icons/callouts/8.png
/opt/local/etc/asciidoc/images/icons/callouts/9.png
/opt/local/etc/asciidoc/images/icons/caution.png
/opt/local/etc/asciidoc/images/icons/example.png
/opt/local/etc/asciidoc/images/icons/home.png
/opt/local/etc/asciidoc/images/icons/important.png
/opt/local/etc/asciidoc/images/icons/next.png
/opt/local/etc/asciidoc/images/icons/note.png
/opt/local/etc/asciidoc/images/icons/prev.png
/opt/local/etc/asciidoc/images/icons/README
/opt/local/etc/asciidoc/images/icons/tip.png
/opt/local/etc/asciidoc/images/icons/up.png
/opt/local/etc/asciidoc/images/icons/warning.png
/opt/local/etc/asciidoc/javascripts/ASCIIMathML.js
/opt/local/etc/asciidoc/javascripts/LaTeXMathML.js
/opt/local/etc/asciidoc/javascripts/toc.js
/opt/local/etc/asciidoc/lang-es.conf
/opt/local/etc/asciidoc/latex.conf
/opt/local/etc/asciidoc/stylesheets/docbook-xsl.css
/opt/local/etc/asciidoc/stylesheets/xhtml11-manpage.css
/opt/local/etc/asciidoc/stylesheets/xhtml11-quirks.css
/opt/local/etc/asciidoc/stylesheets/xhtml11.css
/opt/local/etc/asciidoc/text.conf
/opt/local/etc/asciidoc/wordpress.conf
/opt/local/etc/asciidoc/xhtml11-quirks.conf
/opt/local/etc/asciidoc/xhtml11.conf
/opt/local/share/doc/asciidoc/BUGS
/opt/local/share/doc/asciidoc/BUGS.txt
/opt/local/share/doc/asciidoc/CHANGELOG
	:

devel/xmlto-0.0.21

preparation
verify_digest(){	# $0 method file string
  case "$1" in
  *)
    DIGEST=`echo "$1" | tr a-z A-Z`
    [ "$DIGEST($2)= $3" = "`openssl $1 $2`" ]
    ;;
  esac
}
verify_signature(){	# $0 url|id ... sig
  while [ "$1" != "" ]; do
    case "$1" in
    0x*)
      gpg --recv-keys "$1" || return $?
      ;;
    http:*|ftp:*)
      curl "$1" | gpg --import || return $?
      ;;
    *)
      gpg --verify "$1"
      return $?
    esac
    shift
  done
}
error_out(){	# $0 message ...
  echo "$@" 1>&2
  exit 1
}

wget -N --no-check-certificate https://fedorahosted.org/xmlto/export/1/xmlto-0.0.21.tar.bz2
wget -N --no-check-certificate https://fedorahosted.org/xmlto/export/1/xmlto-0.0.21.tar.bz2.sig

verify_signature 0xE4226034 xmlto-0.0.21.tar.bz2.sig || error_out "$0: stopped at line $LINENO"

tar xvjf xmlto-0.0.21.tar.bz2

wget -N http://downloads.sourceforge.net/docbook/docbook-xsl-1.74.0.tar.bz2
tar xvjf tar xvjf docbook-xsl-1.74.0.tar.bz2

wget -N http://www.oasis-open.org/docbook/xml/4.2/docbook-xml-4.2.zip
[ ! -d docbook-xml-4.2 ] && mkdir docbook-xml-4.2
(cd docbook-xml-4.2 &&
unzip ../docbook-xml-4.2.zip
)

(cd xmlto-0.0.21 &&
patch -p0 -b -z.org < ../xmlto-0.0.21-sakuya.patch
)
build
./configure --prefix=/opt/local CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib
env SGML_CATALOG_FILES=`pwd`/../docbook-xml-4.2/catalog.xml:`pwd`/../docbook-xsl-1.74.0/catalog.xml make 
patch
--- ./xmlto.in~	2008-05-30 22:41:31.000000000 +0900
+++ ./xmlto.in	2009-01-10 02:59:33.000000000 +0900
@@ -178,7 +178,8 @@
 export VERBOSE
 
 # Disable network entities
-XSLTOPTS="$XSLTOPTS --nonet"
+#XSLTOPTS="$XSLTOPTS --nonet"
+XSLTOPTS="$XSLTOPTS --nonet --catalogs"
 
 # The names parameter for the XSLT stylesheet
 XSLTPARAMS=""
installed
/opt/local/bin/xmlif
/opt/local/bin/xmlto
/opt/local/share/man/man1/xmlif.1
/opt/local/share/man/man1/xmlto.1
/opt/local/share/xmlto/format/docbook/awt
/opt/local/share/xmlto/format/docbook/dvi
/opt/local/share/xmlto/format/docbook/fo
/opt/local/share/xmlto/format/docbook/html
/opt/local/share/xmlto/format/docbook/html-nochunks
/opt/local/share/xmlto/format/docbook/htmlhelp
/opt/local/share/xmlto/format/docbook/javahelp
/opt/local/share/xmlto/format/docbook/man
/opt/local/share/xmlto/format/docbook/mif
/opt/local/share/xmlto/format/docbook/pcl
/opt/local/share/xmlto/format/docbook/pdf
/opt/local/share/xmlto/format/docbook/ps
/opt/local/share/xmlto/format/docbook/svg
/opt/local/share/xmlto/format/docbook/txt
/opt/local/share/xmlto/format/docbook/xhtml
/opt/local/share/xmlto/format/docbook/xhtml-nochunks
/opt/local/share/xmlto/format/fo/awt
/opt/local/share/xmlto/format/fo/dvi
/opt/local/share/xmlto/format/fo/mif
/opt/local/share/xmlto/format/fo/pcl
/opt/local/share/xmlto/format/fo/pdf
/opt/local/share/xmlto/format/fo/ps
/opt/local/share/xmlto/format/fo/svg
/opt/local/share/xmlto/format/fo/txt
/opt/local/share/xmlto/xmlto.mak

devel/getopt-1.1.4

preparation
curl -RO -C - http://software.frodo.looijaard.name/getopt/files/getopt-1.1.4.tar.gz
tar xvzf getopt-1.1.4.tar.gz
build
make prefix=/opt/local LIBCGETOPT=0 'CC=gcc -I/opt/local/include' 'LDFLAGS=-L/opt/local/lib -lintl' 
installation
make prefix=/opt/local install install_doc 
installed
/opt/local/bin/getopt
/opt/local/lib/getopt/getopt-parse.bash
/opt/local/lib/getopt/getopt-parse.tcsh
/opt/local/lib/getopt/getopt-test.bash
/opt/local/lib/getopt/getopt-test.tcsh
/opt/local/man/man1/getopt.1

science/boost/boost_1_37_0

preparation
wget -N http://downloads.sourceforge.net/boost/boost_1_37_0.tar.bz2
tar xvjf boost_1_37_0.tar.bz2
build
bjam --prefix=/opt/local --toolset=darwin 
installation
bjam --prefix=/opt/local --toolset=darwin install 
installed
/opt/local/include/boost-1_37/boost/accumulators/accumulators.hpp
/opt/local/include/boost-1_37/boost/accumulators/accumulators_fwd.hpp
/opt/local/include/boost-1_37/boost/accumulators/framework/accumulator_base.hpp
/opt/local/include/boost-1_37/boost/accumulators/framework/accumulator_concept.hpp
/opt/local/include/boost-1_37/boost/accumulators/framework/accumulator_set.hpp
/opt/local/include/boost-1_37/boost/accumulators/framework/accumulators/droppable_accumulator.hpp
/opt/local/include/boost-1_37/boost/accumulators/framework/accumulators/external_accumulator.hpp
/opt/local/include/boost-1_37/boost/accumulators/framework/accumulators/reference_accumulator.hpp
/opt/local/include/boost-1_37/boost/accumulators/framework/accumulators/value_accumulator.hpp
/opt/local/include/boost-1_37/boost/accumulators/framework/depends_on.hpp
/opt/local/include/boost-1_37/boost/accumulators/framework/external.hpp
/opt/local/include/boost-1_37/boost/accumulators/framework/extractor.hpp
/opt/local/include/boost-1_37/boost/accumulators/framework/features.hpp
/opt/local/include/boost-1_37/boost/accumulators/framework/parameters/accumulator.hpp
/opt/local/include/boost-1_37/boost/accumulators/framework/parameters/sample.hpp
/opt/local/include/boost-1_37/boost/accumulators/framework/parameters/weight.hpp
/opt/local/include/boost-1_37/boost/accumulators/framework/parameters/weights.hpp
/opt/local/include/boost-1_37/boost/accumulators/numeric/detail/function1.hpp
/opt/local/include/boost-1_37/boost/accumulators/numeric/detail/function2.hpp
/opt/local/include/boost-1_37/boost/accumulators/numeric/detail/function3.hpp
/opt/local/include/boost-1_37/boost/accumulators/numeric/detail/function4.hpp
/opt/local/include/boost-1_37/boost/accumulators/numeric/detail/function_n.hpp
/opt/local/include/boost-1_37/boost/accumulators/numeric/detail/pod_singleton.hpp
/opt/local/include/boost-1_37/boost/accumulators/numeric/functional/complex.hpp
/opt/local/include/boost-1_37/boost/accumulators/numeric/functional/valarray.hpp
/opt/local/include/boost-1_37/boost/accumulators/numeric/functional/vector.hpp
/opt/local/include/boost-1_37/boost/accumulators/numeric/functional.hpp
/opt/local/include/boost-1_37/boost/accumulators/numeric/functional_fwd.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/count.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/covariance.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/density.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/error_of.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/error_of_mean.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/extended_p_square.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/extended_p_square_quantile.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/kurtosis.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/max.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/mean.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/median.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/min.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/moment.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/p_square_cumulative_distribution.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/p_square_quantile.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/parameters/quantile_probability.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/peaks_over_threshold.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/pot_quantile.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/pot_tail_mean.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/skewness.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/stats.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/sum.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/tail.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/tail_mean.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/tail_quantile.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/tail_variate.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/tail_variate_means.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/times2_iterator.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/variance.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/variates/covariate.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/weighted_covariance.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/weighted_density.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/weighted_extended_p_square.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/weighted_kurtosis.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/weighted_mean.hpp
/opt/local/include/boost-1_37/boost/accumulators/statistics/weighted_median.hpp
	:

science/boost/boost-jam-3.1.17

preparation
wget -N http://downloads.sourceforge.net/boost/boost-jam-3.1.17.tgz
tar xvzf boost-jam-3.1.17.tgz
(cd boost-jam-3.1.17 && patch -p0 -b -z.org < ../boost-jam-3.1.17-sakuya.patch)
build
./build.sh 
patch
--- ./Jambase~	2007-12-03 12:27:54.000000000 +0900
+++ ./Jambase	2007-12-14 00:10:40.000000000 +0900
@@ -909,7 +909,7 @@
     case MACOSX :
     AR          ?= libtool -o ;
     C++         ?= c++ ;
-    MANDIR      ?= /usr/local/share/man ;
+    MANDIR      ?= /opt/local/share/man ;
     RANLIB      ?= "" ;
 
     case NCR :
@@ -974,7 +974,7 @@
     AS          ?= as ;
     ASFLAGS     ?= ;
     AWK         ?= awk ;
-    BINDIR      ?= /usr/local/bin ;
+    BINDIR      ?= /opt/local/bin ;
     C++         ?= cc ;
     C++FLAGS    ?= ;
     CC          ?= cc ;
@@ -992,12 +992,12 @@
     JAMFILE     ?= Jamfile ;
     JAMRULES    ?= Jamrules ;
     LEX         ?= ;
-    LIBDIR      ?= /usr/local/lib ;
+    LIBDIR      ?= /opt/local/lib ;
     LINK        ?= $(CC) ;
     LINKFLAGS   ?= ;
     LINKLIBS    ?= ;
     LN          ?= ln ;
-    MANDIR      ?= /usr/local/man ;
+    MANDIR      ?= /opt/local/man ;
     MKDIR       ?= mkdir ;
     MV          ?= mv -f ;
     OPTIM       ?= ;
installation
cp bin.macosxppc/bjam /opt/local/bin/ 
installed
/opt/local/bin/bjam

net/libdnet-1.12

preparation
curl -RO -C - http://libdnet.googlecode.com/files/libdnet-1.12.tgz
tar xvzf libdnet-1.12.tgz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/dnet-config
/opt/local/include/dnet/addr.h
/opt/local/include/dnet/arp.h
/opt/local/include/dnet/blob.h
/opt/local/include/dnet/eth.h
/opt/local/include/dnet/fw.h
/opt/local/include/dnet/icmp.h
/opt/local/include/dnet/intf.h
/opt/local/include/dnet/ip.h
/opt/local/include/dnet/ip6.h
/opt/local/include/dnet/os.h
/opt/local/include/dnet/rand.h
/opt/local/include/dnet/route.h
/opt/local/include/dnet/tcp.h
/opt/local/include/dnet/tun.h
/opt/local/include/dnet/udp.h
/opt/local/include/dnet.h
/opt/local/lib/libdnet
/opt/local/lib/libdnet.1
/opt/local/lib/libdnet.1.0.1
/opt/local/lib/libdnet.a
/opt/local/lib/libdnet.la
/opt/local/man/man3/dnet.3
/opt/local/man/man8/dnet.8
/opt/local/sbin/dnet

x11/misc/xdu-3.0

preparation
curl -RO -C - http://www.nn.iij4u.or.jp/~tutimura/xdu/xdu-3.0.tar.Z
curl -RO -C - http://www.nn.iij4u.or.jp/~tutimura/xdu/xdu-3.0_du-h.patch.gz
curl -RO -C - http://www.nn.iij4u.or.jp/~tutimura/xdu/xdu-3.0.dirname.patch
curl -RO -C - http://www.nn.iij4u.or.jp/~tutimura/xdu/xdu-3.0.i18n.patch
curl -RO -C - http://archive.ubuntu.com/ubuntu/pool/universe/x/xdu/xdu_3.0-17.diff.gz
[ ! -d xdu-3.0 ] && mkdir xdu-3.0
(cd xdu-3.0 &&
tar xvzf ../xdu-3.0.tar.Z
gzcat ../xdu-3.0_du-h.patch.gz | patch -p1 -b -z.org0
#cat ../xdu-3.0.dirname.patch | patch -p1 -b -z.org1
cat ../xdu-3.0.i18n.patch | patch -p1 -b -z.org2
#gzcat ../xdu_3.0-17.diff.gz | patch -p1 -b -z.org0
)
build
xmkmf -a 
make 
installed
/usr/X11R6/bin/xdu
/usr/X11R6/lib/X11/doc/html/xdu.1.html
/usr/X11R6/man/man1/xdu.1
/etc/X11/app-defaults/XDu

misc/du2ps-3.1

preparation
curl -RO -C - http://www.line.to/mac/soft/du2ps/du2ps-3.1.tgz
tar xvzf du2ps-3.1.tgz
(cd du2ps-3.1 &&
patch -p0 < ../du2ps-3.1-sakuya.patch)
build
make 
patch
--- ./Makefile~	2005-02-19 17:30:33.000000000 +0900
+++ ./Makefile	2008-07-25 05:54:24.000000000 +0900
@@ -1,5 +1,6 @@
 # du2ps makefile
 
+prefix=/opt/local
 LIB = -lm
 NAME = du2ps
 #CC = gcc
@@ -15,3 +16,10 @@
 	rm -f $(BINDIR)/$(NAME) *.o *~ tmp
 
 $(OBJ): du2ps.h
+
+install:
+	cp du2ps $(prefix)/bin
+
+install.man:
+	chmod -x du2ps.1
+	cp du2ps.1 $(prefix)/man/man1
installed
/opt/local/bin/du2ps
/opt/local/man/man1/du2ps.1

lang/ps/psutils-1.17

preparation
curl -RO -C - http://ftp.de.debian.org/debian/pool/main/p/psutils/psutils_1.17.orig.tar.gz
curl -RO -C - http://ftp.de.debian.org/debian/pool/main/p/psutils/psutils_1.17-24.diff.gz
tar xvzf psutils_1.17.orig.tar.gz && mv psutils-1.17.orig psutils-1.17
(cd psutils-1.17 &&
gzcat ../psutils_1.17-24.diff.gz | patch -p1
patch -p1 < debian/patches/misc.diff
patch -p0 < debian/patches/psmerge.diff
patch -p1 < debian/patches/showchar-manpage.diff
patch -p0 -b -z.org < ../psutils-1.17-sakuya.patch
)
build
make 
patch
--- ./Makefile.org	2008-05-25 07:53:41.000000000 +0900
+++ ./Makefile	2008-05-25 08:52:45.000000000 +0900
@@ -20,16 +20,17 @@
 # psresize scales and moves pages to fit on different paper sizes
 
 PAPER=a4
+#DEBIAN_LDLIBS_PAPER=-lpaper
 
 # Makefile for PSUtils under Unix
 
 OS = UNIX
-prefix=/usr
+prefix=/opt/local
 
 BINDIR = $(prefix)/bin
 SCRIPTDIR = $(BINDIR)
 INCLUDEDIR = $(prefix)/lib/psutils
-PERL = $(prefix)/bin/perl
+PERL = /usr/bin/perl
 
 BINMODE = 0755
 MANMODE = 0644
@@ -41,7 +42,8 @@
 
 CC = gcc
 #CFLAGS = -DPAPER=\"$(PAPER)\" -DUNIX -O -Wall
-CFLAGS = -DDEBIAN -DUNIX -O2 -g -Wall -Werror
+#CFLAGS = -DDEBIAN -DUNIX -O2 -g -Wall -Werror
+CFLAGS = -DPAPER=\"$(PAPER)\" -DUNIX -O2 -Wall -Werror
 
 BIN = psbook psselect pstops epsffit psnup \
 	psresize
@@ -72,13 +74,13 @@
 	$(CC) $(CCFLAGS) -o epsffit pserror.o epsffit.o
 
 psnup: psnup.o psutil.o psspec.o pserror.o
-	$(CC) $(CCFLAGS) -o psnup psutil.o psspec.o pserror.o psnup.o -lpaper
+	$(CC) $(CCFLAGS) -o psnup psutil.o psspec.o pserror.o psnup.o $(DEBIAN_LDLIBS_PAPER)
 
 psnup.o: psutil.h patchlev.h psspec.h pserror.h psnup.c
 
 psresize: psresize.o psutil.o pserror.o psspec.o
 	$(CC) $(CCFLAGS) -o psresize psutil.o psspec.o pserror.o psresize.o \
-          -lpaper
+          $(DEBIAN_LDLIBS_PAPER)
 
 psresize.o: psutil.h patchlev.h psspec.h pserror.h psresize.c
 
@@ -93,7 +95,7 @@
 psselect.o: psutil.h patchlev.h pserror.h psselect.c
 
 pstops: pstops.o psutil.o psspec.o pserror.o
-	$(CC) $(CCFLAGS) -o pstops psutil.o psspec.o pserror.o pstops.o -lpaper
+	$(CC) $(CCFLAGS) -o pstops psutil.o psspec.o pserror.o pstops.o $(DEBIAN_LDLIBS_PAPER)
 
 pstops.o: psutil.h patchlev.h psspec.h pserror.h pstops.c
 
installed
/opt/local/bin/epsffit
/opt/local/bin/extractres
/opt/local/bin/fixdlsrps
/opt/local/bin/fixfmps
/opt/local/bin/fixmacps
/opt/local/bin/fixpsditps
/opt/local/bin/fixpspps
/opt/local/bin/fixscribeps
/opt/local/bin/fixtpps
/opt/local/bin/fixwfwps
/opt/local/bin/fixwpps
/opt/local/bin/fixwwps
/opt/local/bin/getafm
/opt/local/bin/includeres
/opt/local/bin/psbook
/opt/local/bin/psmerge
/opt/local/bin/psnup
/opt/local/bin/psresize
/opt/local/bin/psselect
/opt/local/bin/pstops
/opt/local/bin/showchar
/opt/local/lib/psutils/md68_0.ps
/opt/local/lib/psutils/md71_0.ps
/opt/local/man/man1/epsffit.1
/opt/local/man/man1/extractres.1
/opt/local/man/man1/fixdlsrps.1
/opt/local/man/man1/fixfmps.1
/opt/local/man/man1/fixmacps.1
/opt/local/man/man1/fixpsditps.1
/opt/local/man/man1/fixpspps.1
/opt/local/man/man1/fixscribeps.1
/opt/local/man/man1/fixtpps.1
/opt/local/man/man1/fixwfwps.1
/opt/local/man/man1/fixwpps.1
/opt/local/man/man1/fixwwps.1
/opt/local/man/man1/getafm.1
/opt/local/man/man1/includeres.1
/opt/local/man/man1/psbook.1
/opt/local/man/man1/psmerge.1
/opt/local/man/man1/psnup.1
/opt/local/man/man1/psresize.1
/opt/local/man/man1/psselect.1
/opt/local/man/man1/pstops.1
/opt/local/man/man1/showchar.1

libs/gd-2.0.35

preparation
wget -N http://www.libgd.org/releases/gd-2.0.35.tar.gz
tar xvzf gd-2.0.35.tar.gz
build
./configure CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib --prefix=/opt/local 
make 
installed
/opt/local/bin/annotate
/opt/local/bin/bdftogd
/opt/local/bin/gd2copypal
/opt/local/bin/gd2togif
/opt/local/bin/gd2topng
/opt/local/bin/gdcmpgif
/opt/local/bin/gdlib-config
/opt/local/bin/gdparttopng
/opt/local/bin/gdtopng
/opt/local/bin/giftogd2
/opt/local/bin/pngtogd
/opt/local/bin/pngtogd2
/opt/local/bin/webpng
/opt/local/include/entities.h
/opt/local/include/gd.h
/opt/local/include/gd_io.h
/opt/local/include/gdcache.h
/opt/local/include/gdfontg.h
/opt/local/include/gdfontl.h
/opt/local/include/gdfontmb.h
/opt/local/include/gdfonts.h
/opt/local/include/gdfontt.h
/opt/local/include/gdfx.h
/opt/local/lib/libgd.2.0.0.dylib
/opt/local/lib/libgd.2.dylib
/opt/local/lib/libgd.a
/opt/local/lib/libgd.dylib
/opt/local/lib/libgd.la

img/ImageMagick-6.4.1

preparation
curl -RO -C - http://ring.atr.jp/archives/graphics/ImageMagick/ImageMagick-6.4.1-3.tar.bz2
tar xvjf ImageMagick-6.4.1-3.tar.bz2
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local --with-bzlib --with-dps --without-fpx --with-freetype --without-gslib --without-gvc --without-jbig --with-jpeg --with-jp2 --with-lcms --with-magick-plus-plus --without-perl --with-png --with-tiff --without-wmf --with-x --with-xml --without-rsvg --with-zlib --without-djvu --without-gvc --without-openexr 
make
installed
/opt/local/bin/animate
/opt/local/bin/compare
/opt/local/bin/composite
/opt/local/bin/conjure
/opt/local/bin/convert
/opt/local/bin/display
/opt/local/bin/identify
/opt/local/bin/import
/opt/local/bin/Magick++-config
/opt/local/bin/Magick-config
/opt/local/bin/MagickCore-config
/opt/local/bin/MagickWand-config
/opt/local/bin/mogrify
/opt/local/bin/montage
/opt/local/bin/stream
/opt/local/bin/Wand-config
/opt/local/include/ImageMagick/magick/animate.h
/opt/local/include/ImageMagick/magick/annotate.h
/opt/local/include/ImageMagick/magick/api.h
/opt/local/include/ImageMagick/magick/artifact.h
/opt/local/include/ImageMagick/magick/blob.h
/opt/local/include/ImageMagick/magick/cache-view.h
/opt/local/include/ImageMagick/magick/cache.h
/opt/local/include/ImageMagick/magick/cipher.h
/opt/local/include/ImageMagick/magick/client.h
/opt/local/include/ImageMagick/magick/coder.h
/opt/local/include/ImageMagick/magick/color.h
/opt/local/include/ImageMagick/magick/colorspace.h
/opt/local/include/ImageMagick/magick/compare.h
/opt/local/include/ImageMagick/magick/composite.h
/opt/local/include/ImageMagick/magick/compress.h
/opt/local/include/ImageMagick/magick/configure.h
/opt/local/include/ImageMagick/magick/constitute.h
/opt/local/include/ImageMagick/magick/decorate.h
/opt/local/include/ImageMagick/magick/delegate.h
/opt/local/include/ImageMagick/magick/deprecate.h
/opt/local/include/ImageMagick/magick/display.h
/opt/local/include/ImageMagick/magick/distort.h
/opt/local/include/ImageMagick/magick/draw.h
/opt/local/include/ImageMagick/magick/effect.h
/opt/local/include/ImageMagick/magick/enhance.h
/opt/local/include/ImageMagick/magick/exception.h
/opt/local/include/ImageMagick/magick/fx.h
/opt/local/include/ImageMagick/magick/gem.h
/opt/local/include/ImageMagick/magick/geometry.h
/opt/local/include/ImageMagick/magick/hashmap.h
/opt/local/include/ImageMagick/magick/identify.h
/opt/local/include/ImageMagick/magick/image.h
/opt/local/include/ImageMagick/magick/ImageMagick.h
/opt/local/include/ImageMagick/magick/layer.h
/opt/local/include/ImageMagick/magick/list.h
/opt/local/include/ImageMagick/magick/locale_.h
/opt/local/include/ImageMagick/magick/log.h
/opt/local/include/ImageMagick/magick/magic.h
/opt/local/include/ImageMagick/magick/magick-config.h
/opt/local/include/ImageMagick/magick/magick-type.h
/opt/local/include/ImageMagick/magick/magick.h
/opt/local/include/ImageMagick/magick/MagickCore.h
/opt/local/include/ImageMagick/magick/matrix.h
/opt/local/include/ImageMagick/magick/memory_.h
/opt/local/include/ImageMagick/magick/methods.h
/opt/local/include/ImageMagick/magick/mime.h
/opt/local/include/ImageMagick/magick/module.h
/opt/local/include/ImageMagick/magick/monitor.h
:

secure/clamav-0.93

preparation
verify_digest(){	# $0 method file string
  case "$1" in
  *)
    DIGEST=`echo "$1" | tr a-z A-Z`
    [ "$DIGEST($2)= $3" = "`openssl $1 $2`" ]
    ;;
  esac
}
verify_signature(){	# $0 url|id sig
  case "$1" in
  0x*)
    gpg --recv-keys "$1" && gpg --verify "$2"
    ;;
  *)
    curl "$1" | gpg --import && gpg --verify "$2"
    ;;
  esac
}
error_out(){	# $0 message ...
  echo "$@" 1>&2
  exit 1
}

curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/clamav/clamav-0.93.tar.gz
curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/clamav/clamav-0.93.tar.gz.sig
verify_signature http://www.clamav.net/gpg/tkojm.gpg clamav-0.93.tar.gz.sig || error_out "$0: stopped at line $LINENO"

tar xvzf clamav-0.93.tar.gz
(cd clamav-0.93 && patch -p0 -b -z.org < ../clamav-0.93-sakuya.patch)
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local/clamav 
make 
patch
--- ./configure~	2008-04-10 00:55:27.000000000 +0900
+++ ./configure	2008-05-23 22:21:27.000000000 +0900
@@ -11427,6 +11427,7 @@
 
 
 
+if false; then
 { echo "$as_me:$LINENO: checking for gcc bug PR28045" >&5
 echo $ECHO_N "checking for gcc bug PR28045... $ECHO_C" >&6; }
 if test "$cross_compiling" = yes; then
@@ -11496,6 +11497,7 @@
 fi
 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 fi
+fi
 
 
 
--- ./etc/clamd.conf~	2008-03-07 03:41:13.000000000 +0900
+++ ./etc/clamd.conf	2008-05-23 22:40:38.000000000 +0900
@@ -5,13 +5,14 @@
 
 
 # Comment or remove the line below.
-Example
+#Example
 
 # Uncomment this option to enable logging.
 # LogFile must be writable for the user running daemon.
 # A full path is required.
 # Default: disabled
 #LogFile /tmp/clamd.log
+LogFile /tmp/clamd.log
 
 # By default the log file is locked for writing - the lock protects against
 # running clamd multiple times (if want to run another clamd, please
@@ -55,6 +56,7 @@
 # daemon (main thread).
 # Default: disabled
 #PidFile /var/run/clamd.pid
+PidFile /tmp/clamd.pid
 
 # Optional path to the global temporary directory.
 # Default: system specific (usually /tmp or /var/tmp).
@@ -63,6 +65,7 @@
 # Path to the database directory.
 # Default: hardcoded (depends on installation options)
 #DatabaseDirectory /var/lib/clamav
+DatabaseDirectory /opt/local/clamav/share/clamav
 
 # The daemon works in a local OR a network mode. Due to security reasons we
 # recommend the local mode.
@@ -85,6 +88,7 @@
 # from the outside world.
 # Default: no
 #TCPAddr 127.0.0.1
+TCPAddr 127.0.0.1
 
 # Maximum length the queue of pending connections may grow to.
 # Default: 15
@@ -142,6 +146,7 @@
 # Run as another user (clamd must be started by root for this option to work)
 # Default: don't drop privileges
 #User clamav
+User clamav
 
 # Initialize supplementary group access (clamd must be started by root).
 # Default: no
--- ./etc/freshclam.conf~	2008-03-07 03:41:13.000000000 +0900
+++ ./etc/freshclam.conf	2008-05-23 22:42:32.000000000 +0900
@@ -5,16 +5,18 @@
 
 
 # Comment or remove the line below.
-Example
+#Example
 
 # Path to the database directory.
 # WARNING: It must match clamd.conf's directive!
 # Default: hardcoded (depends on installation options)
 #DatabaseDirectory /var/lib/clamav
+DatabaseDirectory /opt/local/clamav/share/clamav
 
 # Path to the log file (make sure it has proper permissions)
 # Default: disabled
 #UpdateLogFile /var/log/freshclam.log
+UpdateLogFile /tmp/freshclam.log
 
 # Maximum size of the log file.
 # Value of 0 disables the limit.
@@ -44,11 +46,13 @@
 # This option allows you to save the process identifier of the daemon
 # Default: disabled
 #PidFile /var/run/freshclam.pid
+PidFile /tmp/freshclam.pid
 
 # By default when started freshclam drops privileges and switches to the
 # "clamav" user. This directive allows you to change the database owner.
 # Default: clamav (may depend on installation options)
 #DatabaseOwner clamav
+DatabaseOwner clamav
 
 # Initialize supplementary group access (freshclam must be started by root).
 # Default: no
installed
/opt/local/clamav/bin/clamav-config
/opt/local/clamav/bin/clamconf
/opt/local/clamav/bin/clamdscan
/opt/local/clamav/bin/clamscan
/opt/local/clamav/bin/freshclam
/opt/local/clamav/bin/sigtool
/opt/local/clamav/etc/clamd.conf
/opt/local/clamav/etc/freshclam.conf
/opt/local/clamav/include/clamav.h
/opt/local/clamav/lib/libclamav.4.0.1.dylib
/opt/local/clamav/lib/libclamav.4.dylib
/opt/local/clamav/lib/libclamav.a
/opt/local/clamav/lib/libclamav.dylib
/opt/local/clamav/lib/libclamav.la
/opt/local/clamav/lib/libclamunrar.4.0.1.dylib
/opt/local/clamav/lib/libclamunrar.4.dylib
/opt/local/clamav/lib/libclamunrar.a
/opt/local/clamav/lib/libclamunrar.dylib
/opt/local/clamav/lib/libclamunrar.la
/opt/local/clamav/lib/libclamunrar_iface.4.0.1.dylib
/opt/local/clamav/lib/libclamunrar_iface.4.dylib
/opt/local/clamav/lib/libclamunrar_iface.a
/opt/local/clamav/lib/libclamunrar_iface.dylib
/opt/local/clamav/lib/libclamunrar_iface.la
/opt/local/clamav/lib/pkgconfig/libclamav.pc
/opt/local/clamav/sbin/clamd
/opt/local/clamav/share/clamav/daily.cvd
/opt/local/clamav/share/clamav/main.cvd
/opt/local/clamav/share/man/man1/clamconf.1
/opt/local/clamav/share/man/man1/clamdscan.1
/opt/local/clamav/share/man/man1/clamscan.1
/opt/local/clamav/share/man/man1/freshclam.1
/opt/local/clamav/share/man/man1/sigtool.1
/opt/local/clamav/share/man/man5/clamd.conf.5
/opt/local/clamav/share/man/man5/freshclam.conf.5
/opt/local/clamav/share/man/man8/clamav-milter.8
/opt/local/clamav/share/man/man8/clamd.8
host_configuration
[ ! -d /System/Library/StartupItems/Clamd ] && \
mkdir /System/Library/StartupItems/Clamd
if [ ! -f /System/Library/StartupItems/Clamd/Clamd ]; then
  cat <<EOF > /System/Library/StartupItems/Clamd/Clamd
#!/bin/sh

##
# ClamAV Server
##

. /etc/rc.common

StartService ()
{
	/opt/local/clamav/bin/freshclam -d
	/opt/local/clamav/sbin/clamd
}

StopService ()
{
	killall -9 freshclam
	killall -9 clamd
}

RestartService () { StopService; StartService; }

RunService "\$1"
EOF
  chmod +x /System/Library/StartupItems/Clamd/Clamd
fi
if [ ! -f /System/Library/StartupItems/Clamd/StartupParameters.plist ]; then
  cat <<EOF > /System/Library/StartupItems/Clamd/StartupParameters.plist
{
  Description     = "ClamAV Server";
  Provides        = ("ClamAV Server");
}
EOF
fi
#/System/Library/StartupItems/Clamd/Clamd start

net/rdesktop-1.5.0

preparation
curl -RO -C - http://nchc.dl.sourceforge.net/sourceforge/rdesktop/rdesktop-1.5.0.tar.gz
tar xvzf rdesktop-1.5.0.tar.gz
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local 
make 'CC=gcc -I/opt/local/include' 
installed
/opt/local/bin/rdesktop
/opt/local/man/man1/rdesktop.1
/opt/local/share/rdesktop/keymaps/ar
/opt/local/share/rdesktop/keymaps/common
/opt/local/share/rdesktop/keymaps/cs
/opt/local/share/rdesktop/keymaps/da
/opt/local/share/rdesktop/keymaps/de
/opt/local/share/rdesktop/keymaps/de-ch
/opt/local/share/rdesktop/keymaps/en-dv
/opt/local/share/rdesktop/keymaps/en-gb
/opt/local/share/rdesktop/keymaps/en-us
/opt/local/share/rdesktop/keymaps/es
/opt/local/share/rdesktop/keymaps/et
/opt/local/share/rdesktop/keymaps/fi
/opt/local/share/rdesktop/keymaps/fo
/opt/local/share/rdesktop/keymaps/fr
/opt/local/share/rdesktop/keymaps/fr-be
/opt/local/share/rdesktop/keymaps/fr-ca
/opt/local/share/rdesktop/keymaps/fr-ch
/opt/local/share/rdesktop/keymaps/he
/opt/local/share/rdesktop/keymaps/hr
/opt/local/share/rdesktop/keymaps/hu
/opt/local/share/rdesktop/keymaps/is
/opt/local/share/rdesktop/keymaps/it
/opt/local/share/rdesktop/keymaps/ja
/opt/local/share/rdesktop/keymaps/ko
/opt/local/share/rdesktop/keymaps/lt
/opt/local/share/rdesktop/keymaps/lv
/opt/local/share/rdesktop/keymaps/mk
/opt/local/share/rdesktop/keymaps/modifiers
/opt/local/share/rdesktop/keymaps/nl
/opt/local/share/rdesktop/keymaps/nl-be
/opt/local/share/rdesktop/keymaps/no
/opt/local/share/rdesktop/keymaps/pl
/opt/local/share/rdesktop/keymaps/pt
/opt/local/share/rdesktop/keymaps/pt-br
/opt/local/share/rdesktop/keymaps/ru
/opt/local/share/rdesktop/keymaps/sl
/opt/local/share/rdesktop/keymaps/sv
/opt/local/share/rdesktop/keymaps/th
/opt/local/share/rdesktop/keymaps/tr

secure/tokyocabinet-1.2.1

preparation
curl -RO -C - http://tokyocabinet.sourceforge.net/tokyocabinet-1.2.1.tar.gz
tar xvzf tokyocabinet-1.2.1.tar.gz
build
./configure --prefix=/opt/local/tokyocabinet-1.2.1 
make 
installation
make install 
installed
/opt/local/tokyocabinet-1.2.1/bin/tcamgr
/opt/local/tokyocabinet-1.2.1/bin/tcatest
/opt/local/tokyocabinet-1.2.1/bin/tcbmgr
/opt/local/tokyocabinet-1.2.1/bin/tcbmttest
/opt/local/tokyocabinet-1.2.1/bin/tcbtest
/opt/local/tokyocabinet-1.2.1/bin/tchmgr
/opt/local/tokyocabinet-1.2.1/bin/tchmttest
/opt/local/tokyocabinet-1.2.1/bin/tchtest
/opt/local/tokyocabinet-1.2.1/bin/tcucodec
/opt/local/tokyocabinet-1.2.1/bin/tcumttest
/opt/local/tokyocabinet-1.2.1/bin/tcutest
/opt/local/tokyocabinet-1.2.1/include/tcadb.h
/opt/local/tokyocabinet-1.2.1/include/tcbdb.h
/opt/local/tokyocabinet-1.2.1/include/tchdb.h
/opt/local/tokyocabinet-1.2.1/include/tcutil.h
/opt/local/tokyocabinet-1.2.1/lib/libtokyocabinet.3.2.0.dylib
/opt/local/tokyocabinet-1.2.1/lib/libtokyocabinet.3.dylib
/opt/local/tokyocabinet-1.2.1/lib/libtokyocabinet.a
/opt/local/tokyocabinet-1.2.1/lib/libtokyocabinet.dylib
/opt/local/tokyocabinet-1.2.1/lib/pkgconfig/tokyocabinet.pc
/opt/local/tokyocabinet-1.2.1/man/man1/tcamgr.1
/opt/local/tokyocabinet-1.2.1/man/man1/tcatest.1
/opt/local/tokyocabinet-1.2.1/man/man1/tcbmgr.1
/opt/local/tokyocabinet-1.2.1/man/man1/tcbmttest.1
/opt/local/tokyocabinet-1.2.1/man/man1/tcbtest.1
/opt/local/tokyocabinet-1.2.1/man/man1/tchmgr.1
/opt/local/tokyocabinet-1.2.1/man/man1/tchmttest.1
/opt/local/tokyocabinet-1.2.1/man/man1/tchtest.1
/opt/local/tokyocabinet-1.2.1/man/man1/tcucodec.1
/opt/local/tokyocabinet-1.2.1/man/man1/tcumttest.1
/opt/local/tokyocabinet-1.2.1/man/man1/tcutest.1
/opt/local/tokyocabinet-1.2.1/man/man3/tcadb.3
/opt/local/tokyocabinet-1.2.1/man/man3/tcbdb.3
/opt/local/tokyocabinet-1.2.1/man/man3/tchdb.3
/opt/local/tokyocabinet-1.2.1/man/man3/tclist.3
/opt/local/tokyocabinet-1.2.1/man/man3/tcmap.3
/opt/local/tokyocabinet-1.2.1/man/man3/tcmdb.3
/opt/local/tokyocabinet-1.2.1/man/man3/tcmpool.3
/opt/local/tokyocabinet-1.2.1/man/man3/tcutil.3
/opt/local/tokyocabinet-1.2.1/man/man3/tcxstr.3
/opt/local/tokyocabinet-1.2.1/man/man3/tokyocabinet.3
/opt/local/tokyocabinet-1.2.1/share/tokyocabinet/ChangeLog
/opt/local/tokyocabinet-1.2.1/share/tokyocabinet/COPYING
/opt/local/tokyocabinet-1.2.1/share/tokyocabinet/doc/benchmark.pdf
/opt/local/tokyocabinet-1.2.1/share/tokyocabinet/doc/common.css
/opt/local/tokyocabinet-1.2.1/share/tokyocabinet/doc/icon16.png
/opt/local/tokyocabinet-1.2.1/share/tokyocabinet/doc/index.html
/opt/local/tokyocabinet-1.2.1/share/tokyocabinet/doc/index.ja.html
/opt/local/tokyocabinet-1.2.1/share/tokyocabinet/doc/logo-ja.png
/opt/local/tokyocabinet-1.2.1/share/tokyocabinet/doc/logo.png
/opt/local/tokyocabinet-1.2.1/share/tokyocabinet/doc/spex-en.html
/opt/local/tokyocabinet-1.2.1/share/tokyocabinet/doc/spex-ja.html
/opt/local/tokyocabinet-1.2.1/share/tokyocabinet/THANKS

secure/qdbm-1.8.77

preparation
curl -RO -C - http://qdbm.sourceforge.net/qdbm-1.8.77.tar.gz
tar xvzf qdbm-1.8.77.tar.gz
build
./configure --prefix=/opt/local 
make mac 
installation
make install-mac 
installed
/opt/local/bin/cbcodec
/opt/local/bin/cbtest
/opt/local/bin/crmgr
/opt/local/bin/crtest
/opt/local/bin/crtsv
/opt/local/bin/dpmgr
/opt/local/bin/dptest
/opt/local/bin/dptsv
/opt/local/bin/hvmgr
/opt/local/bin/hvtest
/opt/local/bin/odidx
/opt/local/bin/odmgr
/opt/local/bin/odtest
/opt/local/bin/qmttest
/opt/local/bin/rlmgr
/opt/local/bin/rltest
/opt/local/bin/vlmgr
/opt/local/bin/vltest
/opt/local/bin/vltsv
/opt/local/include/cabin.h
/opt/local/include/curia.h
/opt/local/include/depot.h
/opt/local/include/hovel.h
/opt/local/include/odeum.h
/opt/local/include/relic.h
/opt/local/include/villa.h
/opt/local/include/vista.h
/opt/local/lib/libqdbm.14.13.0.dylib
/opt/local/lib/libqdbm.14.dylib
/opt/local/lib/libqdbm.a
/opt/local/lib/libqdbm.dylib
/opt/local/lib/pkgconfig/qdbm.pc
/opt/local/man/man1/cbcodec.1
/opt/local/man/man1/cbtest.1
/opt/local/man/man1/crmgr.1
/opt/local/man/man1/crtest.1
/opt/local/man/man1/crtsv.1
/opt/local/man/man1/dpmgr.1
/opt/local/man/man1/dptest.1
/opt/local/man/man1/dptsv.1
/opt/local/man/man1/hvmgr.1
/opt/local/man/man1/hvtest.1
/opt/local/man/man1/odidx.1
/opt/local/man/man1/odmgr.1
/opt/local/man/man1/odtest.1
/opt/local/man/man1/qmttest.1
/opt/local/man/man1/rlmgr.1
/opt/local/man/man1/rltest.1
/opt/local/man/man1/vlmgr.1
/opt/local/man/man1/vltest.1
/opt/local/man/man1/vltsv.1
/opt/local/man/man3/cabin.3
/opt/local/man/man3/cropen.3
/opt/local/man/man3/curia.3
/opt/local/man/man3/depot.3
/opt/local/man/man3/dpopen.3
/opt/local/man/man3/hovel.3
/opt/local/man/man3/odeum.3
/opt/local/man/man3/odopen.3
/opt/local/man/man3/qdbm.3
/opt/local/man/man3/relic.3
/opt/local/man/man3/villa.3
/opt/local/man/man3/vista.3
/opt/local/man/man3/vlopen.3
:

science/maxima/readline-5.2

preparation
wget -N ftp://ftp.gnu.org/gnu/readline/readline-5.2.tar.gz
tar xvzf readline-5.2.tar.gz
(cd readline-5.2 &&
wget -N -r -l2 --no-parent ftp://ftp.gnu.org/gnu/readline/readline-5.2-patches
for p in ftp.gnu.org/gnu/readline/readline-5.2-patches/*; do
case "$p" in
*.sig) continue;;
esac
patch -p0 < "$p"
done
)
build
./configure --prefix=/opt/local --enable-multibyte 
make 
installed
/opt/local/include/readline/chardefs.h
/opt/local/include/readline/history.h
/opt/local/include/readline/keymaps.h
/opt/local/include/readline/readline.h
/opt/local/include/readline/rlconf.h
/opt/local/include/readline/rlstdc.h
/opt/local/include/readline/rltypedefs.h
/opt/local/include/readline/tilde.h
/opt/local/info/history.info
/opt/local/info/readline.info
/opt/local/info/rluserman.info
/opt/local/lib/libhistory.5.2.dylib
/opt/local/lib/libhistory.5.dylib
/opt/local/lib/libhistory.a
/opt/local/lib/libhistory.dylib
/opt/local/lib/libreadline.5.2.dylib
/opt/local/lib/libreadline.5.dylib
/opt/local/lib/libreadline.a
/opt/local/lib/libreadline.dylib
/opt/local/man/man3/history.3
/opt/local/man/man3/readline.3

science/maxima/imaxima-imath-0.99

preparation
curl -RO -C - http://members3.jcom.home.ne.jp/imaxima/Site/Download_and_Install_files/imaxima-imath-0.99.tar.gz
tar xvzf imaxima-imath-0.99.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/share/emacs/site-lisp/imath.el
/opt/local/share/emacs/site-lisp/imath.elc
/opt/local/share/emacs/site-lisp/imaxima-autoconf-variables.el
/opt/local/share/emacs/site-lisp/imaxima-autoconf-variables.elc
/opt/local/share/emacs/site-lisp/imaxima.el
/opt/local/share/emacs/site-lisp/imaxima.elc
/opt/local/share/emacs/site-lisp/imaxima.lisp
/opt/local/share/info/imaxima.info

science/maxima/maxima-5.14.0

preparation
wget -N http://downloads.sourceforge.net/maxima/maxima-5.14.0.tar.gz
tar xvzf maxima-5.14.0.tar.gz
build
./configure --prefix=/opt/local --enable-clisp 
make 
installed
/opt/local/bin/maxima
/opt/local/bin/rmaxima
/opt/local/bin/xmaxima
/opt/local/info/maxima-index.lisp
/opt/local/info/maxima.info
/opt/local/info/maxima.info-1
/opt/local/info/maxima.info-2
/opt/local/info/maxima.info-3
/opt/local/info/maxima.info-4
/opt/local/info/maxima.info-5
/opt/local/info/maxima.info-6
/opt/local/info/maxima.info-7
/opt/local/info/maxima.info-8
/opt/local/info/xmaxima.info
/opt/local/lib/maxima/5.14.0/binary-clisp/lisp.run
/opt/local/lib/maxima/5.14.0/binary-clisp/maxima.mem
/opt/local/libexec/maxima/5.14.0/mgnuplot
/opt/local/man/man1/maxima.1
/opt/local/share/maxima/5.14.0/demo/array.dem
/opt/local/share/maxima/5.14.0/demo/cf.dem
/opt/local/share/maxima/5.14.0/demo/demo.dem
/opt/local/share/maxima/5.14.0/demo/eaton1.dem
/opt/local/share/maxima/5.14.0/demo/eaton2.dem
/opt/local/share/maxima/5.14.0/demo/ezgcd.dem
/opt/local/share/maxima/5.14.0/demo/hypgeo.dem
/opt/local/share/maxima/5.14.0/demo/macex.dem
/opt/local/share/maxima/5.14.0/demo/macro.dem
/opt/local/share/maxima/5.14.0/demo/manual.demo
/opt/local/share/maxima/5.14.0/demo/newfac.dem
/opt/local/share/maxima/5.14.0/demo/plots.mac
/opt/local/share/maxima/5.14.0/demo/romberg.dem
/opt/local/share/maxima/5.14.0/demo/subscr.dem
/opt/local/share/maxima/5.14.0/demo/sumcon.dem
/opt/local/share/maxima/5.14.0/demo/trgsmp.dem
/opt/local/share/maxima/5.14.0/doc/contributors
/opt/local/share/maxima/5.14.0/doc/EMaximaIntro.ps
/opt/local/share/maxima/5.14.0/doc/html/contents.hhc
/opt/local/share/maxima/5.14.0/doc/html/figures/dynamics1.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/dynamics10.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/dynamics2.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/dynamics3.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/dynamics4.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/dynamics5.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/dynamics6.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/dynamics7.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/dynamics8.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/dynamics9.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/graphs01.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/graphs02.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/graphs03.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/graphs04.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/graphs05.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/graphs06.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/graphs07.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/graphs08.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/graphs09.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/graphs10.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/graphs11.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/graphs12.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/graphs13.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/implicit_plot.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/orthopoly1.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/plotdf1.gif
/opt/local/share/maxima/5.14.0/doc/html/figures/plotdf2.gif
:

science/maxima/libsigsegv-2.5

preparation
wget -N ftp://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.5.tar.gz
tar xvzf libsigsegv-2.5.tar.gz
build
./configure --prefix=/opt/local --enable-shared 
make 
installed
/opt/local/include/sigsegv.h
/opt/local/lib/libsigsegv.0.0.0.dylib
/opt/local/lib/libsigsegv.0.dylib
/opt/local/lib/libsigsegv.a
/opt/local/lib/libsigsegv.dylib
/opt/local/lib/libsigsegv.la

science/maxima/clisp-2.43

preparation
wget -N http://downloads.sourceforge.net/clisp/clisp-2.43.tar.bz2
tar xvjf clisp-2.43.tar.bz2
build
export LANG= LC_ALL=
env CPPFLAGS='-I/opt/local/include -Drpl_regcomp=\(regcomp\) -Drpl_regerror=\(regerror\) -Drpl_regexec=\(regexec\) -Drpl_regfree=\(regfree\)' LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local --with-libpcre-prefix
(cd src &&
(cd ../modules/i18n &&
env CPPFLAGS='-I/opt/local/include -Drpl_regcomp=\(regcomp\) -Drpl_regerror=\(regerror\) -Drpl_regexec=\(regexec\) -Drpl_regfree=\(regfree\)' LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local --with-libpcre-prefix
)
(cd ../modules/syscalls &&
env CPPFLAGS='-I/opt/local/include -Drpl_regcomp=\(regcomp\) -Drpl_regerror=\(regerror\) -Drpl_regexec=\(regexec\) -Drpl_regfree=\(regfree\)' LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local --with-libpcre-prefix
)
(cd ../modules/regexp &&
env CPPFLAGS='-I/opt/local/include -Drpl_regcomp=\(regcomp\) -Drpl_regerror=\(regerror\) -Drpl_regexec=\(regexec\) -Drpl_regfree=\(regfree\)' LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local --with-libpcre-prefix
)
(cd ../modules/readline &&
env CPPFLAGS='-I/opt/local/include -Drpl_regcomp=\(regcomp\) -Drpl_regerror=\(regerror\) -Drpl_regexec=\(regexec\) -Drpl_regfree=\(regfree\)' LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local --with-libpcre-prefix
)
make
)

installation
(cd src &&
make install
)
installed
/opt/local/bin/clisp
/opt/local/lib/clisp-2.43/base/calls.o
/opt/local/lib/clisp-2.43/base/gettext.o
/opt/local/lib/clisp-2.43/base/libavcall.a
/opt/local/lib/clisp-2.43/base/libcallback.a
/opt/local/lib/clisp-2.43/base/libnoreadline.a
/opt/local/lib/clisp-2.43/base/lisp.a
/opt/local/lib/clisp-2.43/base/lisp.run
/opt/local/lib/clisp-2.43/base/lispinit.mem
/opt/local/lib/clisp-2.43/base/localcharset.o
/opt/local/lib/clisp-2.43/base/makevars
/opt/local/lib/clisp-2.43/base/modules.h
/opt/local/lib/clisp-2.43/base/modules.o
/opt/local/lib/clisp-2.43/base/readline.o
/opt/local/lib/clisp-2.43/base/regexi.o
/opt/local/lib/clisp-2.43/base/regexp.dvi
/opt/local/lib/clisp-2.43/base/uniname.o
/opt/local/lib/clisp-2.43/base/width.o
/opt/local/lib/clisp-2.43/clisp-link
/opt/local/lib/clisp-2.43/data/Symbol-Table.text
/opt/local/lib/clisp-2.43/data/UnicodeDataFull.txt
/opt/local/lib/clisp-2.43/full/calls.o
/opt/local/lib/clisp-2.43/full/gettext.o
/opt/local/lib/clisp-2.43/full/libavcall.a
/opt/local/lib/clisp-2.43/full/libcallback.a
/opt/local/lib/clisp-2.43/full/libnoreadline.a
/opt/local/lib/clisp-2.43/full/lisp.a
/opt/local/lib/clisp-2.43/full/lisp.run
/opt/local/lib/clisp-2.43/full/lispinit.mem
/opt/local/lib/clisp-2.43/full/localcharset.o
/opt/local/lib/clisp-2.43/full/makevars
/opt/local/lib/clisp-2.43/full/modules.h
/opt/local/lib/clisp-2.43/full/modules.o
/opt/local/lib/clisp-2.43/full/readline.o
/opt/local/lib/clisp-2.43/full/regexi.o
/opt/local/lib/clisp-2.43/full/regexp.dvi
/opt/local/lib/clisp-2.43/full/uniname.o
/opt/local/lib/clisp-2.43/full/width.o
/opt/local/lib/clisp-2.43/linkkit/clisp.h
/opt/local/lib/clisp-2.43/linkkit/modprep.lisp
/opt/local/lib/clisp-2.43/linkkit/modules.c
/opt/local/lib/clisp-2.43/linkkit/modules.d
/opt/local/share/doc/ANNOUNCE
/opt/local/share/doc/clisp.dvi
/opt/local/share/doc/clisp.html
/opt/local/share/doc/clisp.pdf
/opt/local/share/doc/clisp.ps
/opt/local/share/doc/COPYRIGHT
/opt/local/share/doc/doc/clisp.1
/opt/local/share/doc/doc/clisp.dvi
/opt/local/share/doc/doc/clisp.html
/opt/local/share/doc/doc/clisp.pdf
/opt/local/share/doc/doc/clisp.png
/opt/local/share/doc/doc/clisp.ps
/opt/local/share/doc/doc/CLOS-guide.txt
/opt/local/share/doc/doc/editors.txt
/opt/local/share/doc/doc/impnotes.css
/opt/local/share/doc/doc/impnotes.html
/opt/local/share/doc/doc/LISP-tutorial.txt
/opt/local/share/doc/GNU-GPL
/opt/local/share/doc/MAGIC.add
/opt/local/share/doc/NEWS
/opt/local/share/doc/README
/opt/local/share/doc/README.de
:

science/maxima/breqn097a

preparation
curl -RO -C - http://members3.jcom.home.ne.jp/imaxima/breqn097a.zip
unzip breqn097a.zip
installation
install -m 0755 -d /opt/local/ptetex3/share/texmf/tex/latex/breqn
install -m 0644 * /opt/local/ptetex3/share/texmf/tex/latex/breqn
mktexlsr
installed
/opt/local/ptetex3/share/texmf/tex/latex/breqn/breqn.drv
/opt/local/ptetex3/share/texmf/tex/latex/breqn/breqn.dtx
/opt/local/ptetex3/share/texmf/tex/latex/breqn/breqn.ins
/opt/local/ptetex3/share/texmf/tex/latex/breqn/breqn.log
/opt/local/ptetex3/share/texmf/tex/latex/breqn/breqn.pdf
/opt/local/ptetex3/share/texmf/tex/latex/breqn/breqn.sty
/opt/local/ptetex3/share/texmf/tex/latex/breqn/cmbase.sym
/opt/local/ptetex3/share/texmf/tex/latex/breqn/flexisym.drv
/opt/local/ptetex3/share/texmf/tex/latex/breqn/flexisym.dtx
/opt/local/ptetex3/share/texmf/tex/latex/breqn/flexisym.ins
/opt/local/ptetex3/share/texmf/tex/latex/breqn/flexisym.log
/opt/local/ptetex3/share/texmf/tex/latex/breqn/flexisym.pdf
/opt/local/ptetex3/share/texmf/tex/latex/breqn/flexisym.sty
/opt/local/ptetex3/share/texmf/tex/latex/breqn/mathpazo.sym
/opt/local/ptetex3/share/texmf/tex/latex/breqn/mathptmx.sym
/opt/local/ptetex3/share/texmf/tex/latex/breqn/mathstyle.drv
/opt/local/ptetex3/share/texmf/tex/latex/breqn/mathstyle.dtx
/opt/local/ptetex3/share/texmf/tex/latex/breqn/mathstyle.ins
/opt/local/ptetex3/share/texmf/tex/latex/breqn/mathstyle.log
/opt/local/ptetex3/share/texmf/tex/latex/breqn/mathstyle.pdf
/opt/local/ptetex3/share/texmf/tex/latex/breqn/mathstyle.sty
/opt/local/ptetex3/share/texmf/tex/latex/breqn/msabm.sym

science/boost/boost_1_34_1

preparation
curl -RO -C - http://downloads.sourceforge.net/boost/boost_1_34_1.tar.bz2
tar xvjf boost_1_34_1.tar.bz2
build
bjam --prefix=/opt/local --toolset=darwin 
installation
bjam --prefix=/opt/local --toolset=darwin install 
installed
/opt/local/include/boost-1_34_1/boost/algorithm/minmax.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/minmax_element.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/case_conv.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/classification.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/compare.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/concept.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/config.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/constants.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/detail/case_conv.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/detail/classification.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/detail/find_format.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/detail/find_format_all.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/detail/find_format_store.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/detail/find_iterator.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/detail/finder.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/detail/finder_regex.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/detail/formatter.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/detail/formatter_regex.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/detail/predicate.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/detail/replace_storage.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/detail/sequence.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/detail/trim.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/detail/util.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/erase.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/find.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/find_format.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/find_iterator.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/finder.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/formatter.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/iter_find.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/join.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/predicate.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/predicate_facade.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/regex.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/regex_find_format.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/replace.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/sequence_traits.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/split.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/std/list_traits.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/std/rope_traits.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/std/slist_traits.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/std/string_traits.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/std_containers_traits.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/trim.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string/yes_no_type.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string.hpp
/opt/local/include/boost-1_34_1/boost/algorithm/string_regex.hpp
/opt/local/include/boost-1_34_1/boost/aligned_storage.hpp
/opt/local/include/boost-1_34_1/boost/any.hpp
/opt/local/include/boost-1_34_1/boost/archive/add_facet.hpp
/opt/local/include/boost-1_34_1/boost/archive/archive_exception.hpp
/opt/local/include/boost-1_34_1/boost/archive/basic_archive.hpp
/opt/local/include/boost-1_34_1/boost/archive/basic_binary_iarchive.hpp
/opt/local/include/boost-1_34_1/boost/archive/basic_binary_iprimitive.hpp
/opt/local/include/boost-1_34_1/boost/archive/basic_binary_oarchive.hpp
/opt/local/include/boost-1_34_1/boost/archive/basic_binary_oprimitive.hpp
/opt/local/include/boost-1_34_1/boost/archive/basic_streambuf_locale_saver.hpp
/opt/local/include/boost-1_34_1/boost/archive/basic_text_iarchive.hpp
/opt/local/include/boost-1_34_1/boost/archive/basic_text_iprimitive.hpp
/opt/local/include/boost-1_34_1/boost/archive/basic_text_oarchive.hpp
/opt/local/include/boost-1_34_1/boost/archive/basic_text_oprimitive.hpp
/opt/local/include/boost-1_34_1/boost/archive/basic_xml_archive.hpp
/opt/local/include/boost-1_34_1/boost/archive/basic_xml_iarchive.hpp
/opt/local/include/boost-1_34_1/boost/archive/basic_xml_oarchive.hpp
:

science/boost/boost-jam-3.1.16

preparation
curl -RO -C - http://downloads.sourceforge.net/boost/boost-jam-3.1.16.tgz
tar xvzf boost-jam-3.1.16.tgz
build
./build.sh 
patch
--- ./Jambase~	2007-12-03 12:27:54.000000000 +0900
+++ ./Jambase	2007-12-14 00:10:40.000000000 +0900
@@ -909,7 +909,7 @@
     case MACOSX :
     AR          ?= libtool -o ;
     C++         ?= c++ ;
-    MANDIR      ?= /usr/local/share/man ;
+    MANDIR      ?= /opt/local/share/man ;
     RANLIB      ?= "" ;
 
     case NCR :
@@ -974,7 +974,7 @@
     AS          ?= as ;
     ASFLAGS     ?= ;
     AWK         ?= awk ;
-    BINDIR      ?= /usr/local/bin ;
+    BINDIR      ?= /opt/local/bin ;
     C++         ?= cc ;
     C++FLAGS    ?= ;
     CC          ?= cc ;
@@ -992,12 +992,12 @@
     JAMFILE     ?= Jamfile ;
     JAMRULES    ?= Jamrules ;
     LEX         ?= ;
-    LIBDIR      ?= /usr/local/lib ;
+    LIBDIR      ?= /opt/local/lib ;
     LINK        ?= $(CC) ;
     LINKFLAGS   ?= ;
     LINKLIBS    ?= ;
     LN          ?= ln ;
-    MANDIR      ?= /usr/local/man ;
+    MANDIR      ?= /opt/local/man ;
     MKDIR       ?= mkdir ;
     MV          ?= mv -f ;
     OPTIM       ?= ;
installation
cp bin.macosxppc/bjam /opt/local/bin/ 
installed
/opt/local/bin/bjam

av/misc/shominst-0409

preparation
wget -N http://www.i.h.kyoto-u.ac.jp/~shom/timidity/shominst/shominst-0409.zip
mkdir shominst-0409 && (cd shominst-0409 &&
unzip ../shominst-0409.zip
)
build

patch
--- ./timidity.cfg~	1996-04-08 03:31:00.000000000 +0900
+++ ./timidity.cfg	2007-12-12 15:25:12.000000000 +0900
@@ -30,9 +30,9 @@
 #dir /usr/local/lib/timidity
 #
 
-dir /nethome/sak95/shom/lib/timidity/inst/GUS
-dir /nethome/sak95/shom/lib/timidity/inst
-dir /nethome/sak95/shom/lib/timidity/inst/test
+dir /opt/local/share/timidity/inst/GUS
+dir /opt/local/share/timidity/inst
+dir /opt/local/share/timidity/inst/test
 
 bank 0
 source default.cfg
installation
cp *.cfg /opt/local/share/timidity/
cp -r inst /opt/local/share/timidity/
installed
/opt/local/share/timidity/default.cfg
/opt/local/share/timidity/gsdrum.cfg
/opt/local/share/timidity/gsdrum25.cfg
/opt/local/share/timidity/inst/GUS/acbass.pat
/opt/local/share/timidity/inst/GUS/accordn.pat
/opt/local/share/timidity/inst/GUS/acguitar.pat
/opt/local/share/timidity/inst/GUS/acpiano.pat
/opt/local/share/timidity/inst/GUS/agogo.pat
/opt/local/share/timidity/inst/GUS/agogohi.pat
/opt/local/share/timidity/inst/GUS/agogolo.pat
/opt/local/share/timidity/inst/GUS/altosax.pat
/opt/local/share/timidity/inst/GUS/applause.pat
/opt/local/share/timidity/inst/GUS/atmosphr.pat
/opt/local/share/timidity/inst/GUS/aurora.pat
/opt/local/share/timidity/inst/GUS/bagpipes.pat
/opt/local/share/timidity/inst/GUS/banjo.pat
/opt/local/share/timidity/inst/GUS/barisax.pat
/opt/local/share/timidity/inst/GUS/basslead.pat
/opt/local/share/timidity/inst/GUS/bassoon.pat
/opt/local/share/timidity/inst/GUS/belltree.pat
/opt/local/share/timidity/inst/GUS/blank.pat
/opt/local/share/timidity/inst/GUS/bongohi.pat
/opt/local/share/timidity/inst/GUS/bongolo.pat
/opt/local/share/timidity/inst/GUS/bottle.pat
/opt/local/share/timidity/inst/GUS/bowglass.pat
/opt/local/share/timidity/inst/GUS/britepno.pat
/opt/local/share/timidity/inst/GUS/cabasa.pat
/opt/local/share/timidity/inst/GUS/calliope.pat
/opt/local/share/timidity/inst/GUS/carillon.pat
/opt/local/share/timidity/inst/GUS/castinet.pat
/opt/local/share/timidity/inst/GUS/celeste.pat
/opt/local/share/timidity/inst/GUS/cello.pat
/opt/local/share/timidity/inst/GUS/charang.pat
/opt/local/share/timidity/inst/GUS/chiflead.pat
/opt/local/share/timidity/inst/GUS/choir.pat
/opt/local/share/timidity/inst/GUS/church.pat
/opt/local/share/timidity/inst/GUS/claps.pat
/opt/local/share/timidity/inst/GUS/clarinet.pat
/opt/local/share/timidity/inst/GUS/clave.pat
/opt/local/share/timidity/inst/GUS/clavinet.pat
/opt/local/share/timidity/inst/GUS/cleangtr.pat
/opt/local/share/timidity/inst/GUS/concrtna.pat
/opt/local/share/timidity/inst/GUS/congahi1.pat
/opt/local/share/timidity/inst/GUS/congahi2.pat
/opt/local/share/timidity/inst/GUS/congalo.pat
/opt/local/share/timidity/inst/GUS/contraba.pat
/opt/local/share/timidity/inst/GUS/cowbell.pat
/opt/local/share/timidity/inst/GUS/crystal.pat
/opt/local/share/timidity/inst/GUS/cuica1.pat
/opt/local/share/timidity/inst/GUS/cuica2.pat
/opt/local/share/timidity/inst/GUS/cymbell.pat
/opt/local/share/timidity/inst/GUS/cymchina.pat
/opt/local/share/timidity/inst/GUS/cymcrsh1.pat
/opt/local/share/timidity/inst/GUS/cymcrsh2.pat
/opt/local/share/timidity/inst/GUS/cymride1.pat
/opt/local/share/timidity/inst/GUS/cymride2.pat
/opt/local/share/timidity/inst/GUS/cymsplsh.pat
/opt/local/share/timidity/inst/GUS/distgtr.pat
/opt/local/share/timidity/inst/GUS/doo.pat
/opt/local/share/timidity/inst/GUS/echovox.pat
/opt/local/share/timidity/inst/GUS/englhorn.pat
/opt/local/share/timidity/inst/GUS/epiano1.pat
/opt/local/share/timidity/inst/GUS/epiano2.pat
/opt/local/share/timidity/inst/GUS/fantasia.pat
:

av/misc/TiMidity++-2.13.2

preparation
curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/timidity/TiMidity++-2.13.2.tar.bz2
tar xvjf TiMidity++-2.13.2.tar.bz2
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local --enable-ncurses --enable-slang --disable-motif --disable-tcltk --enable-emacs --enable-vt100 --disable-xaw --enable-xskin --enable-wrd --with-x 
make 
installed
/opt/local/bin/timidity
/opt/local/man/man1/timidity.1
/opt/local/man/man5/timidity.cfg.5
/opt/local/share/emacs/site-lisp/timidity.el

secure/gnupg-1.4.7

preparation
verify_digest(){	# $0 method file string
  case "$1" in
  *)
    DIGEST=`echo "$1" | tr a-z A-Z`
    [ "$DIGEST($2)= $3" = "`openssl $1 $2`" ]
    ;;
  esac
}
verify_signature(){	# $0 url|id sig
  case "$1" in
  0x*)
    gpg --recv-keys "$1" && gpg --verify "$2"
    ;;
  *)
    curl "$1" | gpg --import && gpg --verify "$2"
    ;;
  esac
}
error_out(){	# $0 message ...
  echo "$@" 1>&2
  exit 1
}

wget -N ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.7.tar.bz2
wget -N ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.7.tar.bz2.sig
verify_digest sha1 gnupg-1.4.7.tar.bz2 "22149105845c79068771837c8deb7d5ba0854927" || error_out "$0: stopped at line $LINENO"

tar xvjf gnupg-1.4.7.tar.bz2
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/gpg
/opt/local/bin/gpg-zip
/opt/local/bin/gpgsplit
/opt/local/bin/gpgv
/opt/local/libexec/gnupg/gpgkeys_curl
/opt/local/libexec/gnupg/gpgkeys_finger
/opt/local/libexec/gnupg/gpgkeys_hkp
/opt/local/libexec/gnupg/gpgkeys_ldap
/opt/local/share/gnupg/FAQ
/opt/local/share/gnupg/faq.html
/opt/local/share/gnupg/options.skel
/opt/local/share/info/gnupg1.info
/opt/local/share/locale/be/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/ca/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/cs/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/da/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/de/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/el/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/en@boldquot/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/en@quot/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/eo/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/es/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/et/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/fi/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/fr/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/gl/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/hu/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/id/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/it/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/ja/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/nb/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/nl/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/pl/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/pt/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/pt_BR/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/ro/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/ru/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/sk/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/sv/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/tr/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/zh_CN/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/zh_TW/LC_MESSAGES/gnupg.mo
/opt/local/share/man/man1/gpg.1
/opt/local/share/man/man1/gpg.ru.1
/opt/local/share/man/man1/gpgv.1
/opt/local/share/man/man7/gnupg.7

libs/popt-1.10

preparation
curl -RO -C - http://aist.ring.gr.jp/pub/linux/debian/debian/pool/main/p/popt/popt_1.10.orig.tar.gz
curl -RO -C - http://aist.ring.gr.jp/pub/linux/debian/debian/pool/main/p/popt/popt_1.10-3.diff.gz
tar xvzf popt_1.10.orig.tar.gz
(cd popt-1.10 &&
gzcat ../popt_1.10-3.diff.gz | patch -p1
for patch in debian/patches/*.patch; do
  patch < $patch
done
)
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/include/popt.h
/opt/local/lib/libpopt.0.0.0.dylib
/opt/local/lib/libpopt.0.dylib
/opt/local/lib/libpopt.a
/opt/local/lib/libpopt.dylib
/opt/local/lib/libpopt.la
/opt/local/man/man3/popt.3
/opt/local/share/locale/ca/LC_MESSAGES/popt.mo
/opt/local/share/locale/cs/LC_MESSAGES/popt.mo
/opt/local/share/locale/da/LC_MESSAGES/popt.mo
/opt/local/share/locale/de/LC_MESSAGES/popt.mo
/opt/local/share/locale/es/LC_MESSAGES/popt.mo
/opt/local/share/locale/eu_ES/LC_MESSAGES/popt.mo
/opt/local/share/locale/fi/LC_MESSAGES/popt.mo
/opt/local/share/locale/fr/LC_MESSAGES/popt.mo
/opt/local/share/locale/gl/LC_MESSAGES/popt.mo
/opt/local/share/locale/hu/LC_MESSAGES/popt.mo
/opt/local/share/locale/id/LC_MESSAGES/popt.mo
/opt/local/share/locale/is/LC_MESSAGES/popt.mo
/opt/local/share/locale/it/LC_MESSAGES/popt.mo
/opt/local/share/locale/ja/LC_MESSAGES/popt.mo
/opt/local/share/locale/ko/LC_MESSAGES/popt.mo
/opt/local/share/locale/no/LC_MESSAGES/popt.mo
/opt/local/share/locale/pl/LC_MESSAGES/popt.mo
/opt/local/share/locale/pt/LC_MESSAGES/popt.mo
/opt/local/share/locale/pt_BR/LC_MESSAGES/popt.mo
/opt/local/share/locale/ro/LC_MESSAGES/popt.mo
/opt/local/share/locale/ru/LC_MESSAGES/popt.mo
/opt/local/share/locale/sk/LC_MESSAGES/popt.mo
/opt/local/share/locale/sl/LC_MESSAGES/popt.mo
/opt/local/share/locale/sr/LC_MESSAGES/popt.mo
/opt/local/share/locale/sv/LC_MESSAGES/popt.mo
/opt/local/share/locale/tr/LC_MESSAGES/popt.mo
/opt/local/share/locale/uk/LC_MESSAGES/popt.mo
/opt/local/share/locale/wa/LC_MESSAGES/popt.mo
/opt/local/share/locale/zh/LC_MESSAGES/popt.mo
/opt/local/share/locale/zh_CN/LC_MESSAGES/popt.mo

net/w3m-0.5.2

preparation
curl -L -RO -C - http://downloads.sourceforge.net/w3m/w3m-0.5.2.tar.gz
tar xvzf w3m-0.5.2.tar.gz
build
./configure --prefix=/opt/local\
  --enable-image=x11\
  --disable-xface\
  --enable-keymap=w3m\
  --disable-dict\
   --disable-w3mmailer\
\
  --without-libintl-prefix\
  --with-imagelib=imlib\
  --without-migemo\
  --with-gc=/opt/local\
;
make
installed
/opt/local/bin/w3m
/opt/local/bin/w3mman
/opt/local/libexec/w3m/cgi-bin/dirlist.cgi
/opt/local/libexec/w3m/cgi-bin/multipart.cgi
/opt/local/libexec/w3m/cgi-bin/w3mbookmark
/opt/local/libexec/w3m/cgi-bin/w3mhelp.cgi
/opt/local/libexec/w3m/cgi-bin/w3mhelperpanel
/opt/local/libexec/w3m/cgi-bin/w3mmail.cgi
/opt/local/libexec/w3m/cgi-bin/w3mman2html.cgi
/opt/local/libexec/w3m/inflate
/opt/local/libexec/w3m/w3mimgdisplay
/opt/local/libexec/w3m/xface2xpm
/opt/local/share/man/ja/man1/w3m.1
/opt/local/share/man/man1/w3m.1
/opt/local/share/man/man1/w3mman.1
/opt/local/share/w3m/w3mhelp-funcdesc.en.pl
/opt/local/share/w3m/w3mhelp-funcdesc.ja.pl
/opt/local/share/w3m/w3mhelp-funcname.pl
/opt/local/share/w3m/w3mhelp.html

img/imlib-1.9.15

preparation
curl -RO -C - http://ftp.gnome.org/pub/GNOME/sources/imlib/1.9/imlib-1.9.15.tar.bz2
tar xvjf imlib-1.9.15.tar.bz2
(cd imlib-1.9.15 &&
patch -b -z.org -p0 < ../imlib-1.9.15-sakuya.patch
)
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local 
make 
patch
--- ./Imlib/load.c~	2004-09-21 09:23:20.000000000 +0900
+++ ./Imlib/load.c	2007-10-17 18:46:10.000000000 +0900
@@ -645,7 +645,7 @@
   planes = (int)word;
   fread(&word, 2, 1, file);
   bpp = (int)word;
-  if (bpp != 1 && bpp != 4 && bpp != 8 && bpp && 16 && bpp != 24 && bpp != 32)
+  if (bpp != 1 && bpp != 4 && bpp != 8 && bpp != 16 && bpp != 24 && bpp != 32)
     {
       fprintf(stderr, "IMLIB ERROR: unknown bitdepth in file\n");
       return NULL;
installed
/opt/local/bin/imlib-config
/opt/local/etc/im_palette-small.pal
/opt/local/etc/im_palette-tiny.pal
/opt/local/etc/im_palette.pal
/opt/local/etc/imrc
/opt/local/include/Imlib.h
/opt/local/include/Imlib_private.h
/opt/local/include/Imlib_types.h
/opt/local/lib/libImlib.1.9.15.dylib
/opt/local/lib/libImlib.1.dylib
/opt/local/lib/libImlib.a
/opt/local/lib/libImlib.dylib
/opt/local/lib/libImlib.la
/opt/local/lib/pkgconfig/imlib.pc
/opt/local/lib/pkgconfig/imlibgdk.pc
/opt/local/man/man1/imlib-config.1
/opt/local/share/aclocal/imlib.m4

text/tops-20050927

build
make PREFIX=/opt/local 
installation
make PREFIX=/opt/local install 
installed
/opt/local/bin/tops
/opt/local/share/tops/ishow-b5-eten.ps
/opt/local/share/tops/ishow-big5.ps
/opt/local/share/tops/ishow-euc-china.ps
/opt/local/share/tops/ishow-euc-cn.ps
/opt/local/share/tops/ishow-euc-japan.ps
/opt/local/share/tops/ishow-euc-jp.ps
/opt/local/share/tops/ishow-euc-jp2.ps
/opt/local/share/tops/ishow-euc-korea.ps
/opt/local/share/tops/ishow-euc-kr.ps
/opt/local/share/tops/ishow-euc-tw.ps
/opt/local/share/tops/ishow-euccn.ps
/opt/local/share/tops/ishow-eucjp.ps
/opt/local/share/tops/ishow-euckr.ps
/opt/local/share/tops/ishow-gbk2k.ps
/opt/local/share/tops/ishow-hkscs.ps
/opt/local/share/tops/ishow-iso-2022-cjk.ps
/opt/local/share/tops/ishow-iso-2022-cn.ps
/opt/local/share/tops/ishow-iso-2022-jp.ps
/opt/local/share/tops/ishow-iso-2022-jp2.ps
/opt/local/share/tops/ishow-iso-2022-kr.ps
/opt/local/share/tops/ishow-iso-2022-m17n.ps
/opt/local/share/tops/ishow-iso-6429.ps
/opt/local/share/tops/ishow-iso-8859-1.ps
/opt/local/share/tops/ishow-iso-8859-10.ps
/opt/local/share/tops/ishow-iso-8859-13.ps
/opt/local/share/tops/ishow-iso-8859-14.ps
/opt/local/share/tops/ishow-iso-8859-15.ps
/opt/local/share/tops/ishow-iso-8859-2.ps
/opt/local/share/tops/ishow-iso-8859-3.ps
/opt/local/share/tops/ishow-iso-8859-4.ps
/opt/local/share/tops/ishow-iso-8859-5.ps
/opt/local/share/tops/ishow-iso-8859-7.ps
/opt/local/share/tops/ishow-iso-8859-9.ps
/opt/local/share/tops/ishow-koi8-r.ps
/opt/local/share/tops/ishow-mac-ce.ps
/opt/local/share/tops/ishow-mac-croatian.ps
/opt/local/share/tops/ishow-mac-cyrillic.ps
/opt/local/share/tops/ishow-mac-greek.ps
/opt/local/share/tops/ishow-mac-icelandic.ps
/opt/local/share/tops/ishow-mac-roman.ps
/opt/local/share/tops/ishow-mac-turkish.ps
/opt/local/share/tops/ishow-ms-cp1250.ps
/opt/local/share/tops/ishow-ms-cp1251.ps
/opt/local/share/tops/ishow-ms-cp1252.ps
/opt/local/share/tops/ishow-ms-cp1253.ps
/opt/local/share/tops/ishow-ms-cp1254.ps
/opt/local/share/tops/ishow-ms-cp1257.ps
/opt/local/share/tops/ishow-ms-cp1258.ps
/opt/local/share/tops/ishow-shift_jis.ps
/opt/local/share/tops/ishow-sjis.ps
/opt/local/share/tops/ishow-uhc.ps
/opt/local/share/tops/ishow-utf16-cn.ps
/opt/local/share/tops/ishow-utf16-jp.ps
/opt/local/share/tops/ishow-utf16-kr.ps
/opt/local/share/tops/ishow-utf16-tw.ps
/opt/local/share/tops/ishow-utf8-cn.ps
/opt/local/share/tops/ishow-utf8-jp.ps
/opt/local/share/tops/ishow-utf8-kr.ps
/opt/local/share/tops/ishow-utf8-tw.ps

secure/clamav-0.91.2

preparation
verify_digest(){	# $0 method file string
  case "$1" in
  *)
    DIGEST=`echo "$1" | tr a-z A-Z`
    [ "$DIGEST($2)= $3" = "`openssl $1 $2`" ]
    ;;
  esac
}
verify_signature(){	# $0 url|id sig
  case "$1" in
  0x*)
    gpg --recv-keys "$1" && gpg --verify "$2"
    ;;
  *)
    curl "$1" | gpg --import && gpg --verify "$2"
    ;;
  esac
}
error_out(){	# $0 message ...
  echo "$@" 1>&2
  exit 1
}

curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/clamav/clamav-0.91.2.tar.gz
curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/clamav/clamav-0.91.2.tar.gz.sig
verify_signature http://www.clamav.net/gpg/tkojm.gpg clamav-0.91.2.tar.gz.sig || error_out "$0: stopped at line $LINENO"

tar xvzf clamav-0.91.2.tar.gz
(cd clamav-0.91.2 && patch -p0 -b -z.org < ../clamav-0.91.2-sakuya.patch)
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local/clamav 
make 
patch
--- ./etc/clamd.conf.org	2007-08-21 07:56:19.000000000 +0900
+++ ./etc/clamd.conf	2007-10-10 18:48:33.000000000 +0900
@@ -5,13 +5,14 @@
 
 
 # Comment or remove the line below.
-Example
+#Example
 
 # Uncomment this option to enable logging.
 # LogFile must be writable for the user running daemon.
 # A full path is required.
 # Default: disabled
 #LogFile /tmp/clamd.log
+LogFile /tmp/clamd.log
 
 # By default the log file is locked for writing - the lock protects against
 # running clamd multiple times (if want to run another clamd, please
@@ -55,6 +56,7 @@
 # daemon (main thread).
 # Default: disabled
 #PidFile /var/run/clamd.pid
+PidFile /tmp/clamd.pid
 
 # Optional path to the global temporary directory.
 # Default: system specific (usually /tmp or /var/tmp).
@@ -63,6 +65,7 @@
 # Path to the database directory.
 # Default: hardcoded (depends on installation options)
 #DatabaseDirectory /var/lib/clamav
+DatabaseDirectory /opt/local/clamav/share/clamav
 
 # The daemon works in a local OR a network mode. Due to security reasons we
 # recommend the local mode.
@@ -84,7 +87,7 @@
 # Enable the following to provide some degree of protection
 # from the outside world.
 # Default: no
-#TCPAddr 127.0.0.1
+TCPAddr 127.0.0.1
 
 # Maximum length the queue of pending connections may grow to.
 # Default: 15
@@ -142,6 +145,7 @@
 # Run as another user (clamd must be started by root for this option to work)
 # Default: don't drop privileges
 #User clamav
+User clamav
 
 # Initialize supplementary group access (clamd must be started by root).
 # Default: no
--- ./etc/freshclam.conf.org	2007-02-18 04:13:49.000000000 +0900
+++ ./etc/freshclam.conf	2007-10-10 18:42:02.000000000 +0900
@@ -5,16 +5,18 @@
 
 
 # Comment or remove the line below.
-Example
+#Example
 
 # Path to the database directory.
 # WARNING: It must match clamd.conf's directive!
 # Default: hardcoded (depends on installation options)
 #DatabaseDirectory /var/lib/clamav
+DatabaseDirectory /opt/local/clamav/share/clamav
 
 # Path to the log file (make sure it has proper permissions)
 # Default: disabled
 #UpdateLogFile /var/log/freshclam.log
+UpdateLogFile /tmp/freshclam.log
 
 # Enable verbose logging.
 # Default: no
@@ -32,11 +34,13 @@
 # This option allows you to save the process identifier of the daemon
 # Default: disabled
 #PidFile /var/run/freshclam.pid
+PidFile /tmp/freshclam.pid
 
 # By default when started freshclam drops privileges and switches to the
 # "clamav" user. This directive allows you to change the database owner.
 # Default: clamav (may depend on installation options)
 #DatabaseOwner clamav
+DatabaseOwner clamav
 
 # Initialize supplementary group access (freshclam must be started by root).
 # Default: no
@@ -53,6 +57,7 @@
 # Uncomment the following line and replace XY with your country
 # code. See http://www.iana.org/cctld/cctld-whois.htm for the full list.
 #DatabaseMirror db.XY.clamav.net
+DatabaseMirror db.jp.clamav.net
 
 # database.clamav.net is a round-robin record which points to our most 
 # reliable mirrors. It's used as a fall back in case db.XY.clamav.net is 
installed
/opt/local/clamav/bin/clamav-config
/opt/local/clamav/bin/clamconf
/opt/local/clamav/bin/clamdscan
/opt/local/clamav/bin/clamscan
/opt/local/clamav/bin/freshclam
/opt/local/clamav/bin/sigtool
/opt/local/clamav/etc/clamd.conf
/opt/local/clamav/etc/freshclam.conf
/opt/local/clamav/include/clamav.h
/opt/local/clamav/lib/libclamav.2.0.8.dylib
/opt/local/clamav/lib/libclamav.2.dylib
/opt/local/clamav/lib/libclamav.a
/opt/local/clamav/lib/libclamav.dylib
/opt/local/clamav/lib/libclamav.la
/opt/local/clamav/lib/pkgconfig/libclamav.pc
/opt/local/clamav/sbin/clamd
/opt/local/clamav/share/clamav/daily.cvd
/opt/local/clamav/share/clamav/main.cvd
/opt/local/clamav/share/man/man1/clamconf.1
/opt/local/clamav/share/man/man1/clamdscan.1
/opt/local/clamav/share/man/man1/clamscan.1
/opt/local/clamav/share/man/man1/freshclam.1
/opt/local/clamav/share/man/man1/sigtool.1
/opt/local/clamav/share/man/man5/clamd.conf.5
/opt/local/clamav/share/man/man5/freshclam.conf.5
/opt/local/clamav/share/man/man8/clamav-milter.8
/opt/local/clamav/share/man/man8/clamd.8
host_configuration
[ ! -d /System/Library/StartupItems/Clamd ] && \
mkdir /System/Library/StartupItems/Clamd
if [ ! -f /System/Library/StartupItems/Clamd/Clamd ]; then
  cat <<EOF > /System/Library/StartupItems/Clamd/Clamd
#!/bin/sh

##
# ClamAV Server
##

. /etc/rc.common

StartService ()
{
	/opt/local/clamav/bin/freshclam -d
	/opt/local/clamav/sbin/clamd
}

StopService ()
{
	killall -9 freshclam
	killall -9 clamd
}

RestartService () { StopService; StartService; }

RunService "\$1"
EOF
  chmod +x /System/Library/StartupItems/Clamd/Clamd
fi
if [ ! -f /System/Library/StartupItems/Clamd/StartupParameters.plist ]; then
  cat <<EOF > /System/Library/StartupItems/Clamd/StartupParameters.plist
{
  Description     = "ClamAV Server";
  Provides        = ("ClamAV Server");
}
EOF
fi
#/System/Library/StartupItems/Clamd/Clamd start

devel/apl/subversion-1.4.5

preparation
curl -RO -C - http://subversion.tigris.org/downloads/subversion-1.4.5.tar.bz2
tar xvjf subversion-1.4.5.tar.bz2
build
env CPPFLAGS=-I/opt/local/apl/include LDFLAGS=-L/opt/local/apl/lib ./configure --prefix=/opt/local/apl --with-apr=/opt/local/apl --with-apr-util=/opt/local/apl 
make 
installed
/opt/local/apl/bin/svn
/opt/local/apl/bin/svnadmin
/opt/local/apl/bin/svndumpfilter
/opt/local/apl/bin/svnlook
/opt/local/apl/bin/svnserve
/opt/local/apl/bin/svnsync
/opt/local/apl/bin/svnversion
/opt/local/apl/include/subversion-1/mod_dav_svn.h
/opt/local/apl/include/subversion-1/svn-revision.txt
/opt/local/apl/include/subversion-1/svn_auth.h
/opt/local/apl/include/subversion-1/svn_base64.h
/opt/local/apl/include/subversion-1/svn_client.h
/opt/local/apl/include/subversion-1/svn_cmdline.h
/opt/local/apl/include/subversion-1/svn_config.h
/opt/local/apl/include/subversion-1/svn_ctype.h
/opt/local/apl/include/subversion-1/svn_dav.h
/opt/local/apl/include/subversion-1/svn_delta.h
/opt/local/apl/include/subversion-1/svn_diff.h
/opt/local/apl/include/subversion-1/svn_dso.h
/opt/local/apl/include/subversion-1/svn_error.h
/opt/local/apl/include/subversion-1/svn_error_codes.h
/opt/local/apl/include/subversion-1/svn_fs.h
/opt/local/apl/include/subversion-1/svn_hash.h
/opt/local/apl/include/subversion-1/svn_io.h
/opt/local/apl/include/subversion-1/svn_md5.h
/opt/local/apl/include/subversion-1/svn_nls.h
/opt/local/apl/include/subversion-1/svn_opt.h
/opt/local/apl/include/subversion-1/svn_path.h
/opt/local/apl/include/subversion-1/svn_pools.h
/opt/local/apl/include/subversion-1/svn_props.h
/opt/local/apl/include/subversion-1/svn_quoprint.h
/opt/local/apl/include/subversion-1/svn_ra.h
/opt/local/apl/include/subversion-1/svn_ra_svn.h
/opt/local/apl/include/subversion-1/svn_repos.h
/opt/local/apl/include/subversion-1/svn_sorts.h
/opt/local/apl/include/subversion-1/svn_string.h
/opt/local/apl/include/subversion-1/svn_subst.h
/opt/local/apl/include/subversion-1/svn_time.h
/opt/local/apl/include/subversion-1/svn_types.h
/opt/local/apl/include/subversion-1/svn_user.h
/opt/local/apl/include/subversion-1/svn_utf.h
/opt/local/apl/include/subversion-1/svn_version.h
/opt/local/apl/include/subversion-1/svn_wc.h
/opt/local/apl/include/subversion-1/svn_xml.h
/opt/local/apl/lib/libsvn_client-1.0.0.0.dylib
/opt/local/apl/lib/libsvn_client-1.0.dylib
/opt/local/apl/lib/libsvn_client-1.a
/opt/local/apl/lib/libsvn_client-1.dylib
/opt/local/apl/lib/libsvn_client-1.la
/opt/local/apl/lib/libsvn_delta-1.0.0.0.dylib
/opt/local/apl/lib/libsvn_delta-1.0.dylib
/opt/local/apl/lib/libsvn_delta-1.a
/opt/local/apl/lib/libsvn_delta-1.dylib
/opt/local/apl/lib/libsvn_delta-1.la
/opt/local/apl/lib/libsvn_diff-1.0.0.0.dylib
/opt/local/apl/lib/libsvn_diff-1.0.dylib
/opt/local/apl/lib/libsvn_diff-1.a
/opt/local/apl/lib/libsvn_diff-1.dylib
/opt/local/apl/lib/libsvn_diff-1.la
/opt/local/apl/lib/libsvn_fs-1.0.0.0.dylib
/opt/local/apl/lib/libsvn_fs-1.0.dylib
/opt/local/apl/lib/libsvn_fs-1.a
/opt/local/apl/lib/libsvn_fs-1.dylib
/opt/local/apl/lib/libsvn_fs-1.la
:

devel/apl/apr-iconv-1.2.0

preparation
curl -RO -C - http://www.meisei-u.ac.jp/mirror/apache/dist/apr/apr-iconv-1.2.0.tar.gz
tar xvzf apr-iconv-1.2.0.tar.gz
build
./configure --prefix=/opt/local/apl --with-apr=/opt/local/apl 
make 
installed
/opt/local/apl/bin/apriconv
/opt/local/apl/include/apr-1/api_version.h
/opt/local/apl/include/apr-1/apr_iconv.h
/opt/local/apl/lib/iconv/_tbl_simple.a
/opt/local/apl/lib/iconv/_tbl_simple.la
/opt/local/apl/lib/iconv/_tbl_simple.so
/opt/local/apl/lib/iconv/adobe-stdenc.a
/opt/local/apl/lib/iconv/adobe-stdenc.la
/opt/local/apl/lib/iconv/adobe-stdenc.so
/opt/local/apl/lib/iconv/adobe-symbol.a
/opt/local/apl/lib/iconv/adobe-symbol.la
/opt/local/apl/lib/iconv/adobe-symbol.so
/opt/local/apl/lib/iconv/adobe-zdingbats.a
/opt/local/apl/lib/iconv/adobe-zdingbats.la
/opt/local/apl/lib/iconv/adobe-zdingbats.so
/opt/local/apl/lib/iconv/big5.a
/opt/local/apl/lib/iconv/big5.la
/opt/local/apl/lib/iconv/big5.so
/opt/local/apl/lib/iconv/cns11643-plane1.a
/opt/local/apl/lib/iconv/cns11643-plane1.la
/opt/local/apl/lib/iconv/cns11643-plane1.so
/opt/local/apl/lib/iconv/cns11643-plane14.a
/opt/local/apl/lib/iconv/cns11643-plane14.la
/opt/local/apl/lib/iconv/cns11643-plane14.so
/opt/local/apl/lib/iconv/cns11643-plane2.a
/opt/local/apl/lib/iconv/cns11643-plane2.la
/opt/local/apl/lib/iconv/cns11643-plane2.so
/opt/local/apl/lib/iconv/cp037.a
/opt/local/apl/lib/iconv/cp037.la
/opt/local/apl/lib/iconv/cp037.so
/opt/local/apl/lib/iconv/cp038.a
/opt/local/apl/lib/iconv/cp038.la
/opt/local/apl/lib/iconv/cp038.so
/opt/local/apl/lib/iconv/cp10000.a
/opt/local/apl/lib/iconv/cp10000.la
/opt/local/apl/lib/iconv/cp10000.so
/opt/local/apl/lib/iconv/cp10006.a
/opt/local/apl/lib/iconv/cp10006.la
/opt/local/apl/lib/iconv/cp10006.so
/opt/local/apl/lib/iconv/cp10007.a
/opt/local/apl/lib/iconv/cp10007.la
/opt/local/apl/lib/iconv/cp10007.so
/opt/local/apl/lib/iconv/cp10029.a
/opt/local/apl/lib/iconv/cp10029.la
/opt/local/apl/lib/iconv/cp10029.so
/opt/local/apl/lib/iconv/cp1006.a
/opt/local/apl/lib/iconv/cp1006.la
/opt/local/apl/lib/iconv/cp1006.so
/opt/local/apl/lib/iconv/cp10079.a
/opt/local/apl/lib/iconv/cp10079.la
/opt/local/apl/lib/iconv/cp10079.so
/opt/local/apl/lib/iconv/cp10081.a
/opt/local/apl/lib/iconv/cp10081.la
/opt/local/apl/lib/iconv/cp10081.so
/opt/local/apl/lib/iconv/cp1026.a
/opt/local/apl/lib/iconv/cp1026.la
/opt/local/apl/lib/iconv/cp1026.so
/opt/local/apl/lib/iconv/cp273.a
/opt/local/apl/lib/iconv/cp273.la
/opt/local/apl/lib/iconv/cp273.so
/opt/local/apl/lib/iconv/cp274.a
/opt/local/apl/lib/iconv/cp274.la
/opt/local/apl/lib/iconv/cp274.so
/opt/local/apl/lib/iconv/cp275.a
:

devel/apl/apr-util-1.2.10

preparation
curl -RO -C - http://www.meisei-u.ac.jp/mirror/apache/dist/apr/apr-util-1.2.10.tar.gz
tar xvzf apr-util-1.2.10.tar.gz
build
./configure --prefix=/opt/local/apl --with-apr=/opt/local/apl
make 
installed
/opt/local/apl/bin/apu-1-config
/opt/local/apl/include/apr-1/apr_anylock.h
/opt/local/apl/include/apr-1/apr_base64.h
/opt/local/apl/include/apr-1/apr_buckets.h
/opt/local/apl/include/apr-1/apr_date.h
/opt/local/apl/include/apr-1/apr_dbd.h
/opt/local/apl/include/apr-1/apr_dbm.h
/opt/local/apl/include/apr-1/apr_hooks.h
/opt/local/apl/include/apr-1/apr_ldap.h
/opt/local/apl/include/apr-1/apr_ldap_init.h
/opt/local/apl/include/apr-1/apr_ldap_option.h
/opt/local/apl/include/apr-1/apr_ldap_url.h
/opt/local/apl/include/apr-1/apr_md4.h
/opt/local/apl/include/apr-1/apr_md5.h
/opt/local/apl/include/apr-1/apr_optional.h
/opt/local/apl/include/apr-1/apr_optional_hooks.h
/opt/local/apl/include/apr-1/apr_queue.h
/opt/local/apl/include/apr-1/apr_reslist.h
/opt/local/apl/include/apr-1/apr_rmm.h
/opt/local/apl/include/apr-1/apr_sdbm.h
/opt/local/apl/include/apr-1/apr_sha1.h
/opt/local/apl/include/apr-1/apr_strmatch.h
/opt/local/apl/include/apr-1/apr_uri.h
/opt/local/apl/include/apr-1/apr_uuid.h
/opt/local/apl/include/apr-1/apr_xlate.h
/opt/local/apl/include/apr-1/apr_xml.h
/opt/local/apl/include/apr-1/apu.h
/opt/local/apl/include/apr-1/apu_version.h
/opt/local/apl/include/apr-1/apu_want.h
/opt/local/apl/include/apr-1/expat.h
/opt/local/apl/lib/aprutil.exp
/opt/local/apl/lib/libaprutil-1.0.2.11.dylib
/opt/local/apl/lib/libaprutil-1.0.dylib
/opt/local/apl/lib/libaprutil-1.a
/opt/local/apl/lib/libaprutil-1.dylib
/opt/local/apl/lib/libaprutil-1.la
/opt/local/apl/lib/libexpat.0.1.0.dylib
/opt/local/apl/lib/libexpat.0.dylib
/opt/local/apl/lib/libexpat.a
/opt/local/apl/lib/libexpat.dylib
/opt/local/apl/lib/libexpat.la
/opt/local/apl/lib/pkgconfig/apr-util-1.pc

devel/apl/apr-1.2.11

preparation
curl -RO -C - http://www.meisei-u.ac.jp/mirror/apache/dist/apr/apr-1.2.11.tar.gz
tar xvzf apr-1.2.11.tar.gz
build
./configure --prefix=/opt/local/apl 
make 
installed
/opt/local/apl/bin/apr-1-config
/opt/local/apl/build-1/apr_rules.mk
/opt/local/apl/build-1/libtool
/opt/local/apl/build-1/make_exports.awk
/opt/local/apl/build-1/make_var_export.awk
/opt/local/apl/build-1/mkdir.sh
/opt/local/apl/include/apr-1/apr.h
/opt/local/apl/include/apr-1/apr_allocator.h
/opt/local/apl/include/apr-1/apr_atomic.h
/opt/local/apl/include/apr-1/apr_dso.h
/opt/local/apl/include/apr-1/apr_env.h
/opt/local/apl/include/apr-1/apr_errno.h
/opt/local/apl/include/apr-1/apr_file_info.h
/opt/local/apl/include/apr-1/apr_file_io.h
/opt/local/apl/include/apr-1/apr_fnmatch.h
/opt/local/apl/include/apr-1/apr_general.h
/opt/local/apl/include/apr-1/apr_getopt.h
/opt/local/apl/include/apr-1/apr_global_mutex.h
/opt/local/apl/include/apr-1/apr_hash.h
/opt/local/apl/include/apr-1/apr_inherit.h
/opt/local/apl/include/apr-1/apr_lib.h
/opt/local/apl/include/apr-1/apr_mmap.h
/opt/local/apl/include/apr-1/apr_network_io.h
/opt/local/apl/include/apr-1/apr_poll.h
/opt/local/apl/include/apr-1/apr_pools.h
/opt/local/apl/include/apr-1/apr_portable.h
/opt/local/apl/include/apr-1/apr_proc_mutex.h
/opt/local/apl/include/apr-1/apr_random.h
/opt/local/apl/include/apr-1/apr_ring.h
/opt/local/apl/include/apr-1/apr_shm.h
/opt/local/apl/include/apr-1/apr_signal.h
/opt/local/apl/include/apr-1/apr_strings.h
/opt/local/apl/include/apr-1/apr_support.h
/opt/local/apl/include/apr-1/apr_tables.h
/opt/local/apl/include/apr-1/apr_thread_cond.h
/opt/local/apl/include/apr-1/apr_thread_mutex.h
/opt/local/apl/include/apr-1/apr_thread_proc.h
/opt/local/apl/include/apr-1/apr_thread_rwlock.h
/opt/local/apl/include/apr-1/apr_time.h
/opt/local/apl/include/apr-1/apr_user.h
/opt/local/apl/include/apr-1/apr_version.h
/opt/local/apl/include/apr-1/apr_want.h
/opt/local/apl/lib/apr.exp
/opt/local/apl/lib/libapr-1.0.2.11.dylib
/opt/local/apl/lib/libapr-1.0.dylib
/opt/local/apl/lib/libapr-1.a
/opt/local/apl/lib/libapr-1.dylib
/opt/local/apl/lib/libapr-1.la
/opt/local/apl/lib/pkgconfig/apr-1.pc

libs/cairo/xsvg-0.2.1

preparation
wget -N http://cairographics.org/snapshots/xsvg-0.2.1.tar.gz
tar xvzf xsvg-0.2.1.tar.gz
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib PKG_CONFIG_PATH=/opt/local/devel/lib/pkgconfig:/opt/local/lib/pkgconfig ./configure --prefix=/opt/local/devel 
make "X_LIBS=-L/usr/X11R6/lib -lXrender -lX11" 
installed
/opt/local/devel/bin/xsvg
/opt/local/devel/man/man1/xsvg.1

libs/cairo/libsvg-cairo-0.1.6

preparation
wget -N http://cairographics.org/snapshots/libsvg-cairo-0.1.6.tar.gz
tar xvzf libsvg-cairo-0.1.6.tar.gz
build
env PKG_CONFIG_PATH=/opt/local/devel/lib/pkgconfig ./configure --prefix=/opt/local/devel 
make 
installed
/opt/local/devel/include/svg-cairo.h
/opt/local/devel/lib/libsvg-cairo.1.0.1.dylib
/opt/local/devel/lib/libsvg-cairo.1.dylib
/opt/local/devel/lib/libsvg-cairo.a
/opt/local/devel/lib/libsvg-cairo.dylib
/opt/local/devel/lib/libsvg-cairo.la
/opt/local/devel/lib/pkgconfig/libsvg-cairo.pc

libs/cairo/libsvg-0.1.4

preparation
wget -N http://cairographics.org/snapshots/libsvg-0.1.4.tar.gz
tar xvzf libsvg-0.1.4.tar.gz
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local/devel 
make 
installed
/opt/local/devel/include/svg.h
/opt/local/devel/lib/libsvg.1.0.0.dylib
/opt/local/devel/lib/libsvg.1.dylib
/opt/local/devel/lib/libsvg.a
/opt/local/devel/lib/libsvg.dylib
/opt/local/devel/lib/libsvg.la
/opt/local/devel/lib/pkgconfig/libsvg.pc

libs/cairo/cairo-1.4.10

preparation
wget -N http://cairographics.org/releases/cairo-1.4.10.tar.gz
build
env PKG_CONFIG_PATH=/opt/local/devel/lib/pkgconfig:/opt/local/lib/pkgconfig  ./configure --prefix=/opt/local/devel --enable-quartz --disable-xcb --enable-glitz --enable-atsui 
make 
installed
/opt/local/devel/include/cairo/cairo-atsui.h
/opt/local/devel/include/cairo/cairo-deprecated.h
/opt/local/devel/include/cairo/cairo-features.h
/opt/local/devel/include/cairo/cairo-ft.h
/opt/local/devel/include/cairo/cairo-glitz.h
/opt/local/devel/include/cairo/cairo-pdf.h
/opt/local/devel/include/cairo/cairo-ps.h
/opt/local/devel/include/cairo/cairo-quartz.h
/opt/local/devel/include/cairo/cairo-svg.h
/opt/local/devel/include/cairo/cairo-xlib-xrender.h
/opt/local/devel/include/cairo/cairo-xlib.h
/opt/local/devel/include/cairo/cairo.h
/opt/local/devel/lib/libcairo.2.11.5.dylib
/opt/local/devel/lib/libcairo.2.dylib
/opt/local/devel/lib/libcairo.a
/opt/local/devel/lib/libcairo.dylib
/opt/local/devel/lib/libcairo.la
/opt/local/devel/lib/pkgconfig/cairo-atsui.pc
/opt/local/devel/lib/pkgconfig/cairo-ft.pc
/opt/local/devel/lib/pkgconfig/cairo-glitz.pc
/opt/local/devel/lib/pkgconfig/cairo-pdf.pc
/opt/local/devel/lib/pkgconfig/cairo-png.pc
/opt/local/devel/lib/pkgconfig/cairo-ps.pc
/opt/local/devel/lib/pkgconfig/cairo-quartz.pc
/opt/local/devel/lib/pkgconfig/cairo-svg.pc
/opt/local/devel/lib/pkgconfig/cairo-xlib-xrender.pc
/opt/local/devel/lib/pkgconfig/cairo-xlib.pc
/opt/local/devel/lib/pkgconfig/cairo.pc
/opt/local/devel/share/gtk-doc/html/cairo/bindings-errors.html
/opt/local/devel/share/gtk-doc/html/cairo/bindings-fonts.html
/opt/local/devel/share/gtk-doc/html/cairo/bindings-memory.html
/opt/local/devel/share/gtk-doc/html/cairo/bindings-overloading.html
/opt/local/devel/share/gtk-doc/html/cairo/bindings-path.html
/opt/local/devel/share/gtk-doc/html/cairo/bindings-patterns.html
/opt/local/devel/share/gtk-doc/html/cairo/bindings-return-values.html
/opt/local/devel/share/gtk-doc/html/cairo/bindings-streams.html
/opt/local/devel/share/gtk-doc/html/cairo/bindings-surfaces.html
/opt/local/devel/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html
/opt/local/devel/share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html
/opt/local/devel/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html
/opt/local/devel/share/gtk-doc/html/cairo/cairo-cairo-t.html
/opt/local/devel/share/gtk-doc/html/cairo/cairo-Error-Handling.html
/opt/local/devel/share/gtk-doc/html/cairo/cairo-Font-Options.html
/opt/local/devel/share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html
/opt/local/devel/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html
/opt/local/devel/share/gtk-doc/html/cairo/cairo-Paths.html
/opt/local/devel/share/gtk-doc/html/cairo/cairo-Patterns.html
/opt/local/devel/share/gtk-doc/html/cairo/cairo-PDF-Surfaces.html
/opt/local/devel/share/gtk-doc/html/cairo/cairo-PNG-Support.html
/opt/local/devel/share/gtk-doc/html/cairo/cairo-PostScript-Surfaces.html
/opt/local/devel/share/gtk-doc/html/cairo/cairo-Scaled-Fonts.html
/opt/local/devel/share/gtk-doc/html/cairo/cairo-SVG-Surfaces.html
/opt/local/devel/share/gtk-doc/html/cairo/cairo-Text.html
/opt/local/devel/share/gtk-doc/html/cairo/cairo-Transformations.html
/opt/local/devel/share/gtk-doc/html/cairo/cairo-Types.html
/opt/local/devel/share/gtk-doc/html/cairo/cairo-Version-Information.html
/opt/local/devel/share/gtk-doc/html/cairo/cairo-Win32-Fonts.html
/opt/local/devel/share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html
/opt/local/devel/share/gtk-doc/html/cairo/cairo-XLib-Surfaces.html
/opt/local/devel/share/gtk-doc/html/cairo/cairo.devhelp
/opt/local/devel/share/gtk-doc/html/cairo/cairo.devhelp2
/opt/local/devel/share/gtk-doc/html/cairo/Drawing.html
/opt/local/devel/share/gtk-doc/html/cairo/Fonts.html
/opt/local/devel/share/gtk-doc/html/cairo/home.png
:

libs/fontconfig-2.4.2

preparation
wget -N http://fontconfig.org/release/fontconfig-2.4.2.tar.gz
tar xvzf fontconfig-2.4.2.tar.gz
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local/devel --with-add-fonts=/opt/local/share/emacs/fonts,/opt/local/X11R6/lib/X11/fonts 
make 
installed
/opt/local/devel/bin/fc-cache
/opt/local/devel/bin/fc-cat
/opt/local/devel/bin/fc-list
/opt/local/devel/bin/fc-match
/opt/local/devel/etc/fonts/conf.avail/10-autohint.conf
/opt/local/devel/etc/fonts/conf.avail/10-no-sub-pixel.conf
/opt/local/devel/etc/fonts/conf.avail/10-sub-pixel-bgr.conf
/opt/local/devel/etc/fonts/conf.avail/10-sub-pixel-rgb.conf
/opt/local/devel/etc/fonts/conf.avail/10-sub-pixel-vbgr.conf
/opt/local/devel/etc/fonts/conf.avail/10-sub-pixel-vrgb.conf
/opt/local/devel/etc/fonts/conf.avail/10-unhinted.conf
/opt/local/devel/etc/fonts/conf.avail/20-fix-globaladvance.conf
/opt/local/devel/etc/fonts/conf.avail/20-lohit-gujarati.conf
/opt/local/devel/etc/fonts/conf.avail/20-unhint-small-vera.conf
/opt/local/devel/etc/fonts/conf.avail/30-amt-aliases.conf
/opt/local/devel/etc/fonts/conf.avail/30-urw-aliases.conf
/opt/local/devel/etc/fonts/conf.avail/40-generic.conf
/opt/local/devel/etc/fonts/conf.avail/49-sansserif.conf
/opt/local/devel/etc/fonts/conf.avail/50-user.conf
/opt/local/devel/etc/fonts/conf.avail/51-local.conf
/opt/local/devel/etc/fonts/conf.avail/60-latin.conf
/opt/local/devel/etc/fonts/conf.avail/65-fonts-persian.conf
/opt/local/devel/etc/fonts/conf.avail/65-nonlatin.conf
/opt/local/devel/etc/fonts/conf.avail/69-unifont.conf
/opt/local/devel/etc/fonts/conf.avail/70-no-bitmaps.conf
/opt/local/devel/etc/fonts/conf.avail/70-yes-bitmaps.conf
/opt/local/devel/etc/fonts/conf.avail/80-delicious.conf
/opt/local/devel/etc/fonts/conf.avail/90-synthetic.conf
/opt/local/devel/etc/fonts/conf.avail/README
/opt/local/devel/etc/fonts/conf.d/20-fix-globaladvance.conf
/opt/local/devel/etc/fonts/conf.d/20-lohit-gujarati.conf
/opt/local/devel/etc/fonts/conf.d/20-unhint-small-vera.conf
/opt/local/devel/etc/fonts/conf.d/30-amt-aliases.conf
/opt/local/devel/etc/fonts/conf.d/30-urw-aliases.conf
/opt/local/devel/etc/fonts/conf.d/40-generic.conf
/opt/local/devel/etc/fonts/conf.d/49-sansserif.conf
/opt/local/devel/etc/fonts/conf.d/50-user.conf
/opt/local/devel/etc/fonts/conf.d/51-local.conf
/opt/local/devel/etc/fonts/conf.d/60-latin.conf
/opt/local/devel/etc/fonts/conf.d/65-fonts-persian.conf
/opt/local/devel/etc/fonts/conf.d/65-nonlatin.conf
/opt/local/devel/etc/fonts/conf.d/69-unifont.conf
/opt/local/devel/etc/fonts/conf.d/80-delicious.conf
/opt/local/devel/etc/fonts/conf.d/90-synthetic.conf
/opt/local/devel/etc/fonts/fonts.conf
/opt/local/devel/etc/fonts/fonts.dtd
/opt/local/devel/include/fontconfig/fcfreetype.h
/opt/local/devel/include/fontconfig/fcprivate.h
/opt/local/devel/include/fontconfig/fontconfig.h
/opt/local/devel/lib/libfontconfig.1.2.0.dylib
/opt/local/devel/lib/libfontconfig.1.dylib
/opt/local/devel/lib/libfontconfig.a
/opt/local/devel/lib/libfontconfig.dylib
/opt/local/devel/lib/libfontconfig.la
/opt/local/devel/lib/pkgconfig/fontconfig.pc
/opt/local/devel/share/doc/fontconfig/fontconfig-devel/index.html
/opt/local/devel/share/doc/fontconfig/fontconfig-devel/r1011.html
/opt/local/devel/share/doc/fontconfig/fontconfig-devel/r1038.html
/opt/local/devel/share/doc/fontconfig/fontconfig-devel/r1069.html
/opt/local/devel/share/doc/fontconfig/fontconfig-devel/r1091.html
/opt/local/devel/share/doc/fontconfig/fontconfig-devel/r1117.html
/opt/local/devel/share/doc/fontconfig/fontconfig-devel/r1139.html
/opt/local/devel/share/doc/fontconfig/fontconfig-devel/r1162.html
/opt/local/devel/share/doc/fontconfig/fontconfig-devel/r1186.html
:

libs/cairo/glitz-0.5.6

preparation
wget -N http://cairographics.org/snapshots/glitz-0.5.6.tar.gz
tar xvzf glitz-0.5.6.tar.gz
build
./configure --prefix=/opt/local/devel --enable-glx --enable-agl --disable-egl --disable-wgl 
make 
installed
/opt/local/devel/include/glitz-agl.h
/opt/local/devel/include/glitz-glx.h
/opt/local/devel/include/glitz.h
/opt/local/devel/lib/libglitz-agl.1.0.0.dylib
/opt/local/devel/lib/libglitz-agl.1.dylib
/opt/local/devel/lib/libglitz-agl.a
/opt/local/devel/lib/libglitz-agl.dylib
/opt/local/devel/lib/libglitz-agl.la
/opt/local/devel/lib/libglitz-glx.1.0.0.dylib
/opt/local/devel/lib/libglitz-glx.1.dylib
/opt/local/devel/lib/libglitz-glx.a
/opt/local/devel/lib/libglitz-glx.dylib
/opt/local/devel/lib/libglitz-glx.la
/opt/local/devel/lib/libglitz.1.0.0.dylib
/opt/local/devel/lib/libglitz.1.dylib
/opt/local/devel/lib/libglitz.a
/opt/local/devel/lib/libglitz.dylib
/opt/local/devel/lib/libglitz.la
/opt/local/devel/lib/pkgconfig/glitz-agl.pc
/opt/local/devel/lib/pkgconfig/glitz-glx.pc
/opt/local/devel/lib/pkgconfig/glitz.pc

libs/freetype-2.3.5/freetype-2.3.5

preparation
wget -N http://downloads.sourceforge.net/freetype/freetype-2.3.5.tar.bz2
wget -N http://downloads.sourceforge.net/freetype/ft2demos-2.3.5.tar.bz2
wget -N http://downloads.sourceforge.net/freetype/freetype-doc-2.3.5.tar.bz2
tar xvjf freetype-2.3.5.tar.bz2
ln -s freetype-2.3.5 freetype2
tar xvjf ft2demos-2.3.5.tar.bz2
build
./configure --prefix=/opt/local/devel --with-old-mac-fonts --with-fsspec --with-fsref --with-quickdraw-toolbox --with-quickdraw-carbon --with-ats 
make 
installed
/opt/local/devel/bin/freetype-config
/opt/local/devel/include/freetype2/freetype/config/ftconfig.h
/opt/local/devel/include/freetype2/freetype/config/ftheader.h
/opt/local/devel/include/freetype2/freetype/config/ftmodule.h
/opt/local/devel/include/freetype2/freetype/config/ftoption.h
/opt/local/devel/include/freetype2/freetype/config/ftstdlib.h
/opt/local/devel/include/freetype2/freetype/freetype.h
/opt/local/devel/include/freetype2/freetype/ftbbox.h
/opt/local/devel/include/freetype2/freetype/ftbdf.h
/opt/local/devel/include/freetype2/freetype/ftbitmap.h
/opt/local/devel/include/freetype2/freetype/ftcache.h
/opt/local/devel/include/freetype2/freetype/ftchapters.h
/opt/local/devel/include/freetype2/freetype/fterrdef.h
/opt/local/devel/include/freetype2/freetype/fterrors.h
/opt/local/devel/include/freetype2/freetype/ftgasp.h
/opt/local/devel/include/freetype2/freetype/ftglyph.h
/opt/local/devel/include/freetype2/freetype/ftgxval.h
/opt/local/devel/include/freetype2/freetype/ftgzip.h
/opt/local/devel/include/freetype2/freetype/ftimage.h
/opt/local/devel/include/freetype2/freetype/ftincrem.h
/opt/local/devel/include/freetype2/freetype/ftlcdfil.h
/opt/local/devel/include/freetype2/freetype/ftlist.h
/opt/local/devel/include/freetype2/freetype/ftlzw.h
/opt/local/devel/include/freetype2/freetype/ftmac.h
/opt/local/devel/include/freetype2/freetype/ftmm.h
/opt/local/devel/include/freetype2/freetype/ftmodapi.h
/opt/local/devel/include/freetype2/freetype/ftmoderr.h
/opt/local/devel/include/freetype2/freetype/ftotval.h
/opt/local/devel/include/freetype2/freetype/ftoutln.h
/opt/local/devel/include/freetype2/freetype/ftpfr.h
/opt/local/devel/include/freetype2/freetype/ftrender.h
/opt/local/devel/include/freetype2/freetype/ftsizes.h
/opt/local/devel/include/freetype2/freetype/ftsnames.h
/opt/local/devel/include/freetype2/freetype/ftstroke.h
/opt/local/devel/include/freetype2/freetype/ftsynth.h
/opt/local/devel/include/freetype2/freetype/ftsystem.h
/opt/local/devel/include/freetype2/freetype/fttrigon.h
/opt/local/devel/include/freetype2/freetype/fttypes.h
/opt/local/devel/include/freetype2/freetype/ftwinfnt.h
/opt/local/devel/include/freetype2/freetype/ftxf86.h
/opt/local/devel/include/freetype2/freetype/t1tables.h
/opt/local/devel/include/freetype2/freetype/ttnameid.h
/opt/local/devel/include/freetype2/freetype/tttables.h
/opt/local/devel/include/freetype2/freetype/tttags.h
/opt/local/devel/include/freetype2/freetype/ttunpat.h
/opt/local/devel/include/ft2build.h
/opt/local/devel/lib/libfreetype.6.3.16.dylib
/opt/local/devel/lib/libfreetype.6.dylib
/opt/local/devel/lib/libfreetype.a
/opt/local/devel/lib/libfreetype.dylib
/opt/local/devel/lib/libfreetype.la
/opt/local/devel/lib/pkgconfig/freetype2.pc
/opt/local/devel/share/aclocal/freetype2.m4

libs/libxml2-2.6.30

preparation
wget -N ftp://xmlsoft.org/libxml2/libxml2-2.6.30.tar.gz
tar xvzf libxml2-2.6.30.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/xml2-config
/opt/local/bin/xmlcatalog
/opt/local/bin/xmllint
/opt/local/include/libxml2/libxml/c14n.h
/opt/local/include/libxml2/libxml/catalog.h
/opt/local/include/libxml2/libxml/chvalid.h
/opt/local/include/libxml2/libxml/debugXML.h
/opt/local/include/libxml2/libxml/dict.h
/opt/local/include/libxml2/libxml/DOCBparser.h
/opt/local/include/libxml2/libxml/encoding.h
/opt/local/include/libxml2/libxml/entities.h
/opt/local/include/libxml2/libxml/globals.h
/opt/local/include/libxml2/libxml/hash.h
/opt/local/include/libxml2/libxml/HTMLparser.h
/opt/local/include/libxml2/libxml/HTMLtree.h
/opt/local/include/libxml2/libxml/list.h
/opt/local/include/libxml2/libxml/nanoftp.h
/opt/local/include/libxml2/libxml/nanohttp.h
/opt/local/include/libxml2/libxml/parser.h
/opt/local/include/libxml2/libxml/parserInternals.h
/opt/local/include/libxml2/libxml/pattern.h
/opt/local/include/libxml2/libxml/relaxng.h
/opt/local/include/libxml2/libxml/SAX.h
/opt/local/include/libxml2/libxml/SAX2.h
/opt/local/include/libxml2/libxml/schemasInternals.h
/opt/local/include/libxml2/libxml/schematron.h
/opt/local/include/libxml2/libxml/threads.h
/opt/local/include/libxml2/libxml/tree.h
/opt/local/include/libxml2/libxml/uri.h
/opt/local/include/libxml2/libxml/valid.h
/opt/local/include/libxml2/libxml/xinclude.h
/opt/local/include/libxml2/libxml/xlink.h
/opt/local/include/libxml2/libxml/xmlautomata.h
/opt/local/include/libxml2/libxml/xmlerror.h
/opt/local/include/libxml2/libxml/xmlexports.h
/opt/local/include/libxml2/libxml/xmlIO.h
/opt/local/include/libxml2/libxml/xmlmemory.h
/opt/local/include/libxml2/libxml/xmlmodule.h
/opt/local/include/libxml2/libxml/xmlreader.h
/opt/local/include/libxml2/libxml/xmlregexp.h
/opt/local/include/libxml2/libxml/xmlsave.h
/opt/local/include/libxml2/libxml/xmlschemas.h
/opt/local/include/libxml2/libxml/xmlschemastypes.h
/opt/local/include/libxml2/libxml/xmlstring.h
/opt/local/include/libxml2/libxml/xmlunicode.h
/opt/local/include/libxml2/libxml/xmlversion.h
/opt/local/include/libxml2/libxml/xmlwriter.h
/opt/local/include/libxml2/libxml/xpath.h
/opt/local/include/libxml2/libxml/xpathInternals.h
/opt/local/include/libxml2/libxml/xpointer.h
/opt/local/lib/libxml2.2.6.30.dylib
/opt/local/lib/libxml2.2.dylib
/opt/local/lib/libxml2.a
/opt/local/lib/libxml2.dylib
/opt/local/lib/libxml2.la
/opt/local/lib/pkgconfig/libxml-2.0.pc
/opt/local/lib/python2.3/site-packages/drv_libxml2.py
/opt/local/lib/python2.3/site-packages/libxml2.py
/opt/local/lib/python2.3/site-packages/libxml2mod.a
/opt/local/lib/python2.3/site-packages/libxml2mod.la
/opt/local/lib/python2.3/site-packages/libxml2mod.so
/opt/local/lib/xml2Conf.sh
/opt/local/man/man1/xml2-config.1
/opt/local/man/man1/xmlcatalog.1
:

libs/expat-2.0.0

preparation
curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/expat/expat-2.0.0.tar.gz
tar xvzf expat-2.0.0.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/xmlwf
/opt/local/include/expat.h
/opt/local/include/expat_external.h
/opt/local/lib/libexpat.1.5.0.dylib
/opt/local/lib/libexpat.1.dylib
/opt/local/lib/libexpat.a
/opt/local/lib/libexpat.dylib
/opt/local/lib/libexpat.la
/opt/local/man/man1/xmlwf.1

img/tiff-3.8.2

preparation
curl -RO -C - http://ring.atr.jp/archives/graphics/ImageMagick/delegates/tiff-3.8.2.tar.gz
curl -RO -C - http://ftp.de.debian.org/debian/pool/main/t/tiff/tiff_3.8.2-7.diff.gz
tar xvzf tiff-3.8.2.tar.gz
(cd tiff-3.8.2 &&
gzcat ../tiff_3.8.2-7.diff.gz | patch -p1
for p in debian/patches/*; do
  case "$p" in */soname.patch);; *) patch -p1 < "$p";; esac
done
)
build
./configure --prefix=/opt/local --with-zlib-include-dir=/usr/include --with-zlib-lib-dir=/usr/lib --with-jpeg-include-dir=/opt/local/include --with-jpeg-lib-dir=/opt/local/lib --with-apple-opengl-framework 
make 
installed
/opt/local/bin/bmp2tiff
/opt/local/bin/fax2ps
/opt/local/bin/fax2tiff
/opt/local/bin/gif2tiff
/opt/local/bin/pal2rgb
/opt/local/bin/ppm2tiff
/opt/local/bin/ras2tiff
/opt/local/bin/raw2tiff
/opt/local/bin/rgb2ycbcr
/opt/local/bin/thumbnail
/opt/local/bin/tiff2bw
/opt/local/bin/tiff2pdf
/opt/local/bin/tiff2ps
/opt/local/bin/tiff2rgba
/opt/local/bin/tiffcmp
/opt/local/bin/tiffcp
/opt/local/bin/tiffdither
/opt/local/bin/tiffdump
/opt/local/bin/tiffgt
/opt/local/bin/tiffinfo
/opt/local/bin/tiffmedian
/opt/local/bin/tiffset
/opt/local/bin/tiffsplit
/opt/local/include/tiff.h
/opt/local/include/tiffconf.h
/opt/local/include/tiffio.h
/opt/local/include/tiffio.hxx
/opt/local/include/tiffvers.h
/opt/local/lib/libtiff.3.dylib
/opt/local/lib/libtiff.a
/opt/local/lib/libtiff.dylib
/opt/local/lib/libtiff.la
/opt/local/lib/libtiffxx.3.dylib
/opt/local/lib/libtiffxx.a
/opt/local/lib/libtiffxx.dylib
/opt/local/lib/libtiffxx.la
/opt/local/man/man1/bmp2tiff.1
/opt/local/man/man1/fax2ps.1
/opt/local/man/man1/fax2tiff.1
/opt/local/man/man1/gif2tiff.1
/opt/local/man/man1/pal2rgb.1
/opt/local/man/man1/ppm2tiff.1
/opt/local/man/man1/ras2tiff.1
/opt/local/man/man1/raw2tiff.1
/opt/local/man/man1/rgb2ycbcr.1
/opt/local/man/man1/sgi2tiff.1
/opt/local/man/man1/thumbnail.1
/opt/local/man/man1/tiff2bw.1
/opt/local/man/man1/tiff2pdf.1
/opt/local/man/man1/tiff2ps.1
/opt/local/man/man1/tiff2rgba.1
/opt/local/man/man1/tiffcmp.1
/opt/local/man/man1/tiffcp.1
/opt/local/man/man1/tiffdither.1
/opt/local/man/man1/tiffdump.1
/opt/local/man/man1/tiffgt.1
/opt/local/man/man1/tiffinfo.1
/opt/local/man/man1/tiffmedian.1
/opt/local/man/man1/tiffset.1
/opt/local/man/man1/tiffsplit.1
/opt/local/man/man1/tiffsv.1
/opt/local/man/man3/libtiff.3tiff
/opt/local/man/man3/TIFFbuffer.3tiff
/opt/local/man/man3/TIFFClose.3tiff
:

img/libpng-1.2.21

preparation
curl -L -RO -C - http://downloads.sourceforge.net/libpng/libpng-1.2.21.tar.bz2
tar xvjf libpng-1.2.21.tar.bz2
build
ln -s scripts/makefile.darwin Makefile
make prefix=/opt/local ZLIBLIB=/usr/lib ZLIBINC=/usr/include

installation
make prefix=/opt/local install 
installed
/opt/local/bin/libpng-config
/opt/local/bin/libpng12-config
/opt/local/include/libpng
/opt/local/include/libpng12/png.h
/opt/local/include/libpng12/pngconf.h
/opt/local/include/png.h
/opt/local/include/pngconf.h
/opt/local/lib/libpng.3.1.2.21.dylib
/opt/local/lib/libpng.3.dylib
/opt/local/lib/libpng.a
/opt/local/lib/libpng.dylib
/opt/local/lib/libpng12.0.1.2.21.dylib
/opt/local/lib/libpng12.0.dylib
/opt/local/lib/libpng12.a
/opt/local/lib/libpng12.dylib
/opt/local/lib/pkgconfig/libpng.pc
/opt/local/lib/pkgconfig/libpng12.pc
/opt/local/man/man3/libpng.3
/opt/local/man/man3/libpngpf.3
/opt/local/man/man5/png.5

av/gpac/gpac-0.4.4

preparation
curl -RO -C - http://kent.dl.sourceforge.net/sourceforge/gpac/gpac-0.4.4.tar.gz
tar xvzf gpac-0.4.4.tar.gz && mv gpac gpac-0.4.4
(cd gpac-0.4.4
#patch -p0 -b -z.org < ../gpac-0.4.4-sakuya.patch
mv INSTALL INSTALL.txt
chmod +x configure
)
build
./configure --prefix=/opt/local --disable-wx 
make 
installation
make install install-lib 
installed
/opt/local/bin/MP4Box
/opt/local/bin/MP4Client
/opt/local/include/gpac/avparse.h
/opt/local/include/gpac/base_coding.h
/opt/local/include/gpac/bifs.h
/opt/local/include/gpac/bifsengine.h
/opt/local/include/gpac/bitstream.h
/opt/local/include/gpac/color.h
/opt/local/include/gpac/config.h
/opt/local/include/gpac/constants.h
/opt/local/include/gpac/crypt.h
/opt/local/include/gpac/download.h
/opt/local/include/gpac/esi.h
/opt/local/include/gpac/events.h
/opt/local/include/gpac/ietf.h
/opt/local/include/gpac/internal/avilib.h
/opt/local/include/gpac/internal/bifs_dev.h
/opt/local/include/gpac/internal/bifs_tables.h
/opt/local/include/gpac/internal/crypt_dev.h
/opt/local/include/gpac/internal/ietf_dev.h
/opt/local/include/gpac/internal/isomedia_dev.h
/opt/local/include/gpac/internal/laser_dev.h
/opt/local/include/gpac/internal/media_dev.h
/opt/local/include/gpac/internal/odf_dev.h
/opt/local/include/gpac/internal/ogg.h
/opt/local/include/gpac/internal/renderer_dev.h
/opt/local/include/gpac/internal/scenegraph_dev.h
/opt/local/include/gpac/internal/swf_dev.h
/opt/local/include/gpac/internal/terminal_dev.h
/opt/local/include/gpac/internal/vobsub.h
/opt/local/include/gpac/ismacryp.h
/opt/local/include/gpac/iso639.h
/opt/local/include/gpac/isomedia.h
/opt/local/include/gpac/laser.h
/opt/local/include/gpac/list.h
/opt/local/include/gpac/math.h
/opt/local/include/gpac/media_tools.h
/opt/local/include/gpac/mediaobject.h
/opt/local/include/gpac/module.h
/opt/local/include/gpac/modules/audio_out.h
/opt/local/include/gpac/modules/codec.h
/opt/local/include/gpac/modules/font.h
/opt/local/include/gpac/modules/ipmp.h
/opt/local/include/gpac/modules/raster2d.h
/opt/local/include/gpac/modules/service.h
/opt/local/include/gpac/modules/video_out.h
/opt/local/include/gpac/mpeg4_odf.h
/opt/local/include/gpac/mpegts.h
/opt/local/include/gpac/network.h
/opt/local/include/gpac/nodes_mpeg4.h
/opt/local/include/gpac/nodes_svg_da.h
/opt/local/include/gpac/nodes_svg_sa.h
/opt/local/include/gpac/nodes_svg_sani.h
/opt/local/include/gpac/nodes_x3d.h
/opt/local/include/gpac/options.h
/opt/local/include/gpac/path2d.h
/opt/local/include/gpac/renderer.h
/opt/local/include/gpac/scene_manager.h
/opt/local/include/gpac/scenegraph.h
/opt/local/include/gpac/scenegraph_svg.h
/opt/local/include/gpac/scenegraph_vrml.h
/opt/local/include/gpac/setup.h
/opt/local/include/gpac/svg_types.h
/opt/local/include/gpac/sync_layer.h
:

av/players/mplayer/mplayer-export-2007-09-21

preparation
curl -RO -C - http://www.mplayerhq.hu/MPlayer/releases/mplayer-export-snapshot.tar.bz2
[ ! -d mplayer-export-2007-09-21 ] && {
cp -p mplayer-export-snapshot.tar.bz2 mplayer-export-2007-09-21.tar.bz2 &&
tar xvjf mplayer-export-2007-09-21.tar.bz2
(cd mplayer-export-2007-09-21 &&
patch -p0 -b -z .org < ../mplayer-export-2007-09-21-sakuya.patch
)
}
build
./configure --prefix=/opt/local --with-extraincdir=/opt/local/include --with-extralibdir=/opt/local/lib --disable-sdl 
make 
patch
--- ./configure.org	2007-09-20 06:38:22.000000000 +0900
+++ ./configure	2007-09-21 18:35:19.000000000 +0900
@@ -6574,7 +6574,7 @@
 int main(void) { x264_encoder_open((void*)0); return 0; }
 EOF
   _x264=no
-  for _ld_x264 in "-lx264 $_ld_pthread" "-lx264 $_ld_pthread $_ld_lm" ; do
+  for _ld_x264 in "-lx264 -lX11 $_ld_pthread" "-lx264 -lX11 $_ld_pthread $_ld_lm" ; do
     cc_check $_ld_x264 && _libs_mencoder="$_libs_mencoder $_ld_x264" && _x264=yes && break
   done
 fi
installed
/opt/local/bin/mencoder
/opt/local/bin/mplayer
/opt/local/share/man/man1/mencoder.1
/opt/local/share/man/man1/mplayer.1

av/players/mplayer/ffmpeg-20070921

preparation
if [ ! -f ffmpeg-20070921.tar.bz2 ]; then
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
(cd ffmpeg && tar cf - .) | (mkdir ffmpeg-20070921 && cd ffmpeg-20070921 && tar xvf -)
tar cvjf ffmpeg-20070921.tar.bz2 ffmpeg-20070921
else
tar xvjf ffmpeg-20070921.tar.bz2
fi
(cd ffmpeg-20070921 && patch -p0 -b -z.org < ../ffmpeg-20070921-sakuya.patch)
build
#./configure --prefix=/opt/local --extra-cflags=-I/opt/local/include --extra-ldflags=-L/opt/local/lib --enable-powerpc-perf --enable-libfaad --enable-libfaac --enable-libx264 --enable-liba52 --enable-shared --enable-pthreads --enable-gpl 
#./configure --prefix=/opt/local --extra-cflags=-I/opt/local/include --extra-ldflags=-L/opt/local/lib --enable-powerpc-perf --enable-libfaad --enable-libfaac --enable-libx264 --enable-liba52 --enable-pthreads --enable-gpl 
./configure --prefix=/opt/local --extra-cflags=-I/opt/local/include --extra-ldflags=-L/opt/local/lib --enable-powerpc-perf --enable-libfaad --enable-libfaac --enable-libx264 --enable-liba52 --enable-libmp3lame --enable-shared --enable-pthreads --enable-gpl 
make 
patch
--- ./configure.org	2007-09-21 17:59:19.000000000 +0900
+++ ./configure	2007-09-21 18:00:00.000000000 +0900
@@ -1582,7 +1582,7 @@
 enabled libogg     && require libogg ogg/ogg.h ogg_sync_init -logg
 enabled libtheora  && require libtheora theora/theora.h theora_info_init -ltheora -logg
 enabled libvorbis  && require libvorbis vorbis/vorbisenc.h vorbis_info_init -lvorbis -lvorbisenc -logg
-enabled libx264    && require x264 x264.h x264_encoder_open -lx264
+enabled libx264    && require x264 x264.h x264_encoder_open -lx264 -L/usr/X11R6/lib -lX11
 enabled libxvid    && require Xvid xvid.h xvid_global -lxvidcore
 enabled mlib       && require mediaLib mlib_types.h mlib_VectorSub_S16_U8_Mod -lmlib
 
installation
make install installlib 
installed
/opt/local/bin/ffmpeg
/opt/local/bin/ffplay
/opt/local/bin/ffserver
/opt/local/include/ffmpeg/adler32.h
/opt/local/include/ffmpeg/avcodec.h
/opt/local/include/ffmpeg/avformat.h
/opt/local/include/ffmpeg/avio.h
/opt/local/include/ffmpeg/avstring.h
/opt/local/include/ffmpeg/avutil.h
/opt/local/include/ffmpeg/base64.h
/opt/local/include/ffmpeg/common.h
/opt/local/include/ffmpeg/fifo.h
/opt/local/include/ffmpeg/integer.h
/opt/local/include/ffmpeg/intfloat_readwrite.h
/opt/local/include/ffmpeg/log.h
/opt/local/include/ffmpeg/lzo.h
/opt/local/include/ffmpeg/mathematics.h
/opt/local/include/ffmpeg/md5.h
/opt/local/include/ffmpeg/mem.h
/opt/local/include/ffmpeg/opt.h
/opt/local/include/ffmpeg/random.h
/opt/local/include/ffmpeg/rational.h
/opt/local/include/ffmpeg/rgb2rgb.h
/opt/local/include/ffmpeg/rtp.h
/opt/local/include/ffmpeg/rtsp.h
/opt/local/include/ffmpeg/rtspcodes.h
/opt/local/include/ffmpeg/swscale.h
/opt/local/lib/libavcodec.51.44.0.dylib
/opt/local/lib/libavcodec.51.dylib
/opt/local/lib/libavcodec.a
/opt/local/lib/libavcodec.dylib
/opt/local/lib/libavformat.51.13.4.dylib
/opt/local/lib/libavformat.51.dylib
/opt/local/lib/libavformat.a
/opt/local/lib/libavformat.dylib
/opt/local/lib/libavutil.49.5.0.dylib
/opt/local/lib/libavutil.49.dylib
/opt/local/lib/libavutil.a
/opt/local/lib/libavutil.dylib
/opt/local/lib/pkgconfig/libavcodec.pc
/opt/local/lib/pkgconfig/libavformat.pc
/opt/local/lib/pkgconfig/libavutil.pc
/opt/local/lib/pkgconfig/libswscale.pc
/opt/local/lib/vhook/drawtext.dylib
/opt/local/lib/vhook/fish.dylib
/opt/local/lib/vhook/null.dylib
/opt/local/lib/vhook/ppm.dylib
/opt/local/lib/vhook/watermark.dylib
/opt/local/share/man/man1/ffmpeg.1
/opt/local/share/man/man1/ffplay.1
/opt/local/share/man/man1/ffserver.1

av/mpeg2dec-0.4.1

preparation
curl -RO -C - http://libmpeg2.sourceforge.net/files/mpeg2dec-0.4.1.tar.gz
tar xvzf mpeg2dec-0.4.1.tar.gz
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local --enable-shared 
make 
patch
--- ./libmpeg2/cpu_accel.c~	2003-10-06 11:31:52.000000000 +0900
+++ ./libmpeg2/cpu_accel.c	2005-08-21 07:54:39.000000000 +0900
@@ -29,9 +29,12 @@
 #include "attributes.h"
 #include "mpeg2_internal.h"
 
+/*#define INLINE inline*/
+#define INLINE
+
 #ifdef ACCEL_DETECT
 #ifdef ARCH_X86
-static inline uint32_t arch_accel (void)
+static INLINE uint32_t arch_accel (void)
 {
     uint32_t eax, ebx, ecx, edx;
     int AMD;
@@ -127,7 +130,7 @@
 }
 
 #ifdef ARCH_PPC
-static inline uint32_t arch_accel (void)
+static INLINE uint32_t arch_accel (void)
 {
     static RETSIGTYPE (* oldsig) (int);
 
@@ -157,7 +160,7 @@
 #endif /* ARCH_PPC */
 
 #ifdef ARCH_SPARC
-static inline uint32_t arch_accel (void)
+static INLINE uint32_t arch_accel (void)
 {
     static RETSIGTYPE (* oldsig) (int);
 
@@ -193,7 +196,7 @@
 #endif /* ARCH_PPC || ARCH_SPARC */
 
 #ifdef ARCH_ALPHA
-static inline uint32_t arch_accel (void)
+static INLINE uint32_t arch_accel (void)
 {
     uint64_t no_mvi;
 
installed
/opt/local/bin/corrupt_mpeg2
/opt/local/bin/extract_mpeg2
/opt/local/bin/mpeg2dec
/opt/local/include/mpeg2dec/mpeg2.h
/opt/local/include/mpeg2dec/mpeg2convert.h
/opt/local/lib/libmpeg2.0.0.0.dylib
/opt/local/lib/libmpeg2.0.dylib
/opt/local/lib/libmpeg2.a
/opt/local/lib/libmpeg2.dylib
/opt/local/lib/libmpeg2.la
/opt/local/lib/libmpeg2convert.0.0.0.dylib
/opt/local/lib/libmpeg2convert.0.dylib
/opt/local/lib/libmpeg2convert.a
/opt/local/lib/libmpeg2convert.dylib
/opt/local/lib/libmpeg2convert.la
/opt/local/lib/pkgconfig/libmpeg2.pc
/opt/local/lib/pkgconfig/libmpeg2convert.pc
/opt/local/man/man1/extract_mpeg2.1
/opt/local/man/man1/mpeg2dec.1

av/lame-3.97

preparation
wget -N http://downloads.sourceforge.net/lame/lame-3.97.tar.gz
tar xvzf lame-3.97.tar.gz
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/lame
/opt/local/include/lame/lame.h
/opt/local/lib/libmp3lame.0.0.0.dylib
/opt/local/lib/libmp3lame.0.dylib
/opt/local/lib/libmp3lame.a
/opt/local/lib/libmp3lame.dylib
/opt/local/lib/libmp3lame.la
/opt/local/man/man1/lame.1
/opt/local/share/doc/lame/html/basic.html
/opt/local/share/doc/lame/html/contributors.html
/opt/local/share/doc/lame/html/examples.html
/opt/local/share/doc/lame/html/history.html
/opt/local/share/doc/lame/html/id3.html
/opt/local/share/doc/lame/html/index.html
/opt/local/share/doc/lame/html/lame.css
/opt/local/share/doc/lame/html/modes.html
/opt/local/share/doc/lame/html/node6.html
/opt/local/share/doc/lame/html/presets.html
/opt/local/share/doc/lame/html/switchs.html

av/twolame-0.3.10

preparation
wget -N http://downloads.sourceforge.net/twolame/twolame-0.3.10.tar.gz
tar xvzf twolame-0.3.10.tar.gz
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/twolame
/opt/local/include/twolame.h
/opt/local/lib/libtwolame.0.0.0.dylib
/opt/local/lib/libtwolame.0.dylib
/opt/local/lib/libtwolame.a
/opt/local/lib/libtwolame.dylib
/opt/local/lib/libtwolame.la
/opt/local/lib/pkgconfig/twolame.pc
/opt/local/share/doc/twolame/api.txt
/opt/local/share/doc/twolame/html/api.html
/opt/local/share/doc/twolame/html/authors.html
/opt/local/share/doc/twolame/html/changelog.html
/opt/local/share/doc/twolame/html/doxygen.css
/opt/local/share/doc/twolame/html/doxygen.png
/opt/local/share/doc/twolame/html/index.html
/opt/local/share/doc/twolame/html/psycho.html
/opt/local/share/doc/twolame/html/readme.html
/opt/local/share/doc/twolame/html/todo.html
/opt/local/share/doc/twolame/html/twolame-manpage.css
/opt/local/share/doc/twolame/html/twolame-quirks.css
/opt/local/share/doc/twolame/html/twolame.1.html
/opt/local/share/doc/twolame/html/twolame.css
/opt/local/share/doc/twolame/html/twolame_8h-source.html
/opt/local/share/doc/twolame/html/twolame_8h.html
/opt/local/share/doc/twolame/html/vbr.html
/opt/local/share/doc/twolame/psycho.txt
/opt/local/share/doc/twolame/vbr.txt
/opt/local/share/man/man1/twolame.1

av/ifodump-0.0.1

preparation
wget -N http://downloads.sourceforge.net/dvd/ifodump-0.0.1.tar.gz
tar xvzf ifodump-0.0.1.tar.gz
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/ifo_dump

av/libdvdnav-0.1.10

preparation
wget -N http://downloads.sourceforge.net/dvd/libdvdnav-0.1.10.tar.gz
tar xvzf libdvdnav-0.1.10.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/dvdnav-config
/opt/local/include/dvdnav/dvd_reader.h
/opt/local/include/dvdnav/dvd_types.h
/opt/local/include/dvdnav/dvdnav.h
/opt/local/include/dvdnav/dvdnav_events.h
/opt/local/include/dvdnav/ifo_print.h
/opt/local/include/dvdnav/ifo_read.h
/opt/local/include/dvdnav/ifo_types.h
/opt/local/include/dvdnav/nav_print.h
/opt/local/include/dvdnav/nav_read.h
/opt/local/include/dvdnav/nav_types.h
/opt/local/lib/libdvdnav.4.0.0.dylib
/opt/local/lib/libdvdnav.4.dylib
/opt/local/lib/libdvdnav.dylib
/opt/local/lib/libdvdnav.la
/opt/local/share/aclocal/dvdnav.m4

av/dvdauthor-0.6.14

preparation
wget -N http://downloads.sourceforge.net/dvdauthor/dvdauthor-0.6.14.tar.gz
tar xvzf dvdauthor-0.6.14.tar.gz
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/dvdauthor
/opt/local/bin/dvddirdel
/opt/local/bin/dvdunauthor
/opt/local/bin/mpeg2desc
/opt/local/bin/spumux
/opt/local/bin/spuunmux
/opt/local/share/dvdauthor/dvdauthor.xsd
/opt/local/share/dvdauthor/spumux.xsd
/opt/local/share/man/man1/dvdauthor.1
/opt/local/share/man/man1/dvddirdel.1
/opt/local/share/man/man1/dvdunauthor.1
/opt/local/share/man/man1/mpeg2desc.1
/opt/local/share/man/man1/spumux.1
/opt/local/share/man/man1/spuunmux.1

av/dvdbackup-0.1.1

preparation
curl -RO -C - http://dvd-create.sourceforge.net/dvdbackup-0.1.1.tar.gz
curl -RO -C - http://ftp.debian.org/debian/pool/main/d/dvdbackup/dvdbackup_0.1.1-3.diff.gz
tar xvzf dvdbackup-0.1.1.tar.gz
mv dvdbackup dvdbackup-0.1.1
(cd dvdbackup-0.1.1 && gzcat ../dvdbackup_0.1.1-3.diff.gz | patch -p1)
(cd dvdbackup-0.1.1 && patch -p0 -b -z.org < ../dvdbackup-0.1.1-sakuya.patch)
build
#gcc -O -I/opt/local/include -L/opt/local/lib -o dvdbackup -ldvdread src/dvdbackup.c 
gcc -O -I/opt/local/include -L/opt/local/lib -o dvdbackup src/dvdbackup.c /opt/local/lib/libdvdread.a /opt/local/lib/libdvdcss.a
patch
--- ./src/dvdbackup.c.org	2007-10-20 02:03:52.000000000 +0900
+++ ./src/dvdbackup.c	2007-10-20 02:30:09.000000000 +0900
@@ -30,6 +30,7 @@
 #include <unistd.h>
 #include <string.h>
 #include <limits.h>
+#include <stdint.h>
 #include <dvdread/dvd_reader.h>
 #include <dvdread/ifo_read.h>
 #include <dvdread/ifo_print.h>
@@ -1985,6 +1986,13 @@
 
 	vts_title = titles_info->titles[titles - 1].vts_title;
 
+	if (start_chapter > titles_info->titles[titles - 1].chapters &&
+	    end_chapter > titles_info->titles[titles - 1].chapters) {
+		fprintf(stderr, "Overflowed the start_chapter; only %d chapters in %d title\n", start_chapter,titles);
+		fprintf(stderr, "Overflowed the end_chapter; only %d chapters in %d title\n", end_chapter,titles);
+		return(1);
+	}
+
 	if (end_chapter > titles_info->titles[titles - 1].chapters) {
 		end_chapter = titles_info->titles[titles - 1].chapters;
 		fprintf(stderr, "Truncated the end_chapter; only %d chapters in %d title\n", end_chapter,titles);
@@ -1992,7 +2000,7 @@
 
 	if (start_chapter > titles_info->titles[titles - 1].chapters) {
 		start_chapter = titles_info->titles[titles - 1].chapters;
-		fprintf(stderr, "Truncated the end_chapter; only %d chapters in %d title\n", end_chapter,titles);
+		fprintf(stderr, "Truncated the start_chapter; only %d chapters in %d title\n", start_chapter,titles);
 	}
 
 
installation
cp dvdbackup /opt/local/bin 
installed
/opt/local/bin/dvdbackup

av/libdvdread-0.9.7

preparation
curl -RO -C - http://www.dtek.chalmers.se/groups/dvd/dist/libdvdread-0.9.7.tar.gz
#curl -RO -C - http://dvdauthor.sourceforge.net/patches/libdvdread-0.9.7.patch.gz
curl -RO -C - http://ftp.de.debian.org/debian/pool/main/libd/libdvdread/libdvdread_0.9.7-3.diff.gz
tar xvzf libdvdread-0.9.7.tar.gz
(cd libdvdread-0.9.7 && gzcat ../libdvdread_0.9.7-3.diff.gz | patch -p1 -b -z.orig)
#(cd libdvdread-0.9.7 && gzcat ../libdvdread-0.9.7.patch.gz | patch -p1 -b -z.orig)
(cd libdvdread-0.9.7 && patch -p0 -b -z.org < ../libdvdread-0.9.7-sakuya.patch)
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local --with-libdvdcss
make
patch
--- ./dvdread/dvd_input.c~	2005-09-19 22:43:08.000000000 +0900
+++ ./dvdread/dvd_input.c	2007-09-19 23:28:04.000000000 +0900
@@ -74,6 +74,11 @@
   int fd;
 };
 
+#if defined(__DARWIN__)
+#define SHLIBDVD_SUFFIX "2.dylib"
+#else
+#define SHLIBDVD_SUFFIX "so.2"
+#endif
 
 /**
  * initialize and open a DVD device or file.
@@ -332,7 +337,7 @@
 
 #else
 
-  dvdcss_library = dlopen("libdvdcss.so.2", RTLD_LAZY);
+  dvdcss_library = dlopen("libdvdcss."SHLIBDVD_SUFFIX, RTLD_LAZY);
 
   if(dvdcss_library != NULL) {
 #if defined(__OpenBSD__) && !defined(__ELF__)
@@ -367,7 +372,7 @@
     } else if(!DVDcss_open  || !DVDcss_close || !DVDcss_title || !DVDcss_seek
               || !DVDcss_read || !DVDcss_error || !dvdcss_version) {
       if(verbose >= 0) {
-        fprintf(stderr,  "libdvdread: Missing symbols in libdvdcss.so.2, "
+        fprintf(stderr,  "libdvdread: Missing symbols in libdvdcss."SHLIBDVD_SUFFIX", "
                 "this shouldn't happen !\n");
       }
       dlclose(dvdcss_library);
installed
/opt/local/include/dvdread/cmd_print.h
/opt/local/include/dvdread/dvd_reader.h
/opt/local/include/dvdread/ifo_print.h
/opt/local/include/dvdread/ifo_read.h
/opt/local/include/dvdread/ifo_types.h
/opt/local/include/dvdread/nav_print.h
/opt/local/include/dvdread/nav_read.h
/opt/local/include/dvdread/nav_types.h
/opt/local/lib/libdvdread.3.2.1.dylib
/opt/local/lib/libdvdread.3.dylib
/opt/local/lib/libdvdread.a
/opt/local/lib/libdvdread.dylib
/opt/local/lib/libdvdread.la

av/mjpegtools-1.9.0rc2

preparation
wget -N 'http://downloads.sourceforge.net/mjpeg/mjpegtools-1.9.0rc2.tar.gz'
tar xvzf mjpegtools-1.9.0rc2.tar.gz
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/anytovcd.sh
/opt/local/bin/jpeg2yuv
/opt/local/bin/lav2avi.sh
/opt/local/bin/lav2mpeg
/opt/local/bin/lav2wav
/opt/local/bin/lav2yuv
/opt/local/bin/lavaddwav
/opt/local/bin/lavinfo
/opt/local/bin/lavpipe
/opt/local/bin/lavplay
/opt/local/bin/lavtc.sh
/opt/local/bin/lavtrans
/opt/local/bin/matteblend.flt
/opt/local/bin/mjpeg_simd_helper
/opt/local/bin/mp2enc
/opt/local/bin/mpeg2enc
/opt/local/bin/mpegtranscode
/opt/local/bin/mplex
/opt/local/bin/multiblend.flt
/opt/local/bin/pgmtoy4m
/opt/local/bin/png2yuv
/opt/local/bin/pnmtoy4m
/opt/local/bin/ppmtoy4m
/opt/local/bin/qttoy4m
/opt/local/bin/transist.flt
/opt/local/bin/y4mblack
/opt/local/bin/y4mcolorbars
/opt/local/bin/y4mdenoise
/opt/local/bin/y4mhist
/opt/local/bin/y4minterlace
/opt/local/bin/y4mivtc
/opt/local/bin/y4mshift
/opt/local/bin/y4mspatialfilter
/opt/local/bin/y4mstabilizer
/opt/local/bin/y4mtopnm
/opt/local/bin/y4mtoppm
/opt/local/bin/y4mtoqt
/opt/local/bin/y4mtoyuv
/opt/local/bin/y4munsharp
/opt/local/bin/ypipe
/opt/local/bin/yuv2lav
/opt/local/bin/yuv4mpeg
/opt/local/bin/yuvcorrect
/opt/local/bin/yuvcorrect_tune
/opt/local/bin/yuvdeinterlace
/opt/local/bin/yuvdenoise
/opt/local/bin/yuvfps
/opt/local/bin/yuvinactive
/opt/local/bin/yuvkineco
/opt/local/bin/yuvmedianfilter
/opt/local/bin/yuvplay
/opt/local/bin/yuvscaler
/opt/local/bin/yuvycsnoise
/opt/local/bin/yuyvtoy4m
/opt/local/include/mjpegtools/audiolib.h
/opt/local/include/mjpegtools/avilib.h
/opt/local/include/mjpegtools/editlist.h
/opt/local/include/mjpegtools/format_codes.h
/opt/local/include/mjpegtools/frequencies.h
/opt/local/include/mjpegtools/jpegutils.h
/opt/local/include/mjpegtools/lav_io.h
/opt/local/include/mjpegtools/liblavplay.h
/opt/local/include/mjpegtools/liblavrec.h
/opt/local/include/mjpegtools/mjpeg_logging.h
:

av/libquicktime-1.0.0

preparation
wget -N http://downloads.sourceforge.net/libquicktime/libquicktime-1.0.0.tar.gz
tar xvzf libquicktime-1.0.0.tar.gz
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/lqt-config
/opt/local/bin/lqt_transcode
/opt/local/bin/lqtplay
/opt/local/bin/qt2text
/opt/local/bin/qtdechunk
/opt/local/bin/qtdump
/opt/local/bin/qtinfo
/opt/local/bin/qtrechunk
/opt/local/bin/qtstreamize
/opt/local/bin/qtyuv4toyuv
/opt/local/include/lqt/colormodels.h
/opt/local/include/lqt/lqt.h
/opt/local/include/lqt/lqt_atoms.h
/opt/local/include/lqt/lqt_codecapi.h
/opt/local/include/lqt/lqt_codecinfo.h
/opt/local/include/lqt/lqt_qtvr.h
/opt/local/include/lqt/lqt_version.h
/opt/local/include/lqt/quicktime.h
/opt/local/lib/libquicktime/lqt_audiocodec.la
/opt/local/lib/libquicktime/lqt_audiocodec.so
/opt/local/lib/libquicktime/lqt_dv.la
/opt/local/lib/libquicktime/lqt_dv.so
/opt/local/lib/libquicktime/lqt_ffmpeg.la
/opt/local/lib/libquicktime/lqt_ffmpeg.so
/opt/local/lib/libquicktime/lqt_mjpeg.la
/opt/local/lib/libquicktime/lqt_mjpeg.so
/opt/local/lib/libquicktime/lqt_png.la
/opt/local/lib/libquicktime/lqt_png.so
/opt/local/lib/libquicktime/lqt_rtjpeg.la
/opt/local/lib/libquicktime/lqt_rtjpeg.so
/opt/local/lib/libquicktime/lqt_videocodec.la
/opt/local/lib/libquicktime/lqt_videocodec.so
/opt/local/lib/libquicktime.0.0.0.dylib
/opt/local/lib/libquicktime.0.dylib
/opt/local/lib/libquicktime.dylib
/opt/local/lib/libquicktime.la
/opt/local/lib/pkgconfig/libquicktime.pc
/opt/local/share/aclocal/lqt.m4
/opt/local/share/locale/de/LC_MESSAGES/libquicktime.mo
/opt/local/share/man/man1/lqtplay.1

av/x264-snapshot-20070913-2245

preparation
wget -N ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20070913-2245.tar.bz2
tar xvjf x264-snapshot-20070913-2245.tar.bz2
build
./configure --prefix=/opt/local --extra-ldflags=-L/opt/local/lib --enable-pthread --enable-visualize --disable-mp4-output 
#env MACOSX_DEPLOYMENT_TARGET=10.4 make 
make 
installed
/opt/local/bin/x264
/opt/local/include/x264.h
/opt/local/lib/libx264.a
/opt/local/lib/pkgconfig/x264.pc

misc/qemu/qemu-snapshot-2007-09-03_05

build
./configure --prefix=/opt/local --cc=gcc-3.3 --enable-adlib --enable-coreaudio --enable-system --disable-linux-user --disable-darwin-user
#./configure --prefix=/opt/local --cc=gcc-3.3 --enable-adlib --disable-cocoa --enable-system --disable-linux-user --disable-darwin-user 
make 
#make BASE_CFLAGS=-I/opt/local/include BASE_LDFLAGS=-L/opt/local/lib
patch
--- ./configure~	2007-02-06 08:01:54.000000000 +0900
+++ ./configure	2007-02-28 20:52:03.000000000 +0900
@@ -236,6 +236,8 @@
   ;;
   --enable-cocoa) cocoa="yes" ; coreaudio="yes" ; sdl="no"
   ;;
+  --disable-cocoa) cocoa="no" ; coreaudio="no" ; sdl=
+  ;;
   --disable-gfx-check) check_gfx="no"
   ;;
   --disable-gcc-check) check_gcc="no"
@@ -597,9 +599,9 @@
 echo "gprof enabled     $gprof"
 echo "profiler          $profiler"
 echo "static build      $static"
-if test "$darwin" = "yes" ; then
+#if test "$darwin" = "yes" ; then
     echo "Cocoa support     $cocoa"
-fi
+#fi
 echo "SDL support       $sdl"
 if test "$sdl" != "no" ; then
     echo "SDL static link   $sdl_static"
installed
/opt/local/bin/qemu
/opt/local/bin/qemu-img
/opt/local/bin/qemu-system-arm
/opt/local/bin/qemu-system-m68k
/opt/local/bin/qemu-system-mips
/opt/local/bin/qemu-system-mips64
/opt/local/bin/qemu-system-mips64el
/opt/local/bin/qemu-system-mipsel
/opt/local/bin/qemu-system-ppc
/opt/local/bin/qemu-system-ppc64
/opt/local/bin/qemu-system-ppcemb
/opt/local/bin/qemu-system-sparc
/opt/local/bin/qemu-system-x86_64
/opt/local/share/doc/qemu/qemu-doc.html
/opt/local/share/doc/qemu/qemu-tech.html
/opt/local/share/man/man1/qemu-img.1
/opt/local/share/man/man1/qemu.1
/opt/local/share/qemu/bios.bin
/opt/local/share/qemu/keymaps/ar
/opt/local/share/qemu/keymaps/common
/opt/local/share/qemu/keymaps/da
/opt/local/share/qemu/keymaps/de
/opt/local/share/qemu/keymaps/de-ch
/opt/local/share/qemu/keymaps/en-gb
/opt/local/share/qemu/keymaps/en-us
/opt/local/share/qemu/keymaps/es
/opt/local/share/qemu/keymaps/et
/opt/local/share/qemu/keymaps/fi
/opt/local/share/qemu/keymaps/fo
/opt/local/share/qemu/keymaps/fr
/opt/local/share/qemu/keymaps/fr-be
/opt/local/share/qemu/keymaps/fr-ca
/opt/local/share/qemu/keymaps/fr-ch
/opt/local/share/qemu/keymaps/hr
/opt/local/share/qemu/keymaps/hu
/opt/local/share/qemu/keymaps/is
/opt/local/share/qemu/keymaps/it
/opt/local/share/qemu/keymaps/ja
/opt/local/share/qemu/keymaps/lt
/opt/local/share/qemu/keymaps/lv
/opt/local/share/qemu/keymaps/mk
/opt/local/share/qemu/keymaps/modifiers
/opt/local/share/qemu/keymaps/nl
/opt/local/share/qemu/keymaps/nl-be
/opt/local/share/qemu/keymaps/no
/opt/local/share/qemu/keymaps/pl
/opt/local/share/qemu/keymaps/pt
/opt/local/share/qemu/keymaps/pt-br
/opt/local/share/qemu/keymaps/ru
/opt/local/share/qemu/keymaps/sl
/opt/local/share/qemu/keymaps/sv
/opt/local/share/qemu/keymaps/th
/opt/local/share/qemu/keymaps/tr
/opt/local/share/qemu/openbios-sparc32
/opt/local/share/qemu/ppc_rom.bin
/opt/local/share/qemu/pxe-ne2k_pci.bin
/opt/local/share/qemu/pxe-pcnet.bin
/opt/local/share/qemu/pxe-rtl8139.bin
/opt/local/share/qemu/vgabios-cirrus.bin
/opt/local/share/qemu/vgabios.bin
/opt/local/share/qemu/video.x

viewers/less-382

preparation
curl -RO -C - http://www25.big.jp/~jam/less/less-382.tar.gz
curl -RO -C - http://www25.big.jp/~jam/less/less-382-iso258.patch.gz
tar xvzf less-382.tar.gz
(cd less-382 &&
gzcat ../less-382-iso258.patch.gz | patch -p1)
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/less
/opt/local/bin/lessecho
/opt/local/bin/lesskey
/opt/local/man/man1/less.1
/opt/local/man/man1/lesskey.1

net/jwhois-3.2.3

preparation
wget -N ftp://core.ring.gr.jp/pub/GNU/jwhois/jwhois-3.2.3.tar.gz
tar xvzf jwhois-3.2.3.tar.gz
(cd jwhois-3.2.3 &&
(cd example &&
mv jwhois.conf jwhois.conf.orig &&
wget 'http://cvs.savannah.gnu.org/viewcvs/*checkout*/jwhois/jwhois/example/jwhois.conf'
)
patch -p0 -b -z.org < ../jwhois-3.2.3-sakuya.patch
)

 
build
./configure --prefix=/opt/local --disable-nls 
make 
patch
--- ./src/dns.c~	2005-01-16 01:04:06.000000000 +0900
+++ ./src/dns.c	2007-03-06 16:10:59.000000000 +0900
@@ -113,7 +113,8 @@
 lookup_host_addrinfo(struct addrinfo **res, const char *host, int port)
 {
   struct addrinfo hints;
-  char ascport[10] = "whois";
+  /*char ascport[10] = "whois";*/
+  char ascport[] = "nicname";
   int error;
 
   memset(&hints, 0, sizeof(hints));
installed
/opt/local/bin/jwhois
/opt/local/etc/jwhois.conf
/opt/local/info/jwhois.info
/opt/local/man/man1/jwhois.1
/opt/local/man/sv/man1/jwhois.1

img/ImageMagick-6.3.2

preparation
curl -RO -C - http://ring.atr.jp/archives/graphics/ImageMagick/ImageMagick-6.3.2-1.tar.bz2
tar xvjf ImageMagick-6.3.2-1.tar.bz2
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local --with-bzlib --with-dps --without-fpx --with-ttf --without-gslib --without-gvc --without-jbig --with-jpeg --with-jp2 --with-lcms --with-magick-plus-plus --without-perl --with-png --with-tiff --without-wmf --with-x --with-xml --without-rsvg --with-zlib
make
installed
/opt/local/bin/animate
/opt/local/bin/compare
/opt/local/bin/composite
/opt/local/bin/conjure
/opt/local/bin/convert
/opt/local/bin/display
/opt/local/bin/identify
/opt/local/bin/import
/opt/local/bin/Magick++-config
/opt/local/bin/Magick-config
/opt/local/bin/mogrify
/opt/local/bin/montage
/opt/local/bin/stream
/opt/local/bin/Wand-config
/opt/local/include/magick/animate.h
/opt/local/include/magick/annotate.h
/opt/local/include/magick/api.h
/opt/local/include/magick/attribute.h
/opt/local/include/magick/blob.h
/opt/local/include/magick/cache-view.h
/opt/local/include/magick/cache.h
/opt/local/include/magick/client.h
/opt/local/include/magick/coder.h
/opt/local/include/magick/color.h
/opt/local/include/magick/colorspace.h
/opt/local/include/magick/compare.h
/opt/local/include/magick/composite.h
/opt/local/include/magick/compress.h
/opt/local/include/magick/configure.h
/opt/local/include/magick/constitute.h
/opt/local/include/magick/decorate.h
/opt/local/include/magick/delegate.h
/opt/local/include/magick/deprecate.h
/opt/local/include/magick/display.h
/opt/local/include/magick/draw.h
/opt/local/include/magick/effect.h
/opt/local/include/magick/enhance.h
/opt/local/include/magick/exception.h
/opt/local/include/magick/fx.h
/opt/local/include/magick/gem.h
/opt/local/include/magick/geometry.h
/opt/local/include/magick/hashmap.h
/opt/local/include/magick/identify.h
/opt/local/include/magick/image.h
/opt/local/include/magick/ImageMagick.h
/opt/local/include/magick/layer.h
/opt/local/include/magick/list.h
/opt/local/include/magick/locale_.h
/opt/local/include/magick/log.h
/opt/local/include/magick/magic.h
/opt/local/include/magick/magick-config.h
/opt/local/include/magick/magick-type.h
/opt/local/include/magick/magick.h
/opt/local/include/magick/MagickCore.h
/opt/local/include/magick/memory_.h
/opt/local/include/magick/methods.h
/opt/local/include/magick/mime.h
/opt/local/include/magick/module.h
/opt/local/include/magick/monitor.h
/opt/local/include/magick/montage.h
/opt/local/include/magick/option.h
/opt/local/include/magick/paint.h
/opt/local/include/magick/pixel.h
/opt/local/include/magick/prepress.h
:

libs/gsl/gsl-1.8

preparation
wget -N ftp://ftp.gnu.org/gnu/gsl/gsl-1.8.tar.gz; tar xvzf gsl-1.8.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/gsl-config
/opt/local/bin/gsl-histogram
/opt/local/bin/gsl-randist
/opt/local/include/gsl/gsl_blas.h
/opt/local/include/gsl/gsl_blas_types.h
/opt/local/include/gsl/gsl_block.h
/opt/local/include/gsl/gsl_block_char.h
/opt/local/include/gsl/gsl_block_complex_double.h
/opt/local/include/gsl/gsl_block_complex_float.h
/opt/local/include/gsl/gsl_block_complex_long_double.h
/opt/local/include/gsl/gsl_block_double.h
/opt/local/include/gsl/gsl_block_float.h
/opt/local/include/gsl/gsl_block_int.h
/opt/local/include/gsl/gsl_block_long.h
/opt/local/include/gsl/gsl_block_long_double.h
/opt/local/include/gsl/gsl_block_short.h
/opt/local/include/gsl/gsl_block_uchar.h
/opt/local/include/gsl/gsl_block_uint.h
/opt/local/include/gsl/gsl_block_ulong.h
/opt/local/include/gsl/gsl_block_ushort.h
/opt/local/include/gsl/gsl_cblas.h
/opt/local/include/gsl/gsl_cdf.h
/opt/local/include/gsl/gsl_chebyshev.h
/opt/local/include/gsl/gsl_check_range.h
/opt/local/include/gsl/gsl_combination.h
/opt/local/include/gsl/gsl_complex.h
/opt/local/include/gsl/gsl_complex_math.h
/opt/local/include/gsl/gsl_const.h
/opt/local/include/gsl/gsl_const_cgs.h
/opt/local/include/gsl/gsl_const_cgsm.h
/opt/local/include/gsl/gsl_const_mks.h
/opt/local/include/gsl/gsl_const_mksa.h
/opt/local/include/gsl/gsl_const_num.h
/opt/local/include/gsl/gsl_deriv.h
/opt/local/include/gsl/gsl_dft_complex.h
/opt/local/include/gsl/gsl_dft_complex_float.h
/opt/local/include/gsl/gsl_dht.h
/opt/local/include/gsl/gsl_diff.h
/opt/local/include/gsl/gsl_eigen.h
/opt/local/include/gsl/gsl_errno.h
/opt/local/include/gsl/gsl_fft.h
/opt/local/include/gsl/gsl_fft_complex.h
/opt/local/include/gsl/gsl_fft_complex_float.h
/opt/local/include/gsl/gsl_fft_halfcomplex.h
/opt/local/include/gsl/gsl_fft_halfcomplex_float.h
/opt/local/include/gsl/gsl_fft_real.h
/opt/local/include/gsl/gsl_fft_real_float.h
/opt/local/include/gsl/gsl_fit.h
/opt/local/include/gsl/gsl_heapsort.h
/opt/local/include/gsl/gsl_histogram.h
/opt/local/include/gsl/gsl_histogram2d.h
/opt/local/include/gsl/gsl_ieee_utils.h
/opt/local/include/gsl/gsl_integration.h
/opt/local/include/gsl/gsl_interp.h
/opt/local/include/gsl/gsl_linalg.h
/opt/local/include/gsl/gsl_machine.h
/opt/local/include/gsl/gsl_math.h
/opt/local/include/gsl/gsl_matrix.h
/opt/local/include/gsl/gsl_matrix_char.h
/opt/local/include/gsl/gsl_matrix_complex_double.h
/opt/local/include/gsl/gsl_matrix_complex_float.h
/opt/local/include/gsl/gsl_matrix_complex_long_double.h
/opt/local/include/gsl/gsl_matrix_double.h
/opt/local/include/gsl/gsl_matrix_float.h
:

misc/gv-3.6.2

preparation
wget -N ftp://ftp.gnu.org/gnu/gv/gv-3.6.2.tar.gz
tar xvzf gv-3.6.2.tar.gz
(cd gv-3.6.2 &&
[ -f ../gv-3.6.2-sakuya.patch ] &&
patch -p0 -b -z.org < ../gv-3.6.2-sakuya.patch
)
build
./configure --prefix=/opt/local
make EXEEXT=.bin
installation
make EXEEXT=.bin install
mv /opt/local/bin/gv.bin /opt/local/bin/gv
installed
/opt/local/bin/gv
/opt/local/lib/gv/GV
/opt/local/lib/gv/gv_class.ad
/opt/local/lib/gv/gv_copyright.dat
/opt/local/lib/gv/gv_spartan.dat
/opt/local/lib/gv/gv_system.ad
/opt/local/lib/gv/gv_user.ad
/opt/local/lib/gv/gv_user_res.dat
/opt/local/share/info/gv.info
/opt/local/share/man/man1/gv.1

x11/libs/Xaw3d-1.5E

preparation
wget -N ftp://ftp.visi.com/users/hawkeyd/X/Xaw3d-1.5E.tar.gz
tar xvzf Xaw3d-1.5E.tar.gz
mv xc/lib/Xaw3d Xaw3d-1.5E
(cd Xaw3d-1.5E &&
  [ ! -d X11/Xaw3d ] && mkdir -p X11/Xaw3d &&
  (cd X11/Xaw3d &&
    ln -s ../../*.h .
  )
  patch -p0 -b -z.org < ../Xaw3d-1.5E-sakuya.patch
)
build
xmkmf 
make Makefiles 
make 
patch
--- ./Imakefile~	2003-03-08 23:55:18.000000000 +0900
+++ ./Imakefile	2006-11-06 23:28:25.000000000 +0900
@@ -22,7 +22,7 @@
 #define IncSubSubdir Xaw3d
 
 XCOMM When building outside an X11 source tree:
-XCOMM EXTRA_INCLUDES = -I.
+EXTRA_INCLUDES = -I.
 
 #ifdef SharedXawReqs
 REQUIREDLIBS = SharedXawReqs
installed
/usr/X11R6/include/X11/Xaw3d/AllWidgets.h
/usr/X11R6/include/X11/Xaw3d/AsciiSink.h
/usr/X11R6/include/X11/Xaw3d/AsciiSinkP.h
/usr/X11R6/include/X11/Xaw3d/AsciiSrc.h
/usr/X11R6/include/X11/Xaw3d/AsciiSrcP.h
/usr/X11R6/include/X11/Xaw3d/AsciiText.h
/usr/X11R6/include/X11/Xaw3d/AsciiTextP.h
/usr/X11R6/include/X11/Xaw3d/Box.h
/usr/X11R6/include/X11/Xaw3d/BoxP.h
/usr/X11R6/include/X11/Xaw3d/Cardinals.h
/usr/X11R6/include/X11/Xaw3d/Command.h
/usr/X11R6/include/X11/Xaw3d/CommandP.h
/usr/X11R6/include/X11/Xaw3d/Dialog.h
/usr/X11R6/include/X11/Xaw3d/DialogP.h
/usr/X11R6/include/X11/Xaw3d/Form.h
/usr/X11R6/include/X11/Xaw3d/FormP.h
/usr/X11R6/include/X11/Xaw3d/Grip.h
/usr/X11R6/include/X11/Xaw3d/GripP.h
/usr/X11R6/include/X11/Xaw3d/Label.h
/usr/X11R6/include/X11/Xaw3d/LabelP.h
/usr/X11R6/include/X11/Xaw3d/Layout.h
/usr/X11R6/include/X11/Xaw3d/LayoutP.h
/usr/X11R6/include/X11/Xaw3d/List.h
/usr/X11R6/include/X11/Xaw3d/ListP.h
/usr/X11R6/include/X11/Xaw3d/MenuButton.h
/usr/X11R6/include/X11/Xaw3d/MenuButtoP.h
/usr/X11R6/include/X11/Xaw3d/MultiSink.h
/usr/X11R6/include/X11/Xaw3d/MultiSinkP.h
/usr/X11R6/include/X11/Xaw3d/MultiSrc.h
/usr/X11R6/include/X11/Xaw3d/MultiSrcP.h
/usr/X11R6/include/X11/Xaw3d/Paned.h
/usr/X11R6/include/X11/Xaw3d/PanedP.h
/usr/X11R6/include/X11/Xaw3d/Panner.h
/usr/X11R6/include/X11/Xaw3d/PannerP.h
/usr/X11R6/include/X11/Xaw3d/Porthole.h
/usr/X11R6/include/X11/Xaw3d/PortholeP.h
/usr/X11R6/include/X11/Xaw3d/Repeater.h
/usr/X11R6/include/X11/Xaw3d/RepeaterP.h
/usr/X11R6/include/X11/Xaw3d/Reports.h
/usr/X11R6/include/X11/Xaw3d/Scrollbar.h
/usr/X11R6/include/X11/Xaw3d/ScrollbarP.h
/usr/X11R6/include/X11/Xaw3d/Simple.h
/usr/X11R6/include/X11/Xaw3d/SimpleMenP.h
/usr/X11R6/include/X11/Xaw3d/SimpleMenu.h
/usr/X11R6/include/X11/Xaw3d/SimpleP.h
/usr/X11R6/include/X11/Xaw3d/Sme.h
/usr/X11R6/include/X11/Xaw3d/SmeBSB.h
/usr/X11R6/include/X11/Xaw3d/SmeBSBP.h
/usr/X11R6/include/X11/Xaw3d/SmeLine.h
/usr/X11R6/include/X11/Xaw3d/SmeLineP.h
/usr/X11R6/include/X11/Xaw3d/SmeP.h
/usr/X11R6/include/X11/Xaw3d/SmeThreeD.h
/usr/X11R6/include/X11/Xaw3d/SmeThreeDP.h
/usr/X11R6/include/X11/Xaw3d/StripCharP.h
/usr/X11R6/include/X11/Xaw3d/StripChart.h
/usr/X11R6/include/X11/Xaw3d/Template.c
/usr/X11R6/include/X11/Xaw3d/Template.h
/usr/X11R6/include/X11/Xaw3d/TemplateP.h
/usr/X11R6/include/X11/Xaw3d/Text.h
/usr/X11R6/include/X11/Xaw3d/TextP.h
/usr/X11R6/include/X11/Xaw3d/TextSink.h
/usr/X11R6/include/X11/Xaw3d/TextSinkP.h
/usr/X11R6/include/X11/Xaw3d/TextSrc.h
/usr/X11R6/include/X11/Xaw3d/TextSrcP.h
:

net/mew-5.1

preparation
curl -RO -C - http://www.mew.org/Release/mew-5.1.tar.gz
tar xvzf mew-5.1.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/incm
/opt/local/bin/mewcat
/opt/local/bin/mewdecode
/opt/local/bin/mewencode
/opt/local/bin/mewl
/opt/local/info/mew.info
/opt/local/info/mew.info-1
/opt/local/info/mew.info-2
/opt/local/info/mew.info-3
/opt/local/info/mew.info-4
/opt/local/man/man1/incm.1
/opt/local/man/man1/mewcat.1
/opt/local/man/man1/mewdecode.1
/opt/local/man/man1/mewencode.1
/opt/local/man/man1/mewl.1
/opt/local/share/emacs/site-lisp/mew/etc/etc/COLOR
/opt/local/share/emacs/site-lisp/mew/etc/etc/mew-curr.xpm
/opt/local/share/emacs/site-lisp/mew/etc/etc/mew-folder.xpm
/opt/local/share/emacs/site-lisp/mew/etc/etc/mew-inc2.xpm
/opt/local/share/emacs/site-lisp/mew/etc/etc/mew-kill.xpm
/opt/local/share/emacs/site-lisp/mew/etc/etc/mew-Plain.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-attach.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Audio.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Blank.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-cite.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-External.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Folder.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-forward.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Image.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-inc.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-lock.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-next.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Octet-Stream.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-pgp-enc.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-pgp-sigenc.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-pgp-sign.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Postscript.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-prev.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-queue.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-refile.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-reply.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Rfc822.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-send.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-sep.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-show.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Text.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Unknown.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Video.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-write.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-yank.xpm
/opt/local/share/emacs/site-lisp/mew/etc/Mew.img
/opt/local/share/emacs/site-lisp/mew/etc/Mew.png
/opt/local/share/emacs/site-lisp/mew/etc/Mew.xbm
/opt/local/share/emacs/site-lisp/mew/etc/Mew.xpm
/opt/local/share/emacs/site-lisp/mew/mew-addrbook.el
/opt/local/share/emacs/site-lisp/mew/mew-addrbook.elc
/opt/local/share/emacs/site-lisp/mew/mew-attach.el
/opt/local/share/emacs/site-lisp/mew/mew-attach.elc
/opt/local/share/emacs/site-lisp/mew/mew-auth.el
/opt/local/share/emacs/site-lisp/mew/mew-auth.elc
/opt/local/share/emacs/site-lisp/mew/mew-blvs.el
/opt/local/share/emacs/site-lisp/mew/mew-blvs.elc
/opt/local/share/emacs/site-lisp/mew/mew-bq.el
/opt/local/share/emacs/site-lisp/mew/mew-bq.elc
:

util/lha-1.14i-ac20050924p1

preparation
curl -RO -C - http://osdn.dl.sourceforge.jp/lha/22231/lha-1.14i-ac20050924p1.tar.gz
tar xvzf lha-1.14i-ac20050924p1.tar.gz
build
./configure --prefix=/opt/local 
make 
make check 
installed
/opt/local/bin/lha
/opt/local/man/mann/lha.n

libs/libsdl/SDL_gfx-2.0.13

preparation
wget -N http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-2.0.13.tar.gz
tar xvzf SDL_gfx-2.0.13.tar.gz
build
./configure --prefix=/opt/local --disable-mmx 
make 
installed
/opt/local/include/SDL/SDL_framerate.h
/opt/local/include/SDL/SDL_gfxPrimitives.h
/opt/local/include/SDL/SDL_gfxPrimitives_font.h
/opt/local/include/SDL/SDL_imageFilter.h
/opt/local/include/SDL/SDL_rotozoom.h
/opt/local/lib/libSDL_gfx.a
/opt/local/lib/libSDL_gfx.la

libs/libsdl/SDL-1.2.11

preparation
wget -N http://www.libsdl.org/release/SDL-1.2.11.tar.gz
tar xvzf SDL-1.2.11.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/sdl-config
/opt/local/include/SDL/begin_code.h
/opt/local/include/SDL/close_code.h
/opt/local/include/SDL/SDL.h
/opt/local/include/SDL/SDL_active.h
/opt/local/include/SDL/SDL_audio.h
/opt/local/include/SDL/SDL_byteorder.h
/opt/local/include/SDL/SDL_cdrom.h
/opt/local/include/SDL/SDL_config.h
/opt/local/include/SDL/SDL_config_amiga.h
/opt/local/include/SDL/SDL_config_dreamcast.h
/opt/local/include/SDL/SDL_config_macos.h
/opt/local/include/SDL/SDL_config_macosx.h
/opt/local/include/SDL/SDL_config_minimal.h
/opt/local/include/SDL/SDL_config_os2.h
/opt/local/include/SDL/SDL_config_win32.h
/opt/local/include/SDL/SDL_copying.h
/opt/local/include/SDL/SDL_cpuinfo.h
/opt/local/include/SDL/SDL_endian.h
/opt/local/include/SDL/SDL_error.h
/opt/local/include/SDL/SDL_events.h
/opt/local/include/SDL/SDL_getenv.h
/opt/local/include/SDL/SDL_joystick.h
/opt/local/include/SDL/SDL_keyboard.h
/opt/local/include/SDL/SDL_keysym.h
/opt/local/include/SDL/SDL_loadso.h
/opt/local/include/SDL/SDL_main.h
/opt/local/include/SDL/SDL_mouse.h
/opt/local/include/SDL/SDL_mutex.h
/opt/local/include/SDL/SDL_name.h
/opt/local/include/SDL/SDL_opengl.h
/opt/local/include/SDL/SDL_platform.h
/opt/local/include/SDL/SDL_quit.h
/opt/local/include/SDL/SDL_rwops.h
/opt/local/include/SDL/SDL_stdinc.h
/opt/local/include/SDL/SDL_syswm.h
/opt/local/include/SDL/SDL_thread.h
/opt/local/include/SDL/SDL_timer.h
/opt/local/include/SDL/SDL_types.h
/opt/local/include/SDL/SDL_version.h
/opt/local/include/SDL/SDL_video.h
/opt/local/lib/libSDL-1.2.0.11.0.dylib
/opt/local/lib/libSDL-1.2.0.dylib
/opt/local/lib/libSDL.a
/opt/local/lib/libSDL.dylib
/opt/local/lib/libSDL.la
/opt/local/lib/libSDLmain.a
/opt/local/lib/pkgconfig/sdl.pc
/opt/local/man/man3/SDL_ActiveEvent.3
/opt/local/man/man3/SDL_AddTimer.3
/opt/local/man/man3/SDL_AudioCVT.3
/opt/local/man/man3/SDL_AudioSpec.3
/opt/local/man/man3/SDL_BlitSurface.3
/opt/local/man/man3/SDL_BuildAudioCVT.3
/opt/local/man/man3/SDL_CD.3
/opt/local/man/man3/SDL_CDClose.3
/opt/local/man/man3/SDL_CDEject.3
/opt/local/man/man3/SDL_CDName.3
/opt/local/man/man3/SDL_CDNumDrives.3
/opt/local/man/man3/SDL_CDOpen.3
/opt/local/man/man3/SDL_CDPause.3
/opt/local/man/man3/SDL_CDPlay.3
/opt/local/man/man3/SDL_CDPlayTracks.3
/opt/local/man/man3/SDL_CDResume.3
:

libs/db/mdbtools-0.6pre1

preparation
curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/mdbtools/mdbtools-0.6pre1.tar.gz
build
./configure --prefix=/opt/local --disable-glibtest 
make 
patch
--- ./src/libmdb/backend.c~	2004-06-11 22:56:41.000000000 +0900
+++ ./src/libmdb/backend.c	2006-08-21 20:39:21.000000000 +0900
@@ -28,7 +28,7 @@
 #endif
 
 static int is_init;
-static GHashTable *mdb_backends;
+/*static*/ GHashTable *mdb_backends;
 
    /*    Access data types */
 static MdbBackendType mdb_access_types[] = {
installed
/opt/local/bin/mdb-array
/opt/local/bin/mdb-export
/opt/local/bin/mdb-header
/opt/local/bin/mdb-hexdump
/opt/local/bin/mdb-import
/opt/local/bin/mdb-parsecsv
/opt/local/bin/mdb-prop
/opt/local/bin/mdb-schema
/opt/local/bin/mdb-sql
/opt/local/bin/mdb-tables
/opt/local/bin/mdb-ver
/opt/local/bin/prcat
/opt/local/bin/prdata
/opt/local/bin/prdump
/opt/local/bin/prindex
/opt/local/bin/prkkd
/opt/local/bin/prole
/opt/local/bin/prtable
/opt/local/bin/updrow
/opt/local/include/mdbodbc.h
/opt/local/include/mdbprivate.h
/opt/local/include/mdbsql.h
/opt/local/include/mdbtools.h
/opt/local/include/mdbver.h
/opt/local/lib/libmdb
/opt/local/lib/libmdb.0
/opt/local/lib/libmdb.0.0.0
/opt/local/lib/libmdb.a
/opt/local/lib/libmdb.la
/opt/local/lib/libmdbsql
/opt/local/lib/libmdbsql.0
/opt/local/lib/libmdbsql.0.0.0
/opt/local/lib/libmdbsql.a
/opt/local/lib/libmdbsql.la
/opt/local/lib/pkgconfig/libmdb.pc
/opt/local/lib/pkgconfig/libmdbsql.pc
/opt/local/man/man1/mdb-export.1
/opt/local/man/man1/mdb-schema.1
/opt/local/man/man1/mdb-sql.1
/opt/local/man/man1/mdb-tables.1
/opt/local/man/man1/mdb-ver.1

libs/glib-2.12.2

preparation
wget -N ftp://ftp.gtk.org/pub/glib/2.12/glib-2.12.2.tar.gz
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/glib-genmarshal
/opt/local/bin/glib-gettextize
/opt/local/bin/glib-mkenums
/opt/local/bin/gobject-query
/opt/local/include/glib-2.0/glib/galloca.h
/opt/local/include/glib-2.0/glib/garray.h
/opt/local/include/glib-2.0/glib/gasyncqueue.h
/opt/local/include/glib-2.0/glib/gatomic.h
/opt/local/include/glib-2.0/glib/gbacktrace.h
/opt/local/include/glib-2.0/glib/gbase64.h
/opt/local/include/glib-2.0/glib/gbookmarkfile.h
/opt/local/include/glib-2.0/glib/gcache.h
/opt/local/include/glib-2.0/glib/gcompletion.h
/opt/local/include/glib-2.0/glib/gconvert.h
/opt/local/include/glib-2.0/glib/gdataset.h
/opt/local/include/glib-2.0/glib/gdate.h
/opt/local/include/glib-2.0/glib/gdir.h
/opt/local/include/glib-2.0/glib/gerror.h
/opt/local/include/glib-2.0/glib/gfileutils.h
/opt/local/include/glib-2.0/glib/ghash.h
/opt/local/include/glib-2.0/glib/ghook.h
/opt/local/include/glib-2.0/glib/gi18n-lib.h
/opt/local/include/glib-2.0/glib/gi18n.h
/opt/local/include/glib-2.0/glib/giochannel.h
/opt/local/include/glib-2.0/glib/gkeyfile.h
/opt/local/include/glib-2.0/glib/glist.h
/opt/local/include/glib-2.0/glib/gmacros.h
/opt/local/include/glib-2.0/glib/gmain.h
/opt/local/include/glib-2.0/glib/gmappedfile.h
/opt/local/include/glib-2.0/glib/gmarkup.h
/opt/local/include/glib-2.0/glib/gmem.h
/opt/local/include/glib-2.0/glib/gmessages.h
/opt/local/include/glib-2.0/glib/gnode.h
/opt/local/include/glib-2.0/glib/goption.h
/opt/local/include/glib-2.0/glib/gpattern.h
/opt/local/include/glib-2.0/glib/gprimes.h
/opt/local/include/glib-2.0/glib/gprintf.h
/opt/local/include/glib-2.0/glib/gqsort.h
/opt/local/include/glib-2.0/glib/gquark.h
/opt/local/include/glib-2.0/glib/gqueue.h
/opt/local/include/glib-2.0/glib/grand.h
/opt/local/include/glib-2.0/glib/grel.h
/opt/local/include/glib-2.0/glib/gscanner.h
/opt/local/include/glib-2.0/glib/gshell.h
/opt/local/include/glib-2.0/glib/gslice.h
/opt/local/include/glib-2.0/glib/gslist.h
/opt/local/include/glib-2.0/glib/gspawn.h
/opt/local/include/glib-2.0/glib/gstdio.h
/opt/local/include/glib-2.0/glib/gstrfuncs.h
/opt/local/include/glib-2.0/glib/gstring.h
/opt/local/include/glib-2.0/glib/gthread.h
/opt/local/include/glib-2.0/glib/gthreadpool.h
/opt/local/include/glib-2.0/glib/gtimer.h
/opt/local/include/glib-2.0/glib/gtree.h
/opt/local/include/glib-2.0/glib/gtypes.h
/opt/local/include/glib-2.0/glib/gunicode.h
/opt/local/include/glib-2.0/glib/gutils.h
/opt/local/include/glib-2.0/glib/gwin32.h
/opt/local/include/glib-2.0/glib-object.h
/opt/local/include/glib-2.0/glib.h
/opt/local/include/glib-2.0/gmodule.h
/opt/local/include/glib-2.0/gobject/gboxed.h
/opt/local/include/glib-2.0/gobject/gclosure.h
/opt/local/include/glib-2.0/gobject/genums.h
:

libs/gettext-0.15

preparation
wget -N ftp://core.ring.gr.jp/pub/GNU/gettext/gettext-0.15.tar.gz
build
./configure --prefix=/opt/local 
installed
/opt/local/bin/autopoint
/opt/local/bin/envsubst
/opt/local/bin/gettext
/opt/local/bin/gettext.sh
/opt/local/bin/gettextize
/opt/local/bin/msgattrib
/opt/local/bin/msgcat
/opt/local/bin/msgcmp
/opt/local/bin/msgcomm
/opt/local/bin/msgconv
/opt/local/bin/msgen
/opt/local/bin/msgexec
/opt/local/bin/msgfilter
/opt/local/bin/msgfmt
/opt/local/bin/msggrep
/opt/local/bin/msginit
/opt/local/bin/msgmerge
/opt/local/bin/msgunfmt
/opt/local/bin/msguniq
/opt/local/bin/ngettext
/opt/local/bin/recode-sr-latin
/opt/local/bin/xgettext
/opt/local/include/autosprintf.h
/opt/local/include/gettext-po.h
/opt/local/include/libintl.h
/opt/local/lib/gettext/hostname
/opt/local/lib/gettext/project-id
/opt/local/lib/gettext/urlget
/opt/local/lib/gettext/user-email
/opt/local/lib/libasprintf.0.0.0.dylib
/opt/local/lib/libasprintf.0.dylib
/opt/local/lib/libasprintf.a
/opt/local/lib/libasprintf.dylib
/opt/local/lib/libasprintf.la
/opt/local/lib/libgettextlib-0.15.dylib
/opt/local/lib/libgettextlib.dylib
/opt/local/lib/libgettextlib.la
/opt/local/lib/libgettextpo.0.2.0.dylib
/opt/local/lib/libgettextpo.0.dylib
/opt/local/lib/libgettextpo.a
/opt/local/lib/libgettextpo.dylib
/opt/local/lib/libgettextpo.la
/opt/local/lib/libgettextsrc-0.15.dylib
/opt/local/lib/libgettextsrc.dylib
/opt/local/lib/libgettextsrc.la
/opt/local/lib/libintl.8.0.0.dylib
/opt/local/lib/libintl.8.dylib
/opt/local/lib/libintl.a
/opt/local/lib/libintl.dylib
/opt/local/lib/libintl.la
/opt/local/share/aclocal/codeset.m4
/opt/local/share/aclocal/gettext.m4
/opt/local/share/aclocal/glibc2.m4
/opt/local/share/aclocal/glibc21.m4
/opt/local/share/aclocal/iconv.m4
/opt/local/share/aclocal/intdiv0.m4
/opt/local/share/aclocal/intmax.m4
/opt/local/share/aclocal/inttypes-h.m4
/opt/local/share/aclocal/inttypes-pri.m4
/opt/local/share/aclocal/inttypes_h.m4
/opt/local/share/aclocal/lcmessage.m4
/opt/local/share/aclocal/lib-ld.m4
/opt/local/share/aclocal/lib-link.m4
/opt/local/share/aclocal/lib-prefix.m4
:

libs/pcre-6.3

preparation
curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/pcre/pcre-6.3.tar.bz2
tar xvjf pcre-6.3.tar.bz2
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/pcre-config
/opt/local/bin/pcregrep
/opt/local/bin/pcretest
/opt/local/include/pcre.h
/opt/local/include/pcre_scanner.h
/opt/local/include/pcre_stringpiece.h
/opt/local/include/pcrecpp.h
/opt/local/include/pcreposix.h
/opt/local/lib/libpcre.0.0.1.dylib
/opt/local/lib/libpcre.0.dylib
/opt/local/lib/libpcre.a
/opt/local/lib/libpcre.dylib
/opt/local/lib/libpcre.la
/opt/local/lib/libpcrecpp.0.0.0.dylib
/opt/local/lib/libpcrecpp.0.dylib
/opt/local/lib/libpcrecpp.a
/opt/local/lib/libpcrecpp.dylib
/opt/local/lib/libpcrecpp.la
/opt/local/lib/libpcreposix.0.0.0.dylib
/opt/local/lib/libpcreposix.0.dylib
/opt/local/lib/libpcreposix.a
/opt/local/lib/libpcreposix.dylib
/opt/local/lib/libpcreposix.la
/opt/local/lib/pkgconfig/libpcre.pc
/opt/local/man/man1/pcregrep.1
/opt/local/man/man1/pcretest.1
/opt/local/man/man3/pcre.3
/opt/local/man/man3/pcre_compile.3
/opt/local/man/man3/pcre_config.3
/opt/local/man/man3/pcre_copy_named_substring.3
/opt/local/man/man3/pcre_copy_substring.3
/opt/local/man/man3/pcre_dfa_exec.3
/opt/local/man/man3/pcre_exec.3
/opt/local/man/man3/pcre_free_substring.3
/opt/local/man/man3/pcre_free_substring_list.3
/opt/local/man/man3/pcre_fullinfo.3
/opt/local/man/man3/pcre_get_named_substring.3
/opt/local/man/man3/pcre_get_stringnumber.3
/opt/local/man/man3/pcre_get_substring.3
/opt/local/man/man3/pcre_get_substring_list.3
/opt/local/man/man3/pcre_info.3
/opt/local/man/man3/pcre_maketables.3
/opt/local/man/man3/pcre_refcount.3
/opt/local/man/man3/pcre_study.3
/opt/local/man/man3/pcre_version.3
/opt/local/man/man3/pcreapi.3
/opt/local/man/man3/pcrebuild.3
/opt/local/man/man3/pcrecallout.3
/opt/local/man/man3/pcrecompat.3
/opt/local/man/man3/pcrecpp.3
/opt/local/man/man3/pcrematching.3
/opt/local/man/man3/pcrepattern.3
/opt/local/man/man3/pcreperform.3
/opt/local/man/man3/pcreposix.3
/opt/local/man/man3/pcresample.3

x11/misc/x2x-1.27

preparation
curl -RO -C - http://ftp.digital.com/pub/DEC/SRC/x2x/x2x-1.27.tar.gz
curl -RO -C - http://ftp.debian.org/debian/pool/main/x/x2x/x2x_1.27-5.1.diff.gz
tar xvzf x2x-1.27.tar.gz
(cd x2x-1.27 && gzcat ../x2x_1.27-5.1.diff.gz | patch -p1)
build
xmkmf -a 
make 
installed
/usr/X11R6/bin/x2x

misc/x2vnc-1.6.1

preparation
curl -RO -C - http://fredrik.hubbe.net/x2vnc/x2vnc-1.6.1.tar.gz
tar xvzf x2vnc-1.6.1.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/x2vnc
/opt/local/man/man1/x2vnc.1

x11/misc/xclip-0.08

preparation
curl -RO -C - http://people.debian.org/~kims/xclip/xclip-0.08.tar.gz
curl -RO -C - http://ftp.debian.org/debian/pool/main/x/xclip/xclip_0.08-5.diff.gz
tar xvzf xclip-0.08.tar.gz
ln -s xclip xclip-0.08
(cd xclip-0.08; gzcat ../xclip_0.08-5.diff.gz | patch -p1)
#(cd xclip-0.08; patch -p1 < ../xclip-0.08-sakuya.patch)
build
xmkmf -a 
make 
patch
--- ./Imakefile.org	2006-04-06 21:54:14.000000000 +0900
+++ ./Imakefile	2006-04-07 03:29:57.000000000 +0900
@@ -27,6 +27,7 @@
 /* Normal development flags for warnings and debug info
 CFLAGS = -Wall -g
 */
+CPPFLAGS = -DI18N
 
 SRCS = xclib.c xcprint.c xclip.c
 OBJS = xclib.o xcprint.o xclip.o
--- ./xclib.c.org	2006-04-06 21:54:14.000000000 +0900
+++ ./xclib.c	2006-04-07 01:04:12.000000000 +0900
@@ -23,6 +23,10 @@
 #include <string.h>
 #include <X11/Xlib.h>
 #include <X11/Xatom.h>
+#ifndef I18N
+#else
+#include <X11/Xmu/Atoms.h>
+#endif
 #include "xcdef.h"
 #include "xcprint.h"
 #include "xclib.h"
@@ -128,7 +132,11 @@
 			XConvertSelection(
 				dpy,
 				sel,
+#ifndef I18N
 				XA_STRING,
+#else
+				XA_TEXT(dpy),
+#endif
 				pty,
 				win,
 				CurrentTime
@@ -377,7 +385,13 @@
 			/* put the data into an property */
 			if (evt.xselectionrequest.target == targets)
 			{
-				Atom types[2] = { targets, XA_STRING };
+				Atom types[2] = { targets,
+#ifndef I18N
+						  XA_STRING
+#else
+						  XA_TEXT(dpy)
+#endif
+				};
 			
 				/* send data all at once (not using INCR) */
 				XChangeProperty(
@@ -425,7 +439,11 @@
 					dpy,
 					*win,
 					*pty,
+#ifndef I18N
 					XA_STRING,
+#else
+					XA_TEXT(dpy),
+#endif
 					8,
 					PropModeReplace,
 					(unsigned char*) txt,
@@ -506,7 +524,11 @@
 					dpy,
 					*win,
 					*pty,
+#ifndef I18N
 					XA_STRING,
+#else
+					XA_TEXT(dpy),
+#endif
 					8,
 					PropModeReplace,
 					&txt[*pos],
@@ -521,7 +543,11 @@
 					dpy,
 					*win,
 					*pty,
+#ifndef I18N
 					XA_STRING,
+#else
+					XA_TEXT(dpy),
+#endif
 					8,
 					PropModeReplace,
 					0,
--- ./xclip.c.org	2006-04-06 21:54:14.000000000 +0900
+++ ./xclip.c	2006-04-07 00:21:01.000000000 +0900
@@ -25,6 +25,11 @@
 #include <X11/Xlib.h>
 #include <X11/Xatom.h>
 #include <X11/Xmu/Atoms.h>
+#ifndef I18N
+#else
+#include <locale.h>
+#include <X11/Xutil.h>
+#endif
 #include "xcdef.h"
 #include "xcprint.h"
 #include "xclib.h"
@@ -491,6 +496,16 @@
 	/* Declare variables */
 	Window win;			/* Window */
 
+#ifndef I18N
+#else
+	if (!setlocale(LC_ALL, ""))
+		fprintf(stderr, "cannot setlocal(LC_ALL,\"\")\n");
+	else if (!XSupportsLocale())
+		fprintf(stderr, "does not support locale by XSupportsLocale()\n");
+	else if (!XSetLocaleModifiers(""))
+		fprintf(stderr, "cannot XSetLocaleModifiers(\"\")\n");
+#endif
+
 	/* set up option table. I can't figure out a better way than this to
 	 * do it while sticking to pure ANSI C. The option and specifier
 	 * members have a type of volatile char *, so they need to be allocated
--- ./xctest.org	2006-04-06 21:54:14.000000000 +0900
+++ ./xctest	2006-04-07 03:33:53.000000000 +0900
@@ -41,7 +41,9 @@
 do
 	# temp file names (in and out)
 	tempi=`tempfile`
+	[ "$tempi" = "" ] && tempi=${TMP:-/tmp}/xctest$$i
 	tempo=`tempfile`
+	[ "$tempo" = "" ] && tempo=${TMP:-/tmp}/xctest$$o
 
 	linec=0	# current line of file in while loop
 
installed
/usr/X11R6/bin/xclip
/usr/X11R6/lib/X11/doc/html/xclip.1.html
/usr/X11R6/man/man1/xclip.1

secure/clamav-0.88.1

preparation
verify_digest(){	# $0 method file string
  case "$1" in
  *)
    DIGEST=`echo "$1" | tr a-z A-Z`
    [ "$DIGEST($2)= $3" = "`openssl $1 $2`" ]
    ;;
  esac
}
verify_signature(){	# $0 url|id sig
  case "$1" in
  0x*)
    gpg --recv-keys "$1" && gpg --verify "$2"
    ;;
  *)
    curl "$1" | gpg --import && gpg --verify "$2"
    ;;
  esac
}
error_out(){	# $0 message ...
  echo "$@" 1>&2
  exit 1
}

curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/clamav/clamav-0.88.1.tar.gz
curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/clamav/clamav-0.88.1.tar.gz.sig
verify_signature http://www.clamav.net/gpg/tkojm.gpg clamav-0.88.1.tar.gz.sig || error_out "$0: stopped at line $LINENO"

tar xvzf clamav-0.88.1.tar.gz
(cd clamav-0.88.1 && patch -p0 -b -z.org < ../clamav-0.88.1-sakuya.patch)
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local/clamav 
make 
patch
--- ./etc/clamd.conf.org	2005-06-24 05:03:04.000000000 +0900
+++ ./etc/clamd.conf	2006-01-10 19:10:26.000000000 +0900
@@ -5,13 +5,14 @@
 
 
 # Comment or remove the line below.
-Example
+#Example
 
 # Uncomment this option to enable logging.
 # LogFile must be writable for the user running daemon.
 # A full path is required.
 # Default: disabled
 #LogFile /tmp/clamd.log
+LogFile /tmp/clamd.log
 
 # By default the log file is locked for writing - the lock protects against
 # running clamd multiple times (if want to run another clamd, please
@@ -55,6 +56,7 @@
 # daemon (main thread).
 # Default: disabled
 #PidFile /var/run/clamd.pid
+PidFile /tmp/clamd.pid
 
 # Optional path to the global temporary directory.
 # Default: system specific (usually /tmp or /var/tmp).
@@ -63,6 +65,7 @@
 # Path to the database directory.
 # Default: hardcoded (depends on installation options)
 #DatabaseDirectory /var/lib/clamav
+DatabaseDirectory /opt/local/clamav/share/clamav
 
 # The daemon works in a local OR a network mode. Due to security reasons we
 # recommend the local mode.
@@ -84,7 +87,7 @@
 # Enable the following to provide some degree of protection
 # from the outside world.
 # Default: disabled
-#TCPAddr 127.0.0.1
+TCPAddr 127.0.0.1
 
 # Maximum length the queue of pending connections may grow to.
 # Default: 15
@@ -142,6 +145,7 @@
 # Run as a selected user (clamd must be started by root).
 # Default: disabled
 #User clamav
+User clamav
 
 # Initialize supplementary group access (clamd must be started by root).
 # Default: disabled
--- ./etc/freshclam.conf.org	2005-09-16 07:27:13.000000000 +0900
+++ ./etc/freshclam.conf	2006-01-10 19:02:41.000000000 +0900
@@ -6,16 +6,18 @@
 
 
 # Comment or remove the line below.
-Example
+#Example
 
 # Path to the database directory.
 # WARNING: It must match clamd.conf's directive!
 # Default: hardcoded (depends on installation options)
 #DatabaseDirectory /var/lib/clamav
+DatabaseDirectory /opt/local/clamav/share/clamav
 
 # Path to the log file (make sure it has proper permissions)
 # Default: disabled
 #UpdateLogFile /var/log/freshclam.log
+UpdateLogFile /tmp/freshclam.log
 
 # Enable verbose logging.
 # Default: disabled
@@ -33,11 +35,13 @@
 # This option allows you to save the process identifier of the daemon
 # Default: disabled
 #PidFile /var/run/freshclam.pid
+PidFile /tmp/freshclam.pid
 
 # By default when started freshclam drops privileges and switches to the
 # "clamav" user. This directive allows you to change the database owner.
 # Default: clamav (may depend on installation options)
 #DatabaseOwner clamav
+DatabaseOwner clamav
 
 # Initialize supplementary group access (freshclam must be started by root).
 # Default: disabled
@@ -53,6 +57,7 @@
 # code. See http://www.iana.org/cctld/cctld-whois.htm for the full list.
 # Default: There is no default, which results in an error when running freshclam
 #DatabaseMirror db.XY.clamav.net
+DatabaseMirror db.jp.clamav.net
 
 # database.clamav.net is a round-robin record which points to our most 
 # reliable mirrors. It's used as a fall back in case db.XY.clamav.net is 
installed
/opt/local/clamav/bin/clamav-config
/opt/local/clamav/bin/clamdscan
/opt/local/clamav/bin/clamscan
/opt/local/clamav/bin/freshclam
/opt/local/clamav/bin/sigtool
/opt/local/clamav/etc/clamd.conf
/opt/local/clamav/etc/freshclam.conf
/opt/local/clamav/include/clamav.h
/opt/local/clamav/lib/libclamav.1.0.17.dylib
/opt/local/clamav/lib/libclamav.1.dylib
/opt/local/clamav/lib/libclamav.a
/opt/local/clamav/lib/libclamav.dylib
/opt/local/clamav/lib/libclamav.la
/opt/local/clamav/lib/pkgconfig/libclamav.pc
/opt/local/clamav/man/man1/clamdscan.1
/opt/local/clamav/man/man1/clamscan.1
/opt/local/clamav/man/man1/freshclam.1
/opt/local/clamav/man/man1/sigtool.1
/opt/local/clamav/man/man5/clamd.conf.5
/opt/local/clamav/man/man5/freshclam.conf.5
/opt/local/clamav/man/man8/clamav-milter.8
/opt/local/clamav/man/man8/clamd.8
/opt/local/clamav/sbin/clamd
/opt/local/clamav/share/clamav/daily.cvd
/opt/local/clamav/share/clamav/main.cvd
host_configuration
[ ! -d /System/Library/StartupItems/Clamd ] && \
mkdir /System/Library/StartupItems/Clamd
if [ ! -f /System/Library/StartupItems/Clamd/Clamd ]; then
  cat <<EOF > /System/Library/StartupItems/Clamd/Clamd
#!/bin/sh

##
# ClamAV Server
##

. /etc/rc.common

StartService ()
{
	/opt/local/clamav/bin/freshclam -d
	/opt/local/clamav/sbin/clamd
}

StopService ()
{
	killall -9 freshclam
	killall -9 clamd
}

RestartService () { StopService; StartService; }

RunService "\$1"
EOF
  chmod +x /System/Library/StartupItems/Clamd/Clamd
fi
if [ ! -f /System/Library/StartupItems/Clamd/StartupParameters.plist ]; then
  cat <<EOF > /System/Library/StartupItems/Clamd/StartupParameters.plist
{
  Description     = "ClamAV Server";
  Provides        = ("ClamAV Server");
}
EOF
fi
#/System/Library/StartupItems/Clamd/Clamd start

x11/input/mac/kinput2-v3.1

preparation
curl -O -C - ftp://ftp.sra.co.jp/pub/x11/kinput2/kinput2-v3.1.tar.gz
curl -RO -C - http://canna.sourceforge.jp/canna37patches/kinput2-v3.1-canna37.diff
curl -RO -C - http://homepage1.nifty.com/daemon/MachTen/sonoda/kinput2.fix4.macim.0.2.patch.gz
curl -RO -C - http://homepage1.nifty.com/daemon/MachTen/sonoda/Kinput2-MacIM.README.gz
curl -RO -C - http://www.sol.dti.ne.jp/~kikuyan/macosx/patches/kinput2-v3.1-macim-20050629.patch.gz
tar xvzf kinput2-v3.1.tar.gz
(cd kinput2-v3.1 &&
patch -p1 < ../kinput2-v3.1-canna37.diff &&
gzcat ../kinput2.fix4.macim.0.2.patch.gz | sed -n -e '143,549p' -e '581,$p' | patch -p1 &&
gzcat ../kinput2-v3.1-macim-20050629.patch.gz | patch -p0
)
(cd kinput2-v3.1; patch -p0 < ../kinput2-v3.1-sakuya.patch)
build
xmkmf -a 
make 
patch
--- ./Kinput2.conf~	2006-04-04 11:41:15.000000000 +0900
+++ ./Kinput2.conf	2006-04-04 11:48:00.000000000 +0900
@@ -15,9 +15,9 @@
  **	command line option.
  **/
 
-/* #define UseWnn */	/* define if you are going to use Wnn (v4, v6 or v7) */
+#define UseWnn	/* define if you are going to use Wnn (v4, v6 or v7) */
 /* #define UseWnn6 */	/* define if you are going to use Wnn6 or above */
-/* #define UseCanna */	/* define if you are going to use Canna */
+#define UseCanna	/* define if you are going to use Canna */
 /* #define UseSj3 */	/* define if you are going to use Sj3 */
 /* #define UseAtok */	/* define if you are going to use Atok */
 #define UseMacIM		/* define if you are going to use MacIM */
@@ -35,7 +35,7 @@
  * You have to define WnnLibDir if Wnn4 configuration files
  * are not installed in /usr/local/lib/wnn (which is the default).
  */
-/* #define WnnLibDir /some/peculiar/directory/wnn */
+#define WnnLibDir /opt/local/lib/wnn
 
 /* for convenience.. */
 #if defined(UseWnn6) && !defined(UseWnn)
@@ -53,17 +53,17 @@
  * WnnLibDir above.
  */
 XCOMM use installed header files
-XCOMM WNNINCDIR = /usr/X11R6/include/wnn
+WNNINCDIR = /opt/local/include/wnn
 XCOMM use installed library
-XCOMM WNNLIB = -lwnn
+WNNLIB = -L/opt/local/lib -lwnn
 
 /*
  * Or, use library in the source tree..
  */
 XCOMM use library in the source tree
-WNNSRC = $(CONTRIBSRC)/programs/Xsi/Wnn
-WNNINCDIR = $(WNNSRC)/include
-WNNLIB = $(WNNSRC)/jlib/libwnn.a
+XCOMM WNNSRC = $(CONTRIBSRC)/programs/Xsi/Wnn
+XCOMM WNNINCDIR = $(WNNSRC)/include
+XCOMM WNNLIB = $(WNNSRC)/jlib/libwnn.a
 
 
 XCOMM Canna configuration
@@ -79,17 +79,17 @@
  * If you have already installed Canna header files and libraries..
  */
 XCOMM use installed headers/libraries
-XCOMM CANNAINSTDIR = /usr/local/canna
-XCOMM CANNASRC = $(CANNAINSTDIR)/include
-XCOMM CANNALIB = -lcanna16
+CANNAINSTDIR = /opt/local/canna
+CANNASRC = $(CANNAINSTDIR)/include
+CANNALIB = -L$(CANNAINSTDIR)/lib -lcanna16
 
 /*
  * If you have compiled Canna that came with X11R6 (contrib/programs/Canna),
  * but not installed yet..
  */
 XCOMM use headers/libraries in the source tree
-CANNASRC = $(CONTRIBSRC)/programs/Canna32
-CANNALIB = -L$(CANNASRC)/lib/canna16 -lcanna16
+XCOMM CANNASRC = $(CONTRIBSRC)/programs/Canna32
+XCOMM CANNALIB = -L$(CANNASRC)/lib/canna16 -lcanna16
 
 
 XCOMM SJ3 configuration
@@ -111,15 +111,15 @@
  */
 XCOMM use installed header/library
 XCOMM specify the directory where libsj3.h resides as SJ3SRC.
-XCOMM SJ3SRC = /usr/local/include
-XCOMM SJ3LIB = -lsj3lib
+SJ3SRC = /opt/local/include
+SJ3LIB = -L/opt/local/lib -lsj3lib
 
 /*
  * Use compiled library in the source tree..
  */
 XCOMM use library in the source tree
-SJ3SRC = $(CONTRIBSRC)/programs/sj3
-SJ3LIB = $(SJ3SRC)/sj3lib/libsj3lib.a
+XCOMM SJ3SRC = $(CONTRIBSRC)/programs/sj3
+XCOMM SJ3LIB = $(SJ3SRC)/sj3lib/libsj3lib.a
 
 
 XCOMM Atok configuration
installed
/usr/X11R6/bin/kinput2
/usr/X11R6/lib/X11/ccdef/ccdef.kinput2
/usr/X11R6/lib/X11/ccdef/ccdef.kinput2.egg
/usr/X11R6/lib/X11/ccdef/rule.eggfunc
/usr/X11R6/lib/X11/ccdef/rule.func
/usr/X11R6/lib/X11/ccdef/rule.greek
/usr/X11R6/lib/X11/ccdef/rule.hiragana.egg
/usr/X11R6/lib/X11/ccdef/rule.kana
/usr/X11R6/lib/X11/ccdef/rule.kana2
/usr/X11R6/lib/X11/ccdef/rule.katakana.egg
/usr/X11R6/lib/X11/ccdef/rule.kigou.egg
/usr/X11R6/lib/X11/ccdef/rule.roma
/usr/X11R6/lib/X11/ccdef/rule.wnnroma
/usr/X11R6/lib/X11/ccdef/rule.zascii
/usr/X11R6/lib/X11/doc/html/kinput2.1.html
/usr/X11R6/man/man1/kinput2.1
/etc/X11/app-defaults/Kinput2

media/cdrdao-1.2.1

preparation
curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/cdrdao/cdrdao-1.2.1.tar.bz2
tar xvjf cdrdao-1.2.1.tar.bz2
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/cdrdao
/opt/local/bin/cue2toc
/opt/local/bin/toc2cddb
/opt/local/bin/toc2cue
/opt/local/man/man1/cdrdao.1
/opt/local/man/man1/cue2toc.1
/opt/local/share/cdrdao/drivers

media/cdrtools-2.01.01a05

preparation
curl -RO -C - http://crashrecovery.org/oss-dvd/cdrtools-2.01.01a05-ossdvd.patch.bz2
curl -RO -C - http://crashrecovery.org/oss-dvd/cdrtools-2.01.01a01-DVD-speed.patch.bz2
curl -RO -C - http://crashrecovery.org/oss-dvd/cdrtools-2.01.01a05-rawio.patch.bz2
curl -RO -C - http://people.mandriva.com/~warly/files/cdrtools/archives/cdrtools-2.01.01a01-scanbus.patch.bz2
curl -RO -C - http://crashrecovery.org/oss-dvd/cdrtools-2.01.01a01-encrypt-1.0rc1.diff.gz
wget -N ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-2.01.01a05.tar.bz2
tar xvjf cdrtools-2.01.01a05.tar.bz2
mv cdrtools-2.01.01 cdrtools-2.01.01a05
(cd cdrtools-2.01.01a05 && bzcat ../cdrtools-2.01.01a05-ossdvd.patch.bz2 ../cdrtools-2.01.01a01-DVD-speed.patch.bz2 ../cdrtools-2.01.01a01-scanbus.patch.bz2 | patch -p1)
build
make INS_BASE=/opt/local DEFINSUSR=root DEFINSGRP=wheel
installation
make INS_BASE=/opt/local DEFINSUSR=root DEFINSGRP=wheel install 
installed
/opt/local/bin/btcflash
/opt/local/bin/cdda2wav
/opt/local/bin/cdrecord
/opt/local/bin/devdump
/opt/local/bin/isodebug
/opt/local/bin/isodump
/opt/local/bin/isoinfo
/opt/local/bin/isovfy
/opt/local/bin/mkhybrid
/opt/local/bin/mkisofs
/opt/local/bin/readcd
/opt/local/bin/scgcheck
/opt/local/bin/skel
/opt/local/include/align.h
/opt/local/include/avoffset.h
/opt/local/lib/libdeflt.a
/opt/local/lib/libedc_ecc.a
/opt/local/lib/libfile.a
/opt/local/lib/libhfs.a
/opt/local/lib/libparanoia.a
/opt/local/lib/librscg.a
/opt/local/lib/libscg.a
/opt/local/lib/libschily.a
/opt/local/lib/libunls.a
/opt/local/man/man1/cdda2ogg.1
/opt/local/man/man1/cdda2wav.1
/opt/local/man/man1/cdrecord.1
/opt/local/man/man1/readcd.1
/opt/local/man/man1/scgcheck.1
/opt/local/man/man5/makefiles.5
/opt/local/man/man5/makerules.5
/opt/local/man/man8/isoinfo.8
/opt/local/man/man8/mkhybrid.8
/opt/local/man/man8/mkisofs.8
/opt/local/sbin/rscsi

img/povray-3.6.1

preparation
curl -RO -C - http://www.povray.org/ftp/pub/povray/Official/Unix/povray-3.6.tar.bz2
build
make check 
patch
--- ./scripts/allanim.sh~	2004-08-03 08:16:20.000000000 +0900
+++ ./scripts/allanim.sh	2006-02-18 23:47:08.000000000 +0900
@@ -28,7 +28,7 @@
 
 VERSION=3.6
 VER_DIR=povray-$VERSION
-DEFAULT_DIR=/usr/local
+DEFAULT_DIR=/opt/local
 SYSCONFDIR=$DEFAULT_DIR/etc
 
 install_dir()
--- ./scripts/allscene.sh~	2004-08-03 08:16:20.000000000 +0900
+++ ./scripts/allscene.sh	2006-02-18 23:47:01.000000000 +0900
@@ -32,7 +32,7 @@
 
 VERSION=3.6
 VER_DIR=povray-$VERSION
-DEFAULT_DIR=/usr/local
+DEFAULT_DIR=/opt/local
 SYSCONFDIR=$DEFAULT_DIR/etc
 
 install_dir()
--- ./scripts/portfolio.sh~	2004-08-03 08:16:20.000000000 +0900
+++ ./scripts/portfolio.sh	2006-02-18 23:46:48.000000000 +0900
@@ -27,7 +27,7 @@
 
 VERSION=3.6
 VER_DIR=povray-$VERSION
-DEFAULT_DIR=/usr/local
+DEFAULT_DIR=/opt/local
 SYSCONFDIR=$DEFAULT_DIR/etc
 
 install_dir()
installed
/opt/local/bin/povray
/opt/local/etc/povray/3.6/povray.conf
/opt/local/etc/povray/3.6/povray.ini
/opt/local/man/man1/povray.1
/opt/local/share/doc/povray-3.6/AUTHORS
/opt/local/share/doc/povray-3.6/ChangeLog
/opt/local/share/doc/povray-3.6/distribution-license.txt
/opt/local/share/doc/povray-3.6/html/frame.html
/opt/local/share/doc/povray-3.6/html/idx.html
/opt/local/share/doc/povray-3.6/html/images/reference/area1.png
/opt/local/share/doc/povray-3.6/html/images/reference/area2.png
/opt/local/share/doc/povray-3.6/html/images/reference/areal.png
/opt/local/share/doc/povray-3.6/html/images/reference/arealigh.png
/opt/local/share/doc/povray-3.6/html/images/reference/blobdens.png
/opt/local/share/doc/povray-3.6/html/images/reference/boxgeom.png
/opt/local/share/doc/povray-3.6/html/images/reference/boxmap.png
/opt/local/share/doc/povray-3.6/html/images/reference/clipobj.png
/opt/local/share/doc/povray-3.6/html/images/reference/colors/aquamarine.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/bakerschoc.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/black.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/blue.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/blueviolet.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/brass.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/brightgold.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/bronze.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/bronze2.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/brown.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/cadetblue.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/clear.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/coolcopper.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/copper.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/coral.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/cornflowerblue.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/cyan.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/darkbrown.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/darkgreen.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/darkolivegreen.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/darkorchid.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/darkpurple.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/darkslateblue.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/darkslategray.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/darktan.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/darkturquoise.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/darkwood.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/dimgray.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/dkgreencopper.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/dustyrose.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/feldspar.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/firebrick.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/flesh.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/forestgreen.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/gold.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/goldenrod.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/gray.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/gray05.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/gray10.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/gray15.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/gray20.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/gray25.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/gray30.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/gray35.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/gray40.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/gray45.jpg
/opt/local/share/doc/povray-3.6/html/images/reference/colors/gray50.jpg
:

x11/drawer/tgif-QPL-4.1.44

preparation
wget -N ftp://bourbon.usc.edu/pub/tgif/tgif-QPL-4.1.44.tar.gz
tar xvzf tgif-QPL-4.1.44.tar.gz
(cd tgif-QPL-4.1.44 && patch -p0 -b -z.org < ../tgif-QPL-4.1.44-sakuya.patch)
build
xmkmf 
make 
patch
--- ./font.c~	2005-01-15 09:26:19.000000000 +0900
+++ ./font.c	2006-02-22 20:41:20.000000000 +0900
@@ -926,7 +926,7 @@
                }
                nOdd = !nOdd;
             }
-            nTotal += XTextWidth16(xfs, gpszTmpStr16, nDoubleByteIndex);
+            nTotal += xfs->per_char ? XTextWidth16(xfs, gpszTmpStr16, nDoubleByteIndex) : (xfs->max_bounds.width * nDoubleByteIndex);
          } else {
             for (psz=pszStart, nSubStrIndex=0;
                   nIndex+nSubStrIndex < nLen && ((*psz)&0x80) == 0;
@@ -987,7 +987,7 @@
                   Pixmap bitmap=None;
                   TextExtentsInfo stTextExtents;
 
-                  w = XTextWidth16(canvasFontPtr, &gpszTmpStr16[i], 1);
+                  w = canvasFontPtr->per_char ? XTextWidth16(canvasFontPtr, &gpszTmpStr16[i], 1) : canvasFontPtr->max_bounds.width;
                   buf[0] = pszStart[i<<1];
                   buf[1] = pszStart[(i<<1)+1];
                   buf[2] = '\0';
@@ -1018,7 +1018,7 @@
             } else {
                XDrawString16(dpy, d, gc, x+nTotal, y, gpszTmpStr16,
                      nDoubleByteIndex);
-               w = XTextWidth16(canvasFontPtr, gpszTmpStr16, nDoubleByteIndex);
+               w = canvasFontPtr->per_char ? XTextWidth16(canvasFontPtr, gpszTmpStr16, nDoubleByteIndex) : (canvasFontPtr->max_bounds.width*nDoubleByteIndex);
                nTotal += w;
             }
          } else {
--- ./Imakefile.org	2005-01-15 09:26:22.000000000 +0900
+++ ./Imakefile	2006-02-22 20:36:52.000000000 +0900
@@ -11,7 +11,7 @@
 XCOMM There should be no need to modify this file.      XCOMM
 XCOMM ------------------------------------------------- XCOMM
 
-#include <Tgif.tmpl>
+#include <Tgif.tmpl-darwin>
 #include <Target.tmpl>
 
 XCOMM 
@@ -41,6 +41,8 @@
                   -DTGIF_DISTR_VER=\"$(TGIFVERSION)\" \@@\
                   $(MOREDEFINES) -DQPL_LICENSE
 
+DEFINES += -DA4PAPER
+
 TGIFVERSION	= 4.1.44
 
 XCOMM Things to try to add to the DEFINES line above:
@@ -301,6 +303,7 @@
 SRCS3 = 
 
 ComplexProgramTarget_1($(TARGET_1),$(LOCAL_LIBRARIES),NullParameter)
+ComplexProgramTarget_2(prtgif,NullParameter,NullParameter)
 /*
  * ComplexProgramTarget_2(prtgif,NullParameter,NullParameter)
  * ComplexProgramTarget_3(testdrive,$(LOCAL_LIBRARIES),NullParameter)
--- ./Tgif.tmpl-darwin.org	2005-01-15 09:26:22.000000000 +0900
+++ ./Tgif.tmpl-darwin	2006-02-22 20:36:52.000000000 +0900
@@ -28,7 +28,7 @@
 XIMPDEFINES      =
 #endif
 
-PROGRAMS	= tgif XCOMM prtgif frontend11.o testdrive
+PROGRAMS	= tgif prtgif XCOMM frontend11.o testdrive
 TGIFDIR		= $(LIBDIR)/tgif
 XCOMM CDEBUGFLAGS= -g -Wall
 XCOMM CCOPTIONS	= -Wall -Wpointer-arith -Wmissing-prototypes \@@\
installed
/usr/X11R6/bin/prtgif
/usr/X11R6/bin/tgif
/usr/X11R6/lib/X11/doc/html/prtgif.1.html
/usr/X11R6/lib/X11/doc/html/tgif.1.html
/usr/X11R6/lib/X11/tgif/Copyright
/usr/X11R6/lib/X11/tgif/eq4-2x.sym
/usr/X11R6/lib/X11/tgif/eq4-epstool.sym
/usr/X11R6/lib/X11/tgif/eq4-lyx-ps2epsi.sym
/usr/X11R6/lib/X11/tgif/eq4-ps2epsi.sym
/usr/X11R6/lib/X11/tgif/eq4.sym
/usr/X11R6/lib/X11/tgif/eq4xpm.sym
/usr/X11R6/lib/X11/tgif/keys.obj
/usr/X11R6/lib/X11/tgif/LICENSE.QPL
/usr/X11R6/lib/X11/tgif/tangram.sym
/usr/X11R6/lib/X11/tgif/tgif.Xdefaults
/usr/X11R6/lib/X11/tgif/tgificon.eps
/usr/X11R6/lib/X11/tgif/tgificon.obj
/usr/X11R6/lib/X11/tgif/tgificon.xbm
/usr/X11R6/lib/X11/tgif/tgificon.xpm
/usr/X11R6/man/man1/prtgif.1
/usr/X11R6/man/man1/tgif.1

img/mpeg2

preparation
wget -N ftp://ftp.mpegtv.com/pub/mpeg/mssg/mpeg2vidcodec_v12.tar.gz
build
make INCLUDEDIR=-I/usr/X11R6/include LIBRARYDIR=-L/usr/X11R6/lib USE_DISP=-DDISPLAY 'LIBS=-lXext -lX11' USE_SHMEM=-DSH_MEM 
installation
cp src/mpeg2dec/mpeg2decode src/mpeg2enc/mpeg2encode /opt/local/bin 
installed
/opt/local/bin/mpeg2decode
/opt/local/bin/mpeg2encode

img/ming-0.3beta1

preparation
curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/ming/ming-0.3beta1.tar.bz2
tar xvjf ming-0.3beta1.tar.bz2
(cd ming-0.3beta1 && patch -p0 -b -z.org < ../ming-0.3beta1-sakuya.patch)
build
make PREFIX=/opt/local 'CC=cc -I. -I/opt/local/include' 'LIBS=-L/opt/local/lib -lgif -lpng12 -lz' static
find . -name \*.o -exec rm {} \;
make PREFIX=/opt/local 'CC=cc -I. -I/opt/local/include' 'LIBS=-L/opt/local/lib -lgif -lpng12 -lz' dynamic
patch
--- ./config.make.org	2004-02-02 19:51:35.000000000 +0900
+++ ./config.make	2006-01-26 12:08:30.000000000 +0900
@@ -4,3 +4,11 @@
 # zlib required for both image formats and for compressed swf6
 LIBS = -lz -lungif -lpng12
 EXTRA_LIBS = ${LIBS}
+
+ifeq ($(shell uname -s), Darwin)
+  SO_FLAGS = -dynamiclib
+  SO_SUF = .dylib
+else
+  SO_FLAGS = -shared
+  SO_SUF = .so
+endif
--- ./Makefile.org	2004-02-01 08:06:56.000000000 +0900
+++ ./Makefile	2006-01-26 12:28:57.000000000 +0900
@@ -18,11 +18,11 @@
 	install -m 0644 mingpp.h $(INCLUDEDIR)
 
 install-dynamic: dynamic
-	install -m 0644 $(SHAREDLIB) $(LIBDIR)/
-	(cd $(LIBDIR) && ln -fs $(SHAREDLIB) libming.so.0 && ln -fs libming.so.0 libming.so)
+	install -m 0644 $(SHAREDLIB) $(LIBDIR)/libming${SO_V_SUF}
+	(cd $(LIBDIR) && ln -fs libming${SO_V_SUF} libming${SO_0_SUF} && ln -fs libming${SO_0_SUF} libming${SO_SUF})
 
 install-static: static
-	install -m 0644 $(SHAREDLIB) $(LIBDIR)/
+	install -m 0644 $(STATICLIB) $(LIBDIR)/
 
 dynamic static:
 	make -C src $@
@@ -31,5 +31,4 @@
 	for i in $(DIRS); do make -C $$i clean; done
 	if [ -f perl_ext/Makefile ] ; then cd perl_ext; make clean; fi
 	rm -f test.o test test.exe *.core *~
-	rm -f $(SHAREDLIB) $(SHAREDLIB)
-	rm -f libming.a libming.so
+	rm -f libming.a libming${SO_SUF}
--- ./Rules.make.org	2004-02-02 21:24:12.000000000 +0900
+++ ./Rules.make	2006-01-26 12:27:25.000000000 +0900
@@ -7,17 +7,27 @@
 INCLUDES       := -I. $(INCLUDES)
 LDLIBS         = $(LIBS)
 
+ifeq ($(shell uname -s), Darwin)
+  SO_FLAGS = -dynamiclib
+  SO_SUF = .dylib
+  SO_0_SUF = .0${SO_SUF}
+  SO_V_SUF = .${MING_VER}${SO_SUF}
+else
+  SO_FLAGS = -shared
+  SO_SUF = .so
+  SO_0_SUF = ${SO_SUF}.0
+  SO_V_SUF = ${SO_SUF}.${MING_VER}
+endif
+
 STATICLIB      = libming.a
-SHAREDLIB      = libming.so.$(MING_VER)
+SHAREDLIB      = libming${SO_SUF}
 
 override CFLAGS                := -O2 -Wall $(INCLUDES) $(CFLAGS)
 override LDFLAGS       :=  $(LDFLAGS)
 
-SHLIBLDFLAGS   = -static
+SHLIBLDFLAGS   = ${SO_FLAGS}
 
 ifeq ($(OS), Darwin)
        override CFLAGS         += -fno-common
-       SHLIBLDFLAGS            = -dynamiclib
-       SHAREDLIB                       = libming.$(MING_VER).dylib
 else
 endif
--- ./src/Makefile.org	2004-02-02 21:24:54.000000000 +0900
+++ ./src/Makefile	2006-01-26 12:08:30.000000000 +0900
@@ -36,8 +36,8 @@
 dynamic: ${OFILES}
 	cd blocks && make
 	cd actioncompiler && make
-	${CC} ${OFILES} ${COMPILEROFILES} ${LDFLAGS} ${EXTRA_LIBS} blocks/*.o -shared -o libming.so
-	cp libming.so ..
+	${CC} ${OFILES} ${COMPILEROFILES} ${LDFLAGS} ${EXTRA_LIBS} blocks/*.o ${SO_FLAGS} -o libming${SO_SUF}
+	cp libming${SO_SUF} ..
 
 static: ${OFILES}
 	cd blocks && make
@@ -49,7 +49,7 @@
 clean:
 	cd blocks && make clean
 	cd actioncompiler && make clean
-	rm -f *.o libming.a libming.so test test.exe core *.core
+	rm -f *.o libming.a libming${SO_SUF} test test.exe core *.core
 
 # breaks on bsd:
 #.c.o: .c .h
installation
make PREFIX=/opt/local 'CC=cc -I. -I/opt/local/include' 'LIBS=-L/opt/local/lib -lgif -lpng12 -lz' install-common install-static install-dynamic 
installed
/opt/local/include/ming.h
/opt/local/include/ming_config.h
/opt/local/include/mingpp.h
/opt/local/lib/libming.0.3beta1.dylib
/opt/local/lib/libming.0.dylib
/opt/local/lib/libming.a
/opt/local/lib/libming.dylib

devel/tla-1.3.4

preparation
verify_digest(){	# $0 method file string
  case "$1" in
  *)
    DIGEST=`echo "$1" | tr a-z A-Z`
    [ "$DIGEST($2)= $3" = "`openssl $1 $2`" ]
    ;;
  esac
}
verify_signature(){	# $0 [url|id] sig
  case "$1" in
  0x*)
    gpg --recv-keys "$1" && gpg --verify "$2"
    ;;
  http:*|ftp:*)
    curl "$1" | gpg --import && gpg --verify "$2"
    ;;
  *)
    gpg --import && gpg --verify "$1"
    ;;
  esac
}
error_out(){	# $0 message ...
  echo "$@" 1>&2
  exit 1
}

wget -N ftp://core.ring.gr.jp/pub/GNU/gnu-arch/tla-1.3.4.tar.gz
wget -N ftp://core.ring.gr.jp/pub/GNU/gnu-arch/tla-1.3.4.tar.gz.sig
verify_signature http://www.atai.org/public_key.txt tla-1.3.4.tar.gz.sig || error_out "$0: stopped at line $LINENO"
tar xvzf tla-1.3.4.tar.gz
build
[ ! -d '=build' ] && mkdir '=build'
(cd '=build' && ../src/configure --prefix=/opt/local && make)
installation
(cd '=build' && make install)

installed
/opt/local/bin/tla

net/mew-cvs-20060112

preparation
if [ ! -f mew-cvs-20060112.tar.bz2 ]; then
cvs -d :pserver:anoncvs@anoncvs.mew.org:/cvsmew login
cvs -d :pserver:anoncvs@anoncvs.mew.org:/cvsmew co mew
mv mew mew-cvs-20060112
tar cvjf mew-cvs-20060112.tar.bz2 mew-cvs-20060112
else
tar xvjf mew-cvs-20060112.tar.bz2
fi
(cd mew-cvs-20060112 && patch -p0 -b -z.org < ../mew-cvs-20060112-sakuya.patch)
build
./configure --prefix=/opt/local 
make 
patch
--- ./bin/incm.c.org	2005-10-19 13:58:21.000000000 +0900
+++ ./bin/incm.c	2005-12-16 13:53:10.000000000 +0900
@@ -77,6 +77,7 @@
 private int	PreserveUnixFrom;
 private int	CreateMTime = TRUE;
 private int	FileMode = S_IRUSR | S_IWUSR;
+private char	*CommandInboxFile = NULL;
 private int	Exit = 0;
 
 /****************************************************************
@@ -98,6 +99,7 @@
 private int	maildir_names(const char *, char **, char **, char **);
 private int	new_inbox_file(int, char[]);
 private FILE	*open_new_inbox_file(int *, char[]);
+private int	process_inbox_file(char inboxfile[]);
 private int	get_from_dir(int, char *, char *, int);
 private int	process_maildir(int);
 private int	lock_mbox(char *);
@@ -207,9 +209,24 @@
 #define MAILDIR_CUR	"cur"
 #define MAILDIR_TMP	"tmp"
 
+#ifndef AV_COMMAND
+#define AV_COMMAND "/opt/local/clamav/bin/clamdscan"
+#endif
+
+#ifndef AV_COMMAND_NOMAIL
+#define AV_COMMAND_NOMAIL "exec cat \"%1$s\" | "AV_COMMAND" --quiet -; test $? = 1 && rm -f \"%1$s\""
+#endif
+#ifndef AV_COMMAND_NOBODY
+#define AV_COMMAND_NOBODY "exec cat \"%1$s\" | "AV_COMMAND" --quiet -; test $? = 1 && (mv \"%1$s\" \"%1$s\".bak && sed -e '/^$/q' \"%1$s\".bak > \"%1$s\" && rm -f \"%1$s\".bak)"
+#endif
+#ifndef AV_COMMAND_AVBODY
+#define AV_COMMAND_AVBODY "exec cat \"%1$s\" | "AV_COMMAND" --quiet --no-summary --log=\"%1$s\".log -; test $? = 1 && (mv \"%1$s\" \"%1$s\".bak && sed -e '/^$/{\nr%1$s.log\nq\n}' \"%1$s\".bak > \"%1$s\" && rm -f \"%1$s\".bak \"%1$s\".log)"
+#endif
+
+
 private void
 usage(const char *progname) {
-	fprintf(stderr, "Usage: %s [-abchsv] [-d maildir] [-i inboxdir]\n", progname);
+	fprintf(stderr, "Usage: %s [-abchsvZz] [-d maildir] [-i inboxdir]\n", progname);
 }
 
 private const char *
@@ -229,6 +246,7 @@
 	"    -u            Don't create inboxdir/.mew-mtime file.",
 	"    -f            Preserve Unix From (Envelope Sender). (for mbox)",
 	"    -p <fmode>    Specify file permission. (for mbox)",
+	"    -z|-Z         Scan viral mail, and truncate body|delete the whole",
 	NULL
 };
 
@@ -545,6 +563,27 @@
 }
 
 private int
+process_inbox_file(char inboxfile[])
+{
+  char *command_f, command_s[PATH_MAX*10];
+  int pid, status;
+
+  if (!CommandInboxFile || !*CommandInboxFile)
+	return -1;
+  command_f = CommandInboxFile;
+  snprintf(command_s, sizeof(command_s), command_f, inboxfile);
+  if ((pid = fork()) < 0)
+	return -1;
+  else if (!pid) {
+	setsid();
+	exit(execl("/bin/sh", "/bin/sh", "-c", command_s, NULL));
+  }
+  if (waitpid(pid, &status, 0) < 0)
+	return -1;
+  return WIFEXITED(status) ? (WEXITSTATUS(status)==0?1:-1) : -1;
+}
+
+private int
 get_from_dir(int seq, char *fromdir, char *backupdir, int backup)
 {
 	struct stat sb;
@@ -600,6 +639,7 @@
 		else
 			movefile(mailfile, inboxfile, NULL, backup);
 		printf("%d\n", seq);
+		process_inbox_file(inboxfile);
 	}
 	return seq;
 }
@@ -721,6 +761,7 @@
 			if (bytes < 0 && strncmp(ln, "From ", 5) == 0) {
 				if (fclose(dstfp))
 					goto rerr;
+				process_inbox_file(inboxfile);
 				printf("%d\n", seq);
 
 				dstfp = open_new_inbox_file(&seq, inboxfile);
@@ -753,6 +794,7 @@
 				if (bytes <= 0) {
 					if (fclose(dstfp))
 						goto rerr;
+					process_inbox_file(inboxfile);
 					dstfp = NULL;
 					printf("%d\n", seq);
 					state = ST_UNKNOWN;
@@ -767,6 +809,7 @@
 	if (dstfp) {
 		if (fclose(dstfp))
 			goto rerr;
+		process_inbox_file(inboxfile);
 		printf("%d\n", seq);
 	}
 	if (!Backup && ftruncate(srcfd, 0)) {
@@ -811,6 +854,7 @@
 
 	if (dstfp) {
 		fclose(dstfp);
+		process_inbox_file(inboxfile);
 		printf("%d\n", seq);
 	}
 	return seq;
@@ -892,7 +936,7 @@
 	warn_prog = progname;
 	init_env(argc, argv);
 
-	while ((ch = Getopt(argc, argv, "abcd:fhi:m:p:suv")) != EOF) {
+	while ((ch = Getopt(argc, argv, "abcd:fhi:m:p:suvZz")) != EOF) {
 		switch (ch) {
 		case 'a':
 			GetCur = TRUE;
@@ -926,6 +970,12 @@
 		case 'u':
 			CreateMTime = FALSE;
 			break;
+		case 'Z':
+			CommandInboxFile = AV_COMMAND_NOMAIL;
+			break;
+		case 'z':
+			CommandInboxFile = AV_COMMAND_NOBODY;
+			break;
 		case 'v':
 			version(progname);
 			exit(EXIT_SUCCESS);
installed
/opt/local/bin/incm
/opt/local/bin/mewcat
/opt/local/bin/mewdecode
/opt/local/bin/mewencode
/opt/local/bin/mewl
/opt/local/info/mew.info
/opt/local/info/mew.info-1
/opt/local/info/mew.info-2
/opt/local/info/mew.info-3
/opt/local/info/mew.info-4
/opt/local/man/man1/incm.1
/opt/local/man/man1/mewcat.1
/opt/local/man/man1/mewdecode.1
/opt/local/man/man1/mewencode.1
/opt/local/man/man1/mewl.1
/opt/local/share/emacs/site-lisp/mew/etc/CVS/Entries
/opt/local/share/emacs/site-lisp/mew/etc/CVS/Entries.Log
/opt/local/share/emacs/site-lisp/mew/etc/CVS/Repository
/opt/local/share/emacs/site-lisp/mew/etc/CVS/Root
/opt/local/share/emacs/site-lisp/mew/etc/etc/COLOR
/opt/local/share/emacs/site-lisp/mew/etc/etc/CVS/Entries
/opt/local/share/emacs/site-lisp/mew/etc/etc/CVS/Repository
/opt/local/share/emacs/site-lisp/mew/etc/etc/CVS/Root
/opt/local/share/emacs/site-lisp/mew/etc/etc/mew-curr.xpm
/opt/local/share/emacs/site-lisp/mew/etc/etc/mew-folder.xpm
/opt/local/share/emacs/site-lisp/mew/etc/etc/mew-inc2.xpm
/opt/local/share/emacs/site-lisp/mew/etc/etc/mew-kill.xpm
/opt/local/share/emacs/site-lisp/mew/etc/etc/mew-Plain.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-attach.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Audio.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Blank.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-cite.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-External.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Folder.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-forward.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Image.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-inc.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-lock.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-next.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Octet-Stream.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-pgp-enc.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-pgp-sigenc.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-pgp-sign.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Postscript.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-prev.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-queue.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-refile.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-reply.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Rfc822.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-send.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-sep.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-show.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Text.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Unknown.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Video.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-write.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-yank.xpm
/opt/local/share/emacs/site-lisp/mew/etc/Mew.img
/opt/local/share/emacs/site-lisp/mew/etc/Mew.png
/opt/local/share/emacs/site-lisp/mew/etc/Mew.xbm
/opt/local/share/emacs/site-lisp/mew/etc/Mew.xpm
/opt/local/share/emacs/site-lisp/mew/mew-addrbook.el
/opt/local/share/emacs/site-lisp/mew/mew-addrbook.elc
/opt/local/share/emacs/site-lisp/mew/mew-attach.el
:

editors/emacs-22-20060112

preparation
if [ ! -f emacs-22-20060112.tar.bz2 ]; then
#env CVS_RSH=ssh cvs -z3 -d :ext:anoncvs@savannah.gnu.org:/cvsroot/emacs checkout -P emacs
cvs -z3 -d :pserver:anonymous@cvs.sv.gnu.org:/sources/emacs login
cvs -z3 -d :pserver:anonymous@cvs.sv.gnu.org:/sources/emacs co -P emacs
[ ! -d emacs-22-20060112 ] && mkdir emacs-22-20060112
(cd emacs && tar cf - .) | (cd emacs-22-20060112 && tar xvf -)
tar cvjf emacs-22-20060112.tar.bz2 emacs-22-20060112
else
tar xvjf emacs-22-20060112.tar.bz2
fi
(cd emacs-22-20060112 &&
patch -b -z.org -p0 < ../emacs-22-20060112-sakuya.patch
)
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local --without-pop --with-x-toolkit=lucid --with-xpm --with-jpeg --with-tiff --with-gif --with-png --with-xim --without-carbon --with-x
env MACOSX_DEPLOYMENT_TARGET=10.4 make bootstrap
patch
--- ./lisp/international/isearch-x.el.org	2005-07-18 23:32:51.000000000 +0900
+++ ./lisp/international/isearch-x.el	2006-09-11 18:44:57.000000000 +0900
@@ -98,9 +98,14 @@
 (defun isearch-process-search-multibyte-characters (last-char)
   (if (eq this-command 'isearch-printing-char)
       (let ((overriding-terminal-local-map nil)
-	    (prompt (isearch-message-prefix))
+	    (prompt (concat (isearch-message-prefix) isearch-message))
 	    (minibuffer-local-map isearch-minibuffer-local-map)
-	    str junk-hist)
+	    str)
+	(if (not (equal
+		  (substring 
+		   (concat default-input-method "____________") 0 12)
+		  "japanese-egg"))
+	    (progn
 	(if isearch-input-method-function
 	    (let (;; Let input method work rather tersely.
 		  (input-method-verbose-flag nil))
@@ -108,12 +113,11 @@
 		    (cons 'with-input-method
 			  (cons last-char unread-command-events))
 		    ;; Inherit current-input-method in a minibuffer.
-		    str (read-string prompt isearch-message 'junk-hist nil t))
-	      (if (or (not str) (< (length str) (length isearch-message)))
+		    str (read-string prompt nil nil nil t))
+	      (if (not str)
 		  ;; All inputs were deleted while the input method
 		  ;; was working.
 		  (setq str "")
-		(setq str (substring str (length isearch-message)))
 		(if (and (= (length str) 1)
 			 (= (aref str 0) last-char)
 			 (>= last-char 128))
@@ -124,8 +128,15 @@
 	    (setq unread-command-events
 		  (cons 'with-keyboard-coding
 			(cons last-char unread-command-events))
-		  str (read-string prompt nil 'junk-hist)))
+		  str (read-string prompt))))
 
+	  (progn	;; for Tamago-4
+	    (setq unread-command-events
+		  (cons last-char unread-command-events))
+	    (setq str (read-multilingual-string
+		       (concat (isearch-message-prefix) isearch-message)
+		       nil current-input-method))))
+	
 	(if (and str (> (length str) 0))
 	    (let ((unread-command-events nil))
 	      (isearch-process-search-string str str))
--- ./lisp/international/mule-cmds.el.org	2005-12-07 16:27:28.000000000 +0900
+++ ./lisp/international/mule-cmds.el	2006-09-11 18:36:21.000000000 +0900
@@ -1555,8 +1555,17 @@
   (let ((prev-input-method current-input-method))
     (unwind-protect
 	(progn
+	  (setq map-isearch-multibyte-characters 
+		(make-sparse-keymap))
+	  (define-key map-isearch-multibyte-characters "\C-s" [13])
+	  (define-key map-isearch-multibyte-characters "\C-r" [13])
+	  (set-keymap-parent 
+	   map-isearch-multibyte-characters 
+	   minibuffer-local-map)
 	  (activate-input-method input-method)
-	  (read-string prompt initial-input nil nil t))
+	  (read-from-minibuffer prompt initial-input 
+				map-isearch-multibyte-characters
+				nil nil nil t))
       (activate-input-method prev-input-method))))
 
 ;; Variables to control behavior of input methods.  All input methods
installed
/opt/local/bin/b2m
/opt/local/bin/ctags
/opt/local/bin/ebrowse
/opt/local/bin/emacs
/opt/local/bin/emacs-22.0.50
/opt/local/bin/emacsclient
/opt/local/bin/etags
/opt/local/bin/grep-changelog
/opt/local/bin/rcs-checkin
/opt/local/info/ada-mode
/opt/local/info/autotype
/opt/local/info/calc
/opt/local/info/calc-1
/opt/local/info/calc-2
/opt/local/info/calc-3
/opt/local/info/calc-4
/opt/local/info/calc-5
/opt/local/info/calc-6
/opt/local/info/ccmode
/opt/local/info/cl
/opt/local/info/dired-x
/opt/local/info/ebrowse
/opt/local/info/ediff
/opt/local/info/efaq
/opt/local/info/eintr
/opt/local/info/eintr-1
/opt/local/info/eintr-2
/opt/local/info/eintr-3
/opt/local/info/elisp
/opt/local/info/elisp-1
/opt/local/info/elisp-10
/opt/local/info/elisp-11
/opt/local/info/elisp-2
/opt/local/info/elisp-3
/opt/local/info/elisp-4
/opt/local/info/elisp-5
/opt/local/info/elisp-6
/opt/local/info/elisp-7
/opt/local/info/elisp-8
/opt/local/info/elisp-9
/opt/local/info/emacs
/opt/local/info/emacs-1
/opt/local/info/emacs-2
/opt/local/info/emacs-3
/opt/local/info/emacs-4
/opt/local/info/emacs-5
/opt/local/info/emacs-6
/opt/local/info/emacs-7
/opt/local/info/emacs-8
/opt/local/info/emacs-mime
/opt/local/info/emacs-xtra
/opt/local/info/eshell
/opt/local/info/eudc
/opt/local/info/flymake
/opt/local/info/forms
/opt/local/info/gnus
/opt/local/info/gnus-1
/opt/local/info/gnus-2
/opt/local/info/gnus-3
/opt/local/info/gnus-4
/opt/local/info/gnus-5
/opt/local/info/idlwave
/opt/local/info/info
/opt/local/info/message
:
data_installed
/opt/local/share/emacs/22.0.50/etc/BABYL
/opt/local/share/emacs/22.0.50/etc/CENSORSHIP
/opt/local/share/emacs/22.0.50/etc/COOKIES
/opt/local/share/emacs/22.0.50/etc/COPYING
/opt/local/share/emacs/22.0.50/etc/DEBUG
/opt/local/share/emacs/22.0.50/etc/DISTRIB
/opt/local/share/emacs/22.0.50/etc/DOC-22.0.50.1
/opt/local/share/emacs/22.0.50/etc/ETAGS.EBNF
/opt/local/share/emacs/22.0.50/etc/FTP
/opt/local/share/emacs/22.0.50/etc/GNU
/opt/local/share/emacs/22.0.50/etc/GNUS-NEWS
/opt/local/share/emacs/22.0.50/etc/HELLO
/opt/local/share/emacs/22.0.50/etc/INTERVIEW
/opt/local/share/emacs/22.0.50/etc/JOKES
/opt/local/share/emacs/22.0.50/etc/LEDIT
/opt/local/share/emacs/22.0.50/etc/LINUX-GNU
/opt/local/share/emacs/22.0.50/etc/LPF
/opt/local/share/emacs/22.0.50/etc/MACHINES
/opt/local/share/emacs/22.0.50/etc/MAILINGLISTS
/opt/local/share/emacs/22.0.50/etc/MH-E-NEWS
/opt/local/share/emacs/22.0.50/etc/MORE.STUFF
/opt/local/share/emacs/22.0.50/etc/MOTIVATION
/opt/local/share/emacs/22.0.50/etc/NEWS
/opt/local/share/emacs/22.0.50/etc/ONEWS
/opt/local/share/emacs/22.0.50/etc/ONEWS.1
/opt/local/share/emacs/22.0.50/etc/ONEWS.2
/opt/local/share/emacs/22.0.50/etc/ONEWS.3
/opt/local/share/emacs/22.0.50/etc/ONEWS.4
/opt/local/share/emacs/22.0.50/etc/ORDERS
/opt/local/share/emacs/22.0.50/etc/OTHER.EMACSES
/opt/local/share/emacs/22.0.50/etc/PROBLEMS
/opt/local/share/emacs/22.0.50/etc/README
/opt/local/share/emacs/22.0.50/etc/SERVICE
/opt/local/share/emacs/22.0.50/etc/TERMS
/opt/local/share/emacs/22.0.50/etc/THE-GNU-PROJECT
/opt/local/share/emacs/22.0.50/etc/TODO
/opt/local/share/emacs/22.0.50/etc/TUTORIAL
/opt/local/share/emacs/22.0.50/etc/TUTORIAL.bg
/opt/local/share/emacs/22.0.50/etc/TUTORIAL.cn
/opt/local/share/emacs/22.0.50/etc/TUTORIAL.cs
/opt/local/share/emacs/22.0.50/etc/TUTORIAL.de
/opt/local/share/emacs/22.0.50/etc/TUTORIAL.es
/opt/local/share/emacs/22.0.50/etc/TUTORIAL.fr
/opt/local/share/emacs/22.0.50/etc/TUTORIAL.it
/opt/local/share/emacs/22.0.50/etc/TUTORIAL.ja
/opt/local/share/emacs/22.0.50/etc/TUTORIAL.ko
/opt/local/share/emacs/22.0.50/etc/TUTORIAL.nl
/opt/local/share/emacs/22.0.50/etc/TUTORIAL.pl
/opt/local/share/emacs/22.0.50/etc/TUTORIAL.pt_BR
/opt/local/share/emacs/22.0.50/etc/TUTORIAL.ro
/opt/local/share/emacs/22.0.50/etc/TUTORIAL.ru
/opt/local/share/emacs/22.0.50/etc/TUTORIAL.sk
/opt/local/share/emacs/22.0.50/etc/TUTORIAL.sl
/opt/local/share/emacs/22.0.50/etc/TUTORIAL.sv
/opt/local/share/emacs/22.0.50/etc/TUTORIAL.th
/opt/local/share/emacs/22.0.50/etc/TUTORIAL.translators
/opt/local/share/emacs/22.0.50/etc/TUTORIAL.zh
/opt/local/share/emacs/22.0.50/etc/WHY-FREE
/opt/local/share/emacs/22.0.50/etc/Xkeymap.txt
/opt/local/share/emacs/22.0.50/etc/calccard.ps
/opt/local/share/emacs/22.0.50/etc/calccard.tex
/opt/local/share/emacs/22.0.50/etc/celibacy.1
/opt/local/share/emacs/22.0.50/etc/compilation.txt
/opt/local/share/emacs/22.0.50/etc/condom.1
:

secure/clamav-0.88

preparation
verify_digest(){	# $0 method file string
  case "$1" in
  *)
    DIGEST=`echo "$1" | tr a-z A-Z`
    [ "$DIGEST($2)= $3" = "`openssl $1 $2`" ]
    ;;
  esac
}
verify_signature(){	# $0 url|id sig
  case "$1" in
  0x*)
    gpg --recv-keys "$1" && gpg --verify "$2"
    ;;
  *)
    curl "$1" | gpg --import && gpg --verify "$2"
    ;;
  esac
}
error_out(){	# $0 message ...
  echo "$@" 1>&2
  exit 1
}

curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/clamav/clamav-0.88.tar.gz
curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/clamav/clamav-0.88.tar.gz.sig
verify_signature http://www.clamav.net/gpg/tkojm.gpg clamav-0.88.tar.gz.sig || error_out "$0: stopped at line $LINENO"

tar xvzf clamav-0.88.tar.gz
(cd clamav-0.88 && patch -p0 -b -z.org < ../clamav-0.88-sakuya.patch)
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local/clamav 
make 
patch
--- ./etc/clamd.conf.org	2005-06-24 05:03:04.000000000 +0900
+++ ./etc/clamd.conf	2006-01-10 19:10:26.000000000 +0900
@@ -5,13 +5,14 @@
 
 
 # Comment or remove the line below.
-Example
+#Example
 
 # Uncomment this option to enable logging.
 # LogFile must be writable for the user running daemon.
 # A full path is required.
 # Default: disabled
 #LogFile /tmp/clamd.log
+LogFile /tmp/clamd.log
 
 # By default the log file is locked for writing - the lock protects against
 # running clamd multiple times (if want to run another clamd, please
@@ -55,6 +56,7 @@
 # daemon (main thread).
 # Default: disabled
 #PidFile /var/run/clamd.pid
+PidFile /tmp/clamd.pid
 
 # Optional path to the global temporary directory.
 # Default: system specific (usually /tmp or /var/tmp).
@@ -63,6 +65,7 @@
 # Path to the database directory.
 # Default: hardcoded (depends on installation options)
 #DatabaseDirectory /var/lib/clamav
+DatabaseDirectory /opt/local/clamav/share/clamav
 
 # The daemon works in a local OR a network mode. Due to security reasons we
 # recommend the local mode.
@@ -84,7 +87,7 @@
 # Enable the following to provide some degree of protection
 # from the outside world.
 # Default: disabled
-#TCPAddr 127.0.0.1
+TCPAddr 127.0.0.1
 
 # Maximum length the queue of pending connections may grow to.
 # Default: 15
@@ -142,6 +145,7 @@
 # Run as a selected user (clamd must be started by root).
 # Default: disabled
 #User clamav
+User clamav
 
 # Initialize supplementary group access (clamd must be started by root).
 # Default: disabled
--- ./etc/freshclam.conf.org	2005-09-16 07:27:13.000000000 +0900
+++ ./etc/freshclam.conf	2006-01-10 19:02:41.000000000 +0900
@@ -6,16 +6,18 @@
 
 
 # Comment or remove the line below.
-Example
+#Example
 
 # Path to the database directory.
 # WARNING: It must match clamd.conf's directive!
 # Default: hardcoded (depends on installation options)
 #DatabaseDirectory /var/lib/clamav
+DatabaseDirectory /opt/local/clamav/share/clamav
 
 # Path to the log file (make sure it has proper permissions)
 # Default: disabled
 #UpdateLogFile /var/log/freshclam.log
+UpdateLogFile /tmp/freshclam.log
 
 # Enable verbose logging.
 # Default: disabled
@@ -33,11 +35,13 @@
 # This option allows you to save the process identifier of the daemon
 # Default: disabled
 #PidFile /var/run/freshclam.pid
+PidFile /tmp/freshclam.pid
 
 # By default when started freshclam drops privileges and switches to the
 # "clamav" user. This directive allows you to change the database owner.
 # Default: clamav (may depend on installation options)
 #DatabaseOwner clamav
+DatabaseOwner clamav
 
 # Initialize supplementary group access (freshclam must be started by root).
 # Default: disabled
@@ -53,6 +57,7 @@
 # code. See http://www.iana.org/cctld/cctld-whois.htm for the full list.
 # Default: There is no default, which results in an error when running freshclam
 #DatabaseMirror db.XY.clamav.net
+DatabaseMirror db.jp.clamav.net
 
 # database.clamav.net is a round-robin record which points to our most 
 # reliable mirrors. It's used as a fall back in case db.XY.clamav.net is 
installed
/opt/local/clamav/bin/clamav-config
/opt/local/clamav/bin/clamdscan
/opt/local/clamav/bin/clamscan
/opt/local/clamav/bin/freshclam
/opt/local/clamav/bin/sigtool
/opt/local/clamav/etc/clamd.conf
/opt/local/clamav/etc/freshclam.conf
/opt/local/clamav/include/clamav.h
/opt/local/clamav/lib/libclamav.1.0.17.dylib
/opt/local/clamav/lib/libclamav.1.dylib
/opt/local/clamav/lib/libclamav.a
/opt/local/clamav/lib/libclamav.dylib
/opt/local/clamav/lib/libclamav.la
/opt/local/clamav/lib/pkgconfig/libclamav.pc
/opt/local/clamav/man/man1/clamdscan.1
/opt/local/clamav/man/man1/clamscan.1
/opt/local/clamav/man/man1/freshclam.1
/opt/local/clamav/man/man1/sigtool.1
/opt/local/clamav/man/man5/clamd.conf.5
/opt/local/clamav/man/man5/freshclam.conf.5
/opt/local/clamav/man/man8/clamav-milter.8
/opt/local/clamav/man/man8/clamd.8
/opt/local/clamav/sbin/clamd
/opt/local/clamav/share/clamav/daily.cvd
/opt/local/clamav/share/clamav/main.cvd
host_configuration
[ ! -d /System/Library/StartupItems/Clamd ] && \
mkdir /System/Library/StartupItems/Clamd
if [ ! -f /System/Library/StartupItems/Clamd/Clamd ]; then
  cat <<EOF > /System/Library/StartupItems/Clamd/Clamd
#!/bin/sh

##
# ClamAV Server
##

. /etc/rc.common

StartService ()
{
	/opt/local/clamav/bin/freshclam -d
	/opt/local/clamav/sbin/clamd
}

StopService ()
{
	killall -9 freshclam
	killall -9 clamd
}

RestartService () { StopService; StartService; }

RunService "\$1"
EOF
  chmod +x /System/Library/StartupItems/Clamd/Clamd
fi
if [ ! -f /System/Library/StartupItems/Clamd/StartupParameters.plist ]; then
  cat <<EOF > /System/Library/StartupItems/Clamd/StartupParameters.plist
{
  Description     = "ClamAV Server";
  Provides        = ("ClamAV Server");
}
EOF
fi
#/System/Library/StartupItems/Clamd/Clamd start

text/ptetex3/convert-ps-euc-j-20060107

preparation
if [ ! -f convert-ps-euc-j-20060107.tar.bz2 ]; then
[ ! -d convert-ps-euc-j-20060107 ] && mkdir convert-ps-euc-j-20060107
(cd convert-ps-euc-j-20060107
curl -RO -C - http://www.rmatsumoto.org/tex-ps-pdf/convert-euc.txt
)
tar cvjf convert-ps-euc-j-20060107.tar.bz2 convert-ps-euc-j-20060107
else
tar xvjf convert-ps-euc-j-20060107.tar.bz2
fi
build
sed '1s|/usr/local|/usr|;1s/perl5/perl/' < convert-euc.txt > convert-ps-euc-j.pl
chmod +x convert-ps-euc-j.pl
installation
cp convert-ps-euc-j.pl /opt/local/bin 
installed
/opt/local/bin/convert-ps-euc-j.pl

secure/pop3proxy-1.3.0-beta4

preparation
curl -RO -C - http://quietsche-entchen.de/cgi-bin/wiki.cgi/download/pop3proxy-1.3.0-beta4.tar.gz
tar xvzf pop3proxy-1.3.0-beta4.tar.gz
(cd pop3proxy-1.3.0-beta4 && patch -p0 -b -z.org < ../pop3proxy-1.3.0-beta4-sakuya.patch)
build
make PREFIX=/opt/local 
patch
--- ../pop3proxy-1.3.0-beta4.org/clamav.c	2005-03-30 05:05:59.000000000 +0900
+++ ./clamav.c	2005-12-15 22:50:04.000000000 +0900
@@ -27,7 +27,9 @@
 
 #include <errno.h>
 #include <syslog.h>
+#if !defined(__APPLE__)
 #include <wait.h>
+#endif
 
 #include <sys/stat.h>
 #include <sys/types.h>
@@ -193,6 +195,7 @@
 	char	*p;
 
 	memset(&x->clamav.bio, 0, sizeof(x->clamav.bio));
+	if ((x->clamav.bio.fd = openup(x->clamav.socket)) >= 0) ; else
 	if ((x->clamav.bio.fd = openip(x->clamav.adress, x->clamav.port, NULL, 0)) < 0)
 		printerror(1, "-PROXY", "can't get clamav version: error= %s", strerror(errno));
 
@@ -259,6 +262,7 @@
 	 */
 
 	memset(&x->clamav.bio, 0, sizeof(x->clamav.bio));
+	if ((x->clamav.bio.fd = openup(x->clamav.socket)) >= 0) ; else
 	if ((x->clamav.bio.fd = openip(x->clamav.adress, x->clamav.port, NULL, 0)) < 0)
 		printerror(1, "-PROXY", "can't connect to clamav daemon: error= %s", strerror(errno));
 
@@ -319,8 +323,8 @@
 		if ((fp = fopen(x->spoolfile, "w")) == NULL)
 			printerror(1, "-PROXY", "can't rewrite email: filename= %s", x->spoolfile);
 
-		fprintf (fp, "From: Virus-Scanner\r\n");
-		fprintf (fp, "Subject: pop3proxy - virus found: %s\r\n", virusname);
+		fprintf (fp, "From: pop3proxy+clamd\r\n");
+		fprintf (fp, "Subject: virus(%s) found\r\n", virusname);
 		fprintf (fp, "\r\n");
 
 		fprintf (fp, "E-Mail headers follow:\r\n");
@@ -329,7 +333,7 @@
 		p = x->clamav.header.string;
 		while (*p != 0) {
 			get_quoted(&p, '\n', line, sizeof(line));
-			fprintf (fp, ">  %s\n", line);
+			fprintf (fp, "| %s\n", line);
 			}
 
 		fprintf (fp, "\r\n");
--- ../pop3proxy-1.3.0-beta4.org/ip-lib.c	2004-11-16 07:58:35.000000000 +0900
+++ ./ip-lib.c	2005-12-15 23:16:01.000000000 +0900
@@ -32,6 +32,7 @@
 #include <unistd.h>
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <sys/un.h>
 #include <sys/wait.h>
 #include <netinet/in.h>
 #include <netdb.h>
@@ -291,3 +292,21 @@
 	return (0);
 }
 
+int openup(char *localsocket)
+{
+	int	socketd;
+	struct sockaddr_un server;
+
+	if (localsocket == NULL || *localsocket == 0)
+		return (-1);
+
+	if ((socketd = socket(AF_UNIX, SOCK_STREAM, 0)) < 0)
+		return (-1);
+  
+	server.sun_family = AF_UNIX;
+	strncpy(server.sun_path, localsocket, sizeof(server.sun_path));
+	if (connect(socketd, (struct sockaddr *) &server, sizeof(server)) < 0)
+		return (-1);
+
+	return (socketd);
+}	
--- ../pop3proxy-1.3.0-beta4.org/ip-lib.h	2004-11-16 05:57:59.000000000 +0900
+++ ./ip-lib.h	2005-12-15 22:40:41.000000000 +0900
@@ -32,5 +32,6 @@
 int bind_to_port(char *interface, unsigned int port);
 int acceptloop(int sock);
 int getpeerinfo(int pfd, char *ipnum, int ipsize, char *name, int namesize, int interface);
+int openup(char *localsocket);
 
 #endif
--- ../pop3proxy-1.3.0-beta4.org/makefile	2005-03-29 21:55:48.000000000 +0900
+++ ./makefile	2005-12-15 20:13:08.000000000 +0900
@@ -1,4 +1,4 @@
-
+PREFIX =	/usr/local
 CC =		gcc
 CFLAGS =	-ggdb -Wall -D'VERSION="$(VERSION)"'
 
@@ -17,19 +17,19 @@
 
 install:	all
 	strip $(TARGETS)
-	cp $(TARGETS) /usr/local/sbin
-	cp *.1 /usr/local/man/man1
+	cp $(TARGETS) $(PREFIX)/sbin
+	cp *.1 $(PREFIX)/man/man1
 
 
 pop3.proxy:	$(POP3PROXY)
-	$(CC) -o $@ $+
+	$(CC) -o $@ $+ $(LDLIBS)
 
 
 
 tar:		clean
 	cd ..; tar cvf $(TAR).tar $(DIR); gzip $(TAR).tar
 	mv ../$(TAR).tar.gz .
-	
+
 clean:
 	-rm -f *.o cut out $(TARGETS) $(TAR).tar.gz
 
--- ../pop3proxy-1.3.0-beta4.org/pop3.c	2005-03-30 00:26:34.000000000 +0900
+++ ./pop3.c	2005-12-15 22:38:46.000000000 +0900
@@ -37,7 +37,9 @@
 #include <netinet/in.h>
 #include <syslog.h>
 #include <time.h>
+#if !defined(__APPLE__)
 #include <wait.h>
+#endif
 
 #include "pop3.h"
 #include "ip-lib.h"
@@ -219,6 +221,38 @@
 
 int set_variables(pop3_t *x)
 {
+#if defined(sun)
+	char	*vp, env[400];
+
+	vp = x->config->varname;
+
+	snprintf (env, sizeof(env) - 2, "%sINTERFACE=%s", vp, x->interface);
+	putenv(strdup(env));
+	
+	snprintf (env, sizeof(env) - 2, "%sPORT=%u", vp, x->port);
+	putenv(strdup(env));
+
+	snprintf (env, sizeof(env) - 2, "%sCLIENT=%s", vp, x->client.ipnum);
+	putenv(strdup(env));
+
+	snprintf (env, sizeof(env) - 2, "%sCLIENTNAME=%s", vp, x->client.name);
+	putenv(strdup(env));
+
+	snprintf (env, sizeof(env) - 2, "%sSERVER=%s", vp, x->server.hostname);
+	putenv(strdup(env));
+	
+	snprintf (env, sizeof(env) - 2, "%sSERVERPORT=%u", vp, x->server.port);
+	putenv(strdup(env));
+
+	snprintf (env, sizeof(env) - 2, "%sSERVERLOGIN=%s", vp, x->client.username);
+	putenv(strdup(env));
+	
+	snprintf (env, sizeof(env) - 2, "%sUSERNAME=%s", vp, x->local.username);
+	putenv(strdup(env));
+	
+	snprintf (env, sizeof(env) - 2, "%sPASSWD=%s", vp, x->local.password);
+	putenv(strdup(env));
+#else
 	char	*vp, var[200], val[200];
 
 	vp = x->config->varname;
@@ -251,6 +285,7 @@
 	
 	snprintf (var, sizeof(var) - 2, "%sPASSWD", vp);
 	setenv(var, x->local.password, 1);
+#endif
 	
 	return (0);
 }
@@ -497,6 +532,19 @@
 		}
 
 	cfputs(x, "+OK maildrop ready", 1);
+#if defined(USE_DRAC)
+	{
+		int	dracauth(char *server, unsigned long userip, char **errmsg);
+		char	*e = NULL;
+		int	r;
+
+		if ((r=dracauth("localhost", inet_addr(x->client.ipnum), &e)) != 0) {
+			;
+		}
+		if (verbose)
+			syslog(LOG_NOTICE, "drac %s code=%d client=%s", e, r, x->client.ipnum);
+	}
+#endif
 	if (verbose)
 		syslog(LOG_NOTICE, "login user=%s host=%s", x->client.username, x->client.name);
 
@@ -539,6 +587,7 @@
 	x = allocate(sizeof(pop3_t));
 	x->config = config;
 
+	strcpy(x->clamav.socket, "/tmp/clamd");
 	strcpy(x->clamav.adress, "127.0.0.1");
 	x->clamav.port = 3310;
 	if (x->config->scanmail != 0)
--- ../pop3proxy-1.3.0-beta4.org/pop3.h	2004-11-23 05:40:02.000000000 +0900
+++ ./pop3.h	2005-12-15 22:27:50.000000000 +0900
@@ -108,6 +108,7 @@
     channel_t	server;
 
     struct {
+	char	socket[100];
 	char	adress[80];
 	unsigned int port;
 	char	version[200];
installation
make PREFIX=/opt/local install 
installed
/opt/local/man/man1/pop3.proxy.1
/opt/local/sbin/pop3.proxy
host_configuration
serverselection_mode=yes
if [ "$serverselection_mode" != "yes" ]; then
if [ ! -f /etc/xinetd.d/pop3proxy ]; then
  cat <<EOF > /etc/xinetd.d/pop3proxy
service pop3proxy
{
	disable		= no
	type		= UNLISTED
	port		= 109
	socket_type	= stream
	protocol	= tcp
	wait		= no
	user		= clamav
	server		= /opt/local/sbin/pop3.proxy
	server_args	= -z mailhost.aihara.co.jp
	groups		= yes
	flags		= REUSE
	only_from	= 127.0.0.1
	only_from	+= 192.168.0.0/24 219.166.94.168/29
	only_from	+= 192.168.1.0/24 210.154.62.64/29
	only_from	+= 192.168.2.0/24
	only_from	+= 192.168.5.0/24
}
EOF
fi
else
if [ -f /etc/xinetd.d/pop3proxy ]; then
  cat <<EOF > /etc/xinetd.d/pop3proxy
service pop3proxy
{
	disable		= no
	type		= UNLISTED
	port		= 109
	socket_type	= stream
	protocol	= tcp
	wait		= no
	user		= clamav
	server		= /opt/local/sbin/pop3.proxy
	server_args	= -z -e
	groups		= yes
	flags		= REUSE
	only_from	= 127.0.0.1
	only_from	+= 192.168.0.0/24 219.166.94.168/29
	only_from	+= 192.168.1.0/24 210.154.62.64/29
	only_from	+= 192.168.2.0/24
	only_from	+= 192.168.5.0/24
}
EOF
fi
fi

secure/smtpproxy-1.3.3

preparation
curl -RO -C - http://quietsche-entchen.de/cgi-bin/wiki.cgi/download/smtpproxy-1.3.3.tar.gz
tar xvzf smtpproxy-1.3.3.tar.gz
(cd smtpproxy-1.3.3 && patch -p0 -b -z.org < ../smtpproxy-1.3.3-sakuya.patch)
build
make PREFIX=/opt/local 
patch
--- ./acp.c.org	2004-02-23 23:58:05.000000000 +0900
+++ ./acp.c	2005-12-13 21:04:18.000000000 +0900
@@ -24,7 +24,9 @@
 
 #include <errno.h>
 #include <syslog.h>
+#if !defined(__APPLE__)
 #include <wait.h>
+#endif
 
 #include <sys/stat.h>
 #include <sys/types.h>
@@ -193,10 +195,18 @@
 
 static int setvar(smtp_t *x, char *var, char *value)
 {
+#if defined(sun)
+	char	env[400];
+
+	snprintf (env, sizeof(env) - 2, "%s%s=%s", x->config->varname, var,
+		  value != NULL? value: "");
+	putenv(strdup(env));
+#else
 	char	varname[200];
 
 	snprintf (varname, sizeof(varname) - 2, "%s%s", x->config->varname, var);
 	setenv(varname, value != NULL? value: "", 1);
+#endif
 
 	return (0);
 }
--- ./makefile.org	2004-04-05 05:09:09.000000000 +0900
+++ ./makefile	2005-12-13 19:13:18.000000000 +0900
@@ -1,4 +1,4 @@
-
+PREFIX =	/usr/local
 CC =		gcc
 CFLAGS =	-ggdb -Wall -DVERSION='"$(VERSION)"'
 
@@ -18,13 +18,12 @@
 
 install:	all
 	strip $(TARGETS)
-	cp smtp.proxy /usr/local/sbin/smtp.proxy
-	cp $(TARGETS) /usr/local/sbin
-	cp *.1 /usr/local/man/man1
+	cp $(TARGETS) $(PREFIX)/sbin
+	cp *.1 $(PREFIX)/man/man1
 
 
 smtp.proxy:	$(SMTPPROXY)
-	$(CC) -o $@ $(SMTPPROXY)
+	$(CC) -o $@ $+ $(LDLIBS)
 
 
 
--- ./smtp.proxy.acp.dracd.c.org	2005-12-13 19:13:18.000000000 +0900
+++ ./smtp.proxy.acp.dracd.c	2005-12-13 19:13:18.000000000 +0900
@@ -0,0 +1,34 @@
+#include <stdio.h>	/* stderr, etc */
+#include <stdlib.h>	/* getenv, etc */
+#include <string.h>	/* strlen, etc */
+#include <fcntl.h>	/* O_RDONLY, etc */
+#include <db_185.h>	/* dbopen, etc */
+
+#ifndef DRAC_DB
+#define DRAC_DB "dracd.db"
+#endif
+
+int main(int argc, char *argv[])
+{
+  char *SMTP_CLIENT;
+  DB *dbp;
+  DBT dbk, dbd;
+
+  if (!(SMTP_CLIENT=getenv("SMTP_CLIENT"))) {
+    fprintf(stderr, "554 error\n");
+    return 2;
+  }
+  if (!(dbp=dbopen(DRAC_DB, O_RDONLY, 0644, DB_HASH, NULL))) {
+    fprintf(stderr, "554 error\n");
+    return 2;
+  }
+  dbk.data = SMTP_CLIENT;
+  dbk.size = strlen(SMTP_CLIENT);
+  if (dbp->get(dbp, &dbk, &dbd, 0) != RET_SUCCESS) {
+    fprintf(stderr, "554 error\n");
+    dbp->close(dbp);
+    return 2;
+  }
+  dbp->close(dbp);
+  return 0;
+}
--- ./smtp.proxy.acp.org	2005-12-13 21:56:11.000000000 +0900
+++ ./smtp.proxy.acp	2005-12-13 21:56:11.000000000 +0900
@@ -0,0 +1,12 @@
+#!/bin/sh
+case "$SMTP_CLIENT" in
+192.168.[0125].*|\
+210.154.62.6[4-9]|210.154.62.7[0-1]|\
+219.166.94.16[8-9]|219.166.94.17[0-5])
+	exit 0
+	;;
+*)
+	/opt/local/sbin/smtp.proxy.acp.dracd
+	exit $?
+	;;
+esac
--- ./smtp.proxy.ccp.clamav.org	2005-12-13 19:13:18.000000000 +0900
+++ ./smtp.proxy.ccp.clamav	2005-12-13 19:13:18.000000000 +0900
@@ -0,0 +1,7 @@
+#!/bin/sh
+/opt/local/clamav/bin/clamdscan --quiet $SMTP_MAIL
+if test "$?" = "1"; then
+	echo '554 the message may contain virus' 2>&1
+	exit 2
+fi
+exit 0
installation
make PREFIX=/opt/local install 
cp smtp.proxy.ccp.clamav /opt/local/sbin/
installed
/opt/local/man/man1/smtp.proxy.1
/opt/local/sbin/smtp.proxy
/opt/local/sbin/smtp.proxy.ccp.clamav
host_configuration
if [ ! -f /etc/xinetd.d/smtpproxy ]; then
  cat <<EOF > /etc/xinetd.d/smtpproxy
service smtpproxy
{
	disable		= no
	type		= UNLISTED
	port		= 24
	socket_type	= stream
	protocol	= tcp
	wait		= no
	user		= clamav
	server		= /opt/local/sbin/smtp.proxy
	server_args	= -c /opt/local/sbin/smtp.proxy.ccp.clamav mailhost.aihara.co.jp
	groups		= yes
	flags		= REUSE
	only_from	= 127.0.0.1
	only_from	+= 192.168.0.0/24 219.166.94.168/29
	only_from	+= 192.168.1.0/24 210.154.62.64/29
	only_from	+= 192.168.2.0/24
	only_from	+= 192.168.5.0/24
}
EOF
fi

util/lha-1.14i-ac20050924

preparation
curl -RO -C - http://prdownloads.sourceforge.jp/lha/16650/lha-1.14i-ac20050924.tar.gz
tar xvzf lha-1.14i-ac20050924.tar.gz
build
./configure --prefix=/opt/local 
make 
make check 
installed
/opt/local/bin/lha
/opt/local/man/mann/lha.n

av/a52dec-0.7.4

preparation
curl -RO -C - http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz
tar xvzf a52dec-0.7.4.tar.gz
(cd a52dec-0.7.4 && patch -p0 -b -z.org < ../a52dec-0.7.4-sakuya.patch)
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local --enable-shared 
make 
patch
--- ./libao/audio_out.c.org	2002-05-22 14:35:22.000000000 +0900
+++ ./libao/audio_out.c	2005-08-22 20:48:09.000000000 +0900
@@ -45,8 +45,10 @@
 extern ao_open_t ao_wavdolby_open;
 extern ao_open_t ao_aif_open;
 extern ao_open_t ao_aifdolby_open;
+extern ao_open_t ao_aifindiv_open;
 extern ao_open_t ao_peak_open;
 extern ao_open_t ao_peakdolby_open;
+extern ao_open_t ao_peakindiv_open;
 extern ao_open_t ao_null_open;
 extern ao_open_t ao_null4_open;
 extern ao_open_t ao_null6_open;
@@ -77,8 +79,10 @@
     {"wavdolby", ao_wavdolby_open},
     {"aif", ao_aif_open},
     {"aifdolby", ao_aifdolby_open},
+    {"aifindiv", ao_aifindiv_open},
     {"peak", ao_peak_open},
     {"peakdolby", ao_peakdolby_open},
+    {"peakindiv", ao_peakindiv_open},
     {"null", ao_null_open},
     {"null4", ao_null4_open},
     {"null6", ao_null6_open},
--- ./libao/audio_out_aif.c.org	2002-04-28 19:23:02.000000000 +0900
+++ ./libao/audio_out_aif.c	2005-08-22 22:03:38.000000000 +0900
@@ -40,6 +40,16 @@
     int size;
 } aif_instance_t;
 
+typedef struct indiv_instance_s {
+    ao_instance_t ao;
+    int sample_rate;
+    int set_params;
+    int flags;
+    int size;
+    int exist;
+    FILE * fp[6];
+} indiv_instance_t;
+
 static uint8_t aif_header[] = {
     'F', 'O', 'R', 'M', 0xff, 0xff, 0xff, 0xfe, 'A', 'I', 'F', 'F',
     'C', 'O', 'M', 'M', 0, 0, 0, 18,
@@ -47,6 +57,13 @@
     'S', 'S', 'N', 'D', 0xff, 0xff, 0xff, 0xd8, 0, 0, 0, 0, 0, 0, 0, 0
 };
 
+static uint8_t indiv_header[] = {
+    'F', 'O', 'R', 'M', 0xff, 0xff, 0xff, 0xfe, 'A', 'I', 'F', 'F',
+    'C', 'O', 'M', 'M', 0, 0, 0, 18,
+    0, 1, 0x7f, 0xff, 0xff, 0xe8, 0, 16, 0x40, 0x0e, -1, -1, 0, 0, 0, 0, 0, 0,
+    'S', 'S', 'N', 'D', 0xff, 0xff, 0xff, 0xd8, 0, 0, 0, 0, 0, 0, 0, 0
+};
+
 static int aif_setup (ao_instance_t * _instance, int sample_rate, int * flags,
 		      sample_t * level, sample_t * bias)
 {
@@ -77,7 +94,7 @@
     buf[1] = value;
 }
 
-static int aif_play (ao_instance_t * _instance, int flags, sample_t * _samples)
+/*static */int aif_play (ao_instance_t * _instance, int flags, sample_t * _samples)
 {
     aif_instance_t * instance = (aif_instance_t *) _instance;
     int16_t int16_samples[256*2];
@@ -107,6 +124,233 @@
     return 0;
 }
 
+int aif_lpcm (ao_instance_t * _instance, sample_t gain, uint8_t * samples, size_t size)
+{
+    aif_instance_t * instance = (aif_instance_t *) _instance;
+
+    if (instance->set_params) {
+	instance->set_params = 0;
+	store2 (aif_header + 30, instance->sample_rate);
+	fwrite (aif_header, sizeof (aif_header), 1, stdout);
+    }
+
+    if (gain) {
+	int16_t * p;
+	int16_t sample;
+	size_t i;
+	sample_t f;
+
+	p = (int16_t *) samples;
+	for (i = 0; i < size; i += 2) {
+	    f = (sample_t) *p * gain;
+	    if (f < 0) {
+		f -= 0.5;
+		if (f < -32768.) f = -32768.;
+	    } else {
+		f += 0.5;
+		if (f > 32767.) f = 32767.;
+	    }
+	    sample = f;
+	    fwrite (&sample, 2, 1, stdout);
+	    p++;
+	}
+    } else {
+	fwrite (samples, size, 1, stdout);
+    }
+
+    instance->size += size;
+    return 0;
+}
+
+
+static inline int16_t convert (int32_t i)
+{
+    if (i > 0x43c07fff)
+	return 32767;
+    else if (i < 0x43bf8000)
+	return -32768;
+    else
+	return i - 0x43c00000;
+}
+
+enum {
+    chLFE = 0x01,
+    chLf = 0x02,
+    chC = 0x04,
+    chRf = 0x08,
+    chLs = 0x10,
+    chRs = 0x20
+};
+
+static void float_to_int (float * _f, int16_t * s16, int flags, int * exist)
+{
+    int i;
+    int32_t * f = (int32_t *) _f;
+
+    switch (flags) {
+    case A52_MONO:
+        *exist |= chC;
+	for (i = 0; i < 256; i++) {
+	    s16[i] = s16[i+256] = 0;
+	    s16[i+512] = convert (f[i]);
+	    s16[i+768] = s16[i+1024] = s16[i+1280] = 0;
+	}
+	s16_BE (&s16[i+512], 1);
+	break;
+    case A52_CHANNEL:
+    case A52_STEREO:
+    case A52_DOLBY:
+        *exist |= chLf | chRf;
+	for (i = 0; i < 256; i++) {
+	    s16[i] = 0;
+	    s16[i+256] = convert (f[i]);
+	    s16[i+512] = 0;
+	    s16[i+768] = convert (f[i+256]);
+	    s16[i+1024] = s16[i+1280] = 0;
+	}
+	s16_BE (&s16[i+256], 1);
+	s16_BE (&s16[i+768], 1);
+	break;
+    case A52_3F:
+        *exist |= chLf | chC | chRf;
+	for (i = 0; i < 256; i++) {
+	    s16[i] = 0;
+	    s16[i+256] = convert (f[i]);
+	    s16[i+512] = convert (f[i+256]);
+	    s16[i+768] = convert (f[i+512]);
+	    s16[i+1024] = s16[i+1280] = 0;
+	}
+	s16_BE (&s16[i+256], 3);
+	break;
+    case A52_2F2R:
+        *exist |= chLf | chRf | chLs | chRs;
+        for (i = 0; i < 256; i++) {
+	    s16[i] = 0;
+	    s16[i+256] = convert (f[i]);
+	    s16[i+512] = 0;
+	    s16[i+768] = convert (f[i+256]);
+	    s16[i+1024] = convert (f[i+512]);
+	    s16[i+1280] = convert (f[i+768]);
+	}
+	s16_BE (&s16[i+256], 1);
+	s16_BE (&s16[i+768], 3);
+	break;
+    case A52_3F2R:
+        *exist |= chLf | chC | chRf | chLs | chRs;
+	for (i = 0; i < 256; i++) {
+	    s16[i] = 0;
+	    s16[i+256] = convert (f[i]);
+	    s16[i+512] = convert (f[i+256]);
+	    s16[i+768] = convert (f[i+512]);
+	    s16[i+1024] = convert (f[i+768]);
+	    s16[i+1280] = convert (f[i+1024]);
+	}
+	s16_BE (&s16[i+256], 5);
+	break;
+    case A52_MONO | A52_LFE:
+        *exist |= chLFE | chC;
+	for (i = 0; i < 256; i++) {
+	    s16[i] = convert (f[i]);
+	    s16[i+256] = 0;
+	    s16[i+512] = convert (f[i+256]);
+	    s16[i+768] = s16[i+1024] = s16[i+1280] = 0;
+	}
+	s16_BE (s16, 1);
+	s16_BE (&s16[i+512], 1);
+	break;
+    case A52_CHANNEL | A52_LFE:
+    case A52_STEREO | A52_LFE:
+    case A52_DOLBY | A52_LFE:
+        *exist |= chLFE | chLf | chRf;
+	for (i = 0; i < 256; i++) {
+	    s16[i] = convert (f[i]);
+	    s16[i+256] = convert (f[i+256]);
+	    s16[i+512] = 0;
+	    s16[i+768] = convert (f[i+512]);
+	    s16[i+1024] = s16[i+1280] = 0;
+	}
+	s16_BE (s16, 2);
+	s16_BE (&s16[i+768], 1);
+	break;
+    case A52_3F | A52_LFE:
+        *exist |= chLFE | chLf | chC | chRf;
+	for (i = 0; i < 256; i++) {
+	    s16[i] = convert (f[i]);
+	    s16[i+256] = convert (f[i+256]);
+	    s16[i+512] = convert (f[i+512]);
+	    s16[i+768] = convert (f[i+768]);
+	    s16[i+1024] = s16[i+1280] = 0;
+	}
+	s16_BE (s16, 4);
+	break;
+    case A52_2F2R | A52_LFE:
+        *exist |= chLFE | chLf | chRf | chLs | chRs;
+	for (i = 0; i < 256; i++) {
+	    s16[i] = convert (f[i]);
+	    s16[i+256] = convert (f[i+256]);
+	    s16[i+512] = 0;
+	    s16[i+768] = convert (f[i+512]);
+	    s16[i+1024] = convert (f[i+768]);
+	    s16[i+1280] = convert (f[i+1024]);
+	}
+	s16_BE (s16, 2);
+	s16_BE (&s16[i+768], 3);
+	break;
+    case A52_3F2R | A52_LFE:
+        *exist |= chLFE | chLf | chC | chRf | chLs | chRs;
+	for (i = 0; i < 256; i++) {
+	    s16[i] = convert (f[i]);
+	    s16[i+256] = convert (f[i+256]);
+	    s16[i+512] = convert (f[i+512]);
+	    s16[i+768] = convert (f[i+768]);
+	    s16[i+1024] = convert (f[i+1024]);
+	    s16[i+1280] = convert (f[i+1280]);
+	}
+	s16_BE (s16, 6);
+	break;
+    }
+}
+
+int indiv_play (ao_instance_t * _instance, int flags, sample_t * _samples)
+{
+    indiv_instance_t * instance = (indiv_instance_t *) _instance;
+    int16_t int16_samples[256*6];
+    int i;
+    FILE *fp;
+
+#ifdef LIBA52_DOUBLE
+    float samples[256 * 6];
+
+    for (i = 0; i < 256 * 6; i++)
+	samples[i] = _samples[i];
+#else
+    float * samples = _samples;
+#endif
+
+    flags &= A52_CHANNEL_MASK | A52_LFE;
+
+    if (instance->set_params) {
+	instance->set_params = 0;
+	store2 (indiv_header + 30, instance->sample_rate);
+	fp = instance->fp[0];
+	for (i = 0; i < 6; i++) {
+	    fwrite (indiv_header, sizeof (indiv_header), 1, fp);
+	    fp++;
+	}
+    }
+
+    float_to_int (samples, int16_samples, flags, &instance->exist);
+    fp = instance->fp[0];
+    for (i = 0; i < 6; i++) {
+        fwrite (&int16_samples[i*256], sizeof (int16_t) * 256, 1, fp);
+	fp++;
+    }
+
+    instance->size += 256 * sizeof (int16_t);
+
+    return 0;
+}
+
 static void aif_close (ao_instance_t * _instance)
 {
     aif_instance_t * instance = (aif_instance_t *) _instance;
@@ -149,3 +393,70 @@
 {
     return aif_open (A52_DOLBY);
 }
+
+void indiv_close (ao_instance_t * _instance)
+{
+    indiv_instance_t * instance = (indiv_instance_t *) _instance;
+    FILE *fp;
+    int i, j;
+    char str[15];
+
+    for (i = 0; i < 6; i++) {
+	fp = instance->fp[i];
+	if (fseek (fp, 0, SEEK_SET) < 0) {
+	    fclose (fp);
+	    continue;
+	}
+
+	store4 (indiv_header + 4, instance->size + 46);
+	store4 (indiv_header + 22, instance->size / 2);
+	store4 (indiv_header + 42, instance->size + 8);
+	fwrite (indiv_header, sizeof (indiv_header), 1, fp);
+	fclose (fp);
+    }
+
+    j = 1;
+    for (i = 0; i < 6; i++) {
+        if (!(instance->exist & j)) {
+            sprintf(str, "a52_out_%d.aiff", i);
+            remove(str);
+        }
+        j <<= 1;
+    }
+}
+
+ao_instance_t * ao_aifindiv_open (void)
+{
+    indiv_instance_t * instance;
+    int i, j;
+    char str[15];
+
+    instance = malloc (sizeof (indiv_instance_t));
+    if (instance == NULL)
+	return NULL;
+
+    instance->ao.setup = aif_setup;
+    instance->ao.play = indiv_play;
+    instance->ao.close = indiv_close;
+
+    instance->sample_rate = 0;
+    instance->set_params = 1;
+    instance->flags = A52_3F2R | A52_LFE;
+    instance->size = 0;
+    instance->exist = 0;
+
+    for (i = 0; i < 6; i++) {
+	sprintf(str, "a52_out_%d.aiff", i);
+	instance->fp[i] = fopen(str, "w+b");
+	if (!instance->fp[i]) {
+	    for (j = 0; j < i; j++) {
+		fclose(instance->fp[j]);
+	    }
+	    fprintf (stderr, "Can not open work file: %s\n", str);
+	    free (instance);
+	    return NULL;
+	}
+    }
+
+    return (ao_instance_t *) instance;
+}
--- ./libao/audio_out_peak.c.org	2002-05-22 14:35:22.000000000 +0900
+++ ./libao/audio_out_peak.c	2005-08-23 14:32:55.000000000 +0900
@@ -27,7 +27,7 @@
     return 0;
 }
 
-static int peak_play (ao_instance_t * _instance, int flags, sample_t * samples)
+/*static */int peak_play (ao_instance_t * _instance, int flags, sample_t * samples)
 {
     peak_instance_t * instance = (peak_instance_t *) _instance;
     int i;
@@ -40,6 +40,64 @@
     return 0;
 }
 
+/*static */int peak_lpcm (ao_instance_t * _instance, sample_t * samples, int size)
+{
+    peak_instance_t * instance = (peak_instance_t *) _instance;
+    sample_t * p;
+    sample_t sample;
+    int i;
+
+    p = samples;
+    for (i = 0; i < size; i += 2) {
+        sample = *p;
+	if (instance->peak < fabs(sample))
+	    instance->peak = fabs(sample);
+	p++;
+    }
+
+    return 0;
+}
+
+#define compare256(p) do {\
+    int i;\
+    sample_t * samples = p;\
+    for (i = 0; i < 256; i++)\
+        if (instance->peak < fabs(samples[i]))\
+            instance->peak = fabs(samples[i]);\
+} while (0)
+
+/*static */int peakindiv_play (ao_instance_t * _instance, int flags, sample_t * samples)
+{
+    peak_instance_t * instance = (peak_instance_t *) _instance;
+
+    flags &= A52_CHANNEL_MASK | A52_LFE;
+
+    switch (flags) {    /* don't break */
+    case A52_3F2R | A52_LFE:
+      compare256 (&samples[1280]);
+    case A52_3F2R:
+    case A52_2F2R | A52_LFE:
+        compare256 (&samples[1024]);
+    case A52_2F2R:
+    case A52_3F | A52_LFE:
+        compare256 (&samples[768]);
+    case A52_3F:
+    case A52_CHANNEL | A52_LFE:
+    case A52_STEREO | A52_LFE:
+    case A52_DOLBY | A52_LFE:
+        compare256 (&samples[512]);
+    case A52_CHANNEL:
+    case A52_STEREO:
+    case A52_DOLBY:
+    case A52_MONO | A52_LFE:
+        compare256 (&samples[256]);
+    case A52_MONO:
+        compare256 (samples);
+    }
+
+    return 0;
+}
+
 static void peak_close (ao_instance_t * _instance)
 {
     peak_instance_t * instance = (peak_instance_t *) _instance;
@@ -74,3 +132,16 @@
 {
     return peak_open (A52_DOLBY);
 }
+
+ao_instance_t * ao_peakindiv_open (void)
+{
+    peak_instance_t * instance;
+
+    instance = (peak_instance_t *) peak_open(A52_3F2R | A52_LFE);
+    if (instance == NULL)
+	return NULL;
+
+    instance->ao.play = peakindiv_play;
+
+    return (ao_instance_t *) instance;
+}
--- ./src/a52dec.c.org	2002-06-28 12:11:49.000000000 +0900
+++ ./src/a52dec.c	2005-08-22 22:11:02.000000000 +0900
@@ -261,7 +261,7 @@
 
 		length = a52_syncinfo (buf, &flags, &sample_rate, &bit_rate);
 		if (!length) {
-		    fprintf (stderr, "skip\n");
+		    fprintf (stderr, "skip\r");
 		    for (bufptr = buf; bufptr < buf + 6; bufptr++)
 			bufptr[0] = bufptr[1];
 		    continue;
@@ -299,6 +299,19 @@
     }
 }
 
+int aif_play (ao_instance_t * _instance, int flags, sample_t * _samples);
+int aif_lpcm (ao_instance_t * _instance, sample_t gain, uint8_t * samples, size_t size);
+int peak_play (ao_instance_t * _instance, int flags, sample_t * _samples);
+int peak_lpcm (ao_instance_t * _instance, uint8_t * samples, size_t size);
+
+void decode_lpcm (uint8_t * samples, size_t size)
+{
+    if (output->play == aif_play)
+	aif_lpcm (output, gain, samples, size);
+    else if (output->play == peak_play)
+	peak_lpcm (output, samples, size);
+}
+
 #define DEMUX_PAYLOAD_START 1
 static int demux (uint8_t * buf, uint8_t * end, int flags)
 {
@@ -325,6 +338,7 @@
 #define DEMUX_HEADER 0
 #define DEMUX_DATA 1
 #define DEMUX_SKIP 2
+#define DEMUX_LPCM 3
     static int state = DEMUX_SKIP;
     static int state_bytes = 0;
     static uint8_t head_buf[268];
@@ -390,6 +404,16 @@
 	}
 	buf += state_bytes;
 	break;
+    case DEMUX_LPCM:
+	if (demux_pid || (state_bytes > end - buf)) {
+	    decode_lpcm (buf, end - buf);
+	    state_bytes -= end - buf;
+	    return 0;
+	}
+	decode_lpcm (buf, state_bytes);
+	buf += state_bytes;
+	print_fps (0);
+	break;
     }
 
     while (1) {
@@ -468,11 +492,44 @@
 		/* header points to the mpeg1 pes header */
 	    }
 	    if ((!demux_pid) && ((header-1)[len] != demux_track)) {
-		DONEBYTES (len);
-		bytes = 6 + (header[4] << 8) + header[5] - len;
-		if (bytes <= 0)
-		    continue;
-		goto skip;
+		if ((header-1)[len] == (demux_track | 0x20)) {
+		    len += 6;
+		    NEEDBYTES (len);
+
+		    if ((output->play == aif_play || output->play == peak_play)
+		      && (header[len - 2] & 0xf0) <= 0x10
+		      && (header[len - 2] & 0x07) == 0x01
+		      && header[len - 1] == 0x80) {
+			int sample_rate;
+			sample_t level, bias;
+
+			if (header[len - 2] & 0x10) sample_rate = 96000;
+			else sample_rate = 48000;
+			if (!ao_setup (output, sample_rate, &flags, &level, &bias)) {
+			    DONEBYTES (len);
+			    bytes = 6 + (header[4] << 8) + header[5] - len;
+			    if (bytes > end - buf) {
+				decode_lpcm (buf, end - buf);
+				state = DEMUX_LPCM;
+				state_bytes = bytes - (end - buf);
+				return 0;
+			    } else if (bytes <= 0)
+				continue;
+			    decode_lpcm (buf, bytes);
+			    buf += bytes;
+			    print_fps (0);
+			    break;
+			}
+		    }
+		    goto next;
+		} else {
+		next:
+		    DONEBYTES (len);
+		    bytes = 6 + (header[4] << 8) + header[5] - len;
+		    if (bytes <= 0)
+			continue;
+		    goto skip;
+		}
 	    }
 	    len += 3;
 	    NEEDBYTES (len);
installed
/opt/local/bin/a52dec
/opt/local/bin/extract_a52
/opt/local/include/a52dec/a52.h
/opt/local/include/a52dec/attributes.h
/opt/local/include/a52dec/audio_out.h
/opt/local/include/a52dec/mm_accel.h
/opt/local/lib/liba52.0.0.0.dylib
/opt/local/lib/liba52.0.dylib
/opt/local/lib/liba52.a
/opt/local/lib/liba52.dylib
/opt/local/lib/liba52.la
/opt/local/man/man1/a52dec.1
/opt/local/man/man1/extract_a52.1

av/dvdauthor-0.6.12-alpha-2992

preparation
curl -RO -C - http://dvdauthor.sourceforge.net/alpha/dvdauthor-0.6.12-alpha-2992.tar.gz
tar xvzf dvdauthor-0.6.12-alpha-2992.tar.gz
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/dvdauthor
/opt/local/bin/dvddirdel
/opt/local/bin/dvdunauthor
/opt/local/bin/mpeg2desc
/opt/local/bin/spumux
/opt/local/bin/spuunmux
/opt/local/man/man1/dvdauthor.1
/opt/local/man/man1/spumux.1
/opt/local/share/dvdauthor/dvdauthor.xsd
/opt/local/share/dvdauthor/spumux.xsd

av/dvdbackup-0.1.1

preparation
curl -RO -C - http://dvd-create.sourceforge.net/dvdbackup-0.1.1.tar.gz
curl -RO -C - http://ftp.debian.org/debian/pool/main/d/dvdbackup/dvdbackup_0.1.1-3.diff.gz
tar xvzf dvdbackup-0.1.1.tar.gz
mv dvdbackup dvdbackup-0.1.1
(cd dvdbackup-0.1.1 && gzcat ../dvdbackup_0.1.1-3.diff.gz | patch -p1)
(cd dvdbackup-0.1.1 && patch -p0 -b -z.org < ../dvdbackup-0.1.1-sakuya.patch)
build
gcc -O -I/opt/local/include -L/opt/local/lib -o dvdbackup -ldvdread src/dvdbackup.c 
patch
diff -uN -r --exclude=Makefile --exclude='*.exe' --exclude='*.o' --exclude='*.a' --exclude='*~' --exclude='*.org' --exclude='*.orig' --exclude='*.bak' --exclude='*.rej' --exclude=config.cache --exclude=config.status --exclude=config.h --exclude='*.log' --exclude=CVS --exclude=.cvsignore ../dvdbackup-0.1.1.org/src/dvdbackup.c ./src/dvdbackup.c
--- ../dvdbackup-0.1.1.org/src/dvdbackup.c	2005-08-24 12:07:52.000000000 +0900
+++ ./src/dvdbackup.c	2005-08-24 12:13:35.000000000 +0900
@@ -1985,6 +1985,13 @@
 
 	vts_title = titles_info->titles[titles - 1].vts_title;
 
+	if (start_chapter > titles_info->titles[titles - 1].chapters &&
+	    end_chapter > titles_info->titles[titles - 1].chapters) {
+		fprintf(stderr, "Overflowed the start_chapter; only %d chapters in %d title\n", start_chapter,titles);
+		fprintf(stderr, "Overflowed the end_chapter; only %d chapters in %d title\n", end_chapter,titles);
+		return(1);
+	}
+
 	if (end_chapter > titles_info->titles[titles - 1].chapters) {
 		end_chapter = titles_info->titles[titles - 1].chapters;
 		fprintf(stderr, "Truncated the end_chapter; only %d chapters in %d title\n", end_chapter,titles);
@@ -1992,7 +1999,7 @@
 
 	if (start_chapter > titles_info->titles[titles - 1].chapters) {
 		start_chapter = titles_info->titles[titles - 1].chapters;
-		fprintf(stderr, "Truncated the end_chapter; only %d chapters in %d title\n", end_chapter,titles);
+		fprintf(stderr, "Truncated the start_chapter; only %d chapters in %d title\n", start_chapter,titles);
 	}
 
 
installation
cp dvdbackup /opt/local/bin 
installed
/opt/local/bin/dvdbackup

av/faac-20051101

preparation
if [ ! -f faac-20051101.tar.bz2 ]; then
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/faac login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/faac co faac
(cd faac && tar cf - .) | (mkdir faac-20051101 && cd faac-20051101 && tar xvf -)
tar cvjf faac-20051101.tar.bz2 faac-20051101
else
tar xvjf faac-20051101.tar.bz2
fi
build
sh bootstrap 
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/faac
/opt/local/include/faac.h
/opt/local/include/faaccfg.h
/opt/local/include/mp4.h
/opt/local/include/mpeg4ip.h
/opt/local/include/mpeg4ip_config.h
/opt/local/include/mpeg4ip_version.h
/opt/local/lib/libfaac.0.0.0.dylib
/opt/local/lib/libfaac.0.dylib
/opt/local/lib/libfaac.a
/opt/local/lib/libfaac.dylib
/opt/local/lib/libfaac.la
/opt/local/lib/libmp4v2.0.0.0.dylib
/opt/local/lib/libmp4v2.0.dylib
/opt/local/lib/libmp4v2.a
/opt/local/lib/libmp4v2.dylib
/opt/local/lib/libmp4v2.la

av/faad2-15092004

preparation
curl -RO -C - http://www.audiocoding.com/snapshot/faad2-15092004.tar.gz
mkdir faad2-15092004 && (cd faad2-15092004 && tar xvzf ../faad2-15092004.tar.gz)
(cd faad2-15092004 && patch -p0 < ../faad2-15092004-sakuya.patch)
build
sh bootstrap 
./configure --prefix=/opt/local 
make 
patch
--- ./common/mp4ff/mp4ffint.h~	2004-04-13 03:17:42.000000000 +0900
+++ ./common/mp4ff/mp4ffint.h	2005-08-26 05:56:23.000000000 +0900
@@ -345,7 +345,7 @@
 mp4ff_t *mp4ff_open_edit(mp4ff_callback_t *f);
 #endif
 void mp4ff_close(mp4ff_t *ff);
-void mp4ff_track_add(mp4ff_t *f);
+static void mp4ff_track_add(mp4ff_t *f);
 int32_t parse_sub_atoms(mp4ff_t *f, const uint64_t total_size,int meta_only);
 int32_t parse_atoms(mp4ff_t *f,int meta_only);
 
@@ -370,4 +370,4 @@
 }
 #endif /* __cplusplus */
 
-#endif
\ No newline at end of file
+#endif
installed
/opt/local/bin/faad
/opt/local/include/faad.h
/opt/local/include/neaacdec.h
/opt/local/lib/libfaad.0.0.0.dylib
/opt/local/lib/libfaad.0.dylib
/opt/local/lib/libfaad.a
/opt/local/lib/libfaad.dylib
/opt/local/lib/libfaad.la

av/gpac/gpac-0.4.0-rc2

preparation
curl -RO -C - http://kent.dl.sourceforge.net/sourceforge/gpac/gpac-0.4.0-rc2.tar.gz
tar xvzf gpac-0.4.0-rc2.tar.gz && mv gpac gpac-0.4.0-rc2
(cd gpac-0.4.0-rc2
patch -p0 -b -z.org < ../gpac-0.4.0-rc2-sakuya.patch
mv INSTALL INSTALL.txt
)
build
#sh configure --prefix=/opt/local '--cc=cc -I/opt/local/include/ffmpeg -I/opt/local/include -L/opt/local/lib' '--extra-cflags=-I/opt/local/include/ffmpeg -I/opt/local/include' --extra-ldflags=-L/opt/local/lib --use-js=no --use-jpeg=system --use-png=system --use-faad=system --use-mad=system --use-ffmpeg=system 
sh configure --prefix=/opt/local --extra-cflags=-I/opt/local/include/ffmpeg --use-js=no --use-jpeg=system --use-png=system --use-faad=system --use-mad=system --use-ffmpeg=system 
make
patch
--- ./applications/Makefile.org	2005-07-19 02:02:14.000000000 +0900
+++ ./applications/Makefile	2005-10-27 00:51:03.000000000 +0900
@@ -1,8 +1,13 @@
 include ../config.mak
 
-APPDIRS=mp4box mp4client mp42avi generators osmozilla
+APPDIRS=mp4box mp4client mp42avi generators
 V4STUDIODIR=
-INSTDIRS=mp4client osmozilla
+INSTDIRS=mp4client
+
+ifneq ($(CONFIG_JS), no)
+APPDIRS+=osmozilla
+INSTDIRS+osmozilla
+endif
 
 ifeq ($(USE_WXWIDGETS), yes)
 APPDIRS+=osmo4_wx
--- ./configure.org	2005-08-03 18:55:39.000000000 +0900
+++ ./configure	2005-10-27 00:15:02.000000000 +0900
@@ -220,11 +220,7 @@
 
 Darwin)
 js_flags=-DXP_MAC
-if test -d /sw/bin ; then
- alt_macosx_dir="/sw"
- CFLAGS="-I/sw/include"
- LDFLAGS="-L/sw/lib"
-elif test -d /opt/local/bin ; then
+if test -d /opt/local/bin ; then
  alt_macosx_dir="/opt/local"
  CFLAGS="-I/opt/local/include"
  LDFLAGS="-L/opt/local/lib"
@@ -652,15 +648,15 @@
   ;;
   --use-ft=*) has_ft=${opt#--use-ft=}
   ;;
-  --use-mad=*) has_mad==${opt#--use-mad=}
+  --use-mad=*) has_mad=${opt#--use-mad=}
   ;;
-  --use-xvid=*) has_xvid==${opt#--use-xvid=}
+  --use-xvid=*) has_xvid=${opt#--use-xvid=}
   ;;
-  --use-jpeg=*) has_jpeg==${opt#--use-jpeg=}
+  --use-jpeg=*) has_jpeg=${opt#--use-jpeg=}
   ;;
-  --use-ffmpeg=*) has_ffmpeg==${opt#--use-ffmpeg=}
+  --use-ffmpeg=*) has_ffmpeg=${opt#--use-ffmpeg=}
   ;;
-  --use-png=*) has_png==${opt#--use-png=}
+  --use-png=*) has_png=${opt#--use-png=}
   ;;
   esac
 done
installation
make install install-lib 
installed
/opt/local/bin/MP42Avi
/opt/local/bin/MP4Box
/opt/local/bin/MP4Client
/opt/local/include/gpac/avparse.h
/opt/local/include/gpac/base_coding.h
/opt/local/include/gpac/bifs.h
/opt/local/include/gpac/bifsengine.h
/opt/local/include/gpac/bitstream.h
/opt/local/include/gpac/config.h
/opt/local/include/gpac/constants.h
/opt/local/include/gpac/crypt.h
/opt/local/include/gpac/download.h
/opt/local/include/gpac/ietf.h
/opt/local/include/gpac/internal/avilib.h
/opt/local/include/gpac/internal/bifs_dev.h
/opt/local/include/gpac/internal/bifs_tables.h
/opt/local/include/gpac/internal/crypt_dev.h
/opt/local/include/gpac/internal/ietf_dev.h
/opt/local/include/gpac/internal/isomedia_dev.h
/opt/local/include/gpac/internal/media_dev.h
/opt/local/include/gpac/internal/odf_dev.h
/opt/local/include/gpac/internal/ogg.h
/opt/local/include/gpac/internal/renderer_dev.h
/opt/local/include/gpac/internal/scenegraph_dev.h
/opt/local/include/gpac/internal/swf_dev.h
/opt/local/include/gpac/internal/terminal_dev.h
/opt/local/include/gpac/ismacryp.h
/opt/local/include/gpac/isomedia.h
/opt/local/include/gpac/list.h
/opt/local/include/gpac/math.h
/opt/local/include/gpac/media_tools.h
/opt/local/include/gpac/mediaobject.h
/opt/local/include/gpac/module.h
/opt/local/include/gpac/modules/audio_out.h
/opt/local/include/gpac/modules/codec.h
/opt/local/include/gpac/modules/font.h
/opt/local/include/gpac/modules/raster2d.h
/opt/local/include/gpac/modules/service.h
/opt/local/include/gpac/modules/video_out.h
/opt/local/include/gpac/mpeg4_odf.h
/opt/local/include/gpac/network.h
/opt/local/include/gpac/nodes_mpeg4.h
/opt/local/include/gpac/nodes_svg.h
/opt/local/include/gpac/nodes_x3d.h
/opt/local/include/gpac/options.h
/opt/local/include/gpac/path2d.h
/opt/local/include/gpac/renderer.h
/opt/local/include/gpac/scene_manager.h
/opt/local/include/gpac/scenegraph.h
/opt/local/include/gpac/scenegraph_svg.h
/opt/local/include/gpac/scenegraph_vrml.h
/opt/local/include/gpac/setup.h
/opt/local/include/gpac/terminal.h
/opt/local/include/gpac/thread.h
/opt/local/include/gpac/token.h
/opt/local/include/gpac/tools.h
/opt/local/include/gpac/user.h
/opt/local/include/gpac/utf.h
/opt/local/include/gpac/xml.h
/opt/local/include/gpac/yuv.h
/opt/local/lib/gpac/aac_in.dylib
/opt/local/lib/gpac/bifs_dec.dylib
/opt/local/lib/gpac/ctx_load.dylib
/opt/local/lib/gpac/dummy_in.dylib
:

av/libdv-0.104

preparation
curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/libdv/libdv-0.104.tar.gz
tar xvzf libdv-0.104.tar.gz
build
env 'CPPFLAGS=-I/opt/local/include -Dsched_setscheduler=pthread_setschedparam' LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local --disable-gtk 
make 
installed
/opt/local/bin/dubdv
/opt/local/bin/dvconnect
/opt/local/bin/encodedv
/opt/local/include/libdv/dv.h
/opt/local/include/libdv/dv_types.h
/opt/local/lib/libdv.4.0.2.dylib
/opt/local/lib/libdv.4.dylib
/opt/local/lib/libdv.a
/opt/local/lib/libdv.dylib
/opt/local/lib/libdv.la
/opt/local/lib/pkgconfig/libdv.pc
/opt/local/man/man1/dubdv.1
/opt/local/man/man1/dvconnect.1
/opt/local/man/man1/encodedv.1

av/libsndfile-1.0.11

preparation
curl -RO -C - http://www.mega-nerd.com/libsndfile/libsndfile-1.0.11.tar.gz
tar xvzf libsndfile-1.0.11.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/sndfile-convert
/opt/local/bin/sndfile-info
/opt/local/bin/sndfile-play
/opt/local/include/sndfile.h
/opt/local/lib/libsndfile.1.0.11.dylib
/opt/local/lib/libsndfile.1.dylib
/opt/local/lib/libsndfile.a
/opt/local/lib/libsndfile.dylib
/opt/local/lib/libsndfile.la
/opt/local/lib/pkgconfig/sndfile.pc
/opt/local/man/man1/sndfile-convert.1
/opt/local/man/man1/sndfile-info.1
/opt/local/man/man1/sndfile-play.1
/opt/local/share/doc/libsndfile1-dev/html/api.html
/opt/local/share/doc/libsndfile1-dev/html/bugs.html
/opt/local/share/doc/libsndfile1-dev/html/command.html
/opt/local/share/doc/libsndfile1-dev/html/dither.html
/opt/local/share/doc/libsndfile1-dev/html/embedded_files.html
/opt/local/share/doc/libsndfile1-dev/html/FAQ.html
/opt/local/share/doc/libsndfile1-dev/html/index.html
/opt/local/share/doc/libsndfile1-dev/html/libsndfile.css
/opt/local/share/doc/libsndfile1-dev/html/libsndfile.jpg
/opt/local/share/doc/libsndfile1-dev/html/lists.html
/opt/local/share/doc/libsndfile1-dev/html/new_file_type.HOWTO
/opt/local/share/doc/libsndfile1-dev/html/octave.html
/opt/local/share/doc/libsndfile1-dev/html/pkgconfig.html
/opt/local/share/doc/libsndfile1-dev/html/sndfile_info.html
/opt/local/share/doc/libsndfile1-dev/html/win32.html
/opt/local/share/octave/site/m/sndfile_load.m
/opt/local/share/octave/site/m/sndfile_play.m
/opt/local/share/octave/site/m/sndfile_save.m

av/players/mad/libid3tag-0.15.1b

preparation
curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/mad/libid3tag-0.15.1b.tar.gz
tar xvzf libid3tag-0.15.1b.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/include/id3tag.h
/opt/local/lib/libid3tag.0.3.0.dylib
/opt/local/lib/libid3tag.0.dylib
/opt/local/lib/libid3tag.a
/opt/local/lib/libid3tag.dylib
/opt/local/lib/libid3tag.la

av/players/mad/libmad-0.15.1b

preparation
curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/mad/libmad-0.15.1b.tar.gz
tar xvzf libmad-0.15.1b.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/include/mad.h
/opt/local/lib/libmad.0.2.1.dylib
/opt/local/lib/libmad.0.dylib
/opt/local/lib/libmad.a
/opt/local/lib/libmad.dylib
/opt/local/lib/libmad.la

av/players/mad/madplay-0.15.2b

preparation
curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/mad/madplay-0.15.2b.tar.gz
tar xvzf madplay-0.15.2b.tar.gz
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local --disable-nls 
make 
patch
--- ./audio_carbon.c~	2004-01-23 18:41:31.000000000 +0900
+++ ./audio_carbon.c	2005-08-25 20:35:37.000000000 +0900
@@ -42,6 +42,8 @@
 # define NBUFFERS	16
 # define NQUEUESAMPLES	1152
 
+# define wait wait_me
+
 static struct buffer {
   ExtSoundHeader header;
   MPSemaphoreID semaphore;
installed
/opt/local/bin/abxtest
/opt/local/bin/madplay
/opt/local/man/man1/abxtest.1
/opt/local/man/man1/madplay.1

av/players/mpg123/libao-0.8.6

preparation
curl -RO -C - http://downloads.xiph.org/releases/ao/libao-0.8.6.tar.gz
tar xvzf libao-0.8.6.tar.gz
(cd libao-0.8.6; patch -p0 < libao-0.8.6-sakuya.patch)
build
./configure --prefix=/opt/local 
make 
patch
diff -uN -r --exclude=Makefile --exclude='*.exe' --exclude='*.o' --exclude='*.a' --exclude='*~' --exclude='*.org' --exclude='*.orig' --exclude='*.bak' --exclude='*.rej' --exclude=config.cache --exclude=config.status --exclude=config.h --exclude='*.log' --exclude=CVS --exclude=.cvsignore --exclude='*.Plo' --exclude=libtool ../libao-0.8.6.org/configure ./configure
--- ../libao-0.8.6.org/configure	2005-01-12 07:08:26.000000000 +0900
+++ ./configure	2005-08-26 04:26:02.000000000 +0900
@@ -19121,9 +19121,10 @@
                 PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char -mv8" ;;
         *-darwin*)
                 PLUGIN_LDFLAGS="-module -avoid-version"
-                DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char -Ddlsym=dlsym_auto_underscore"
-                CFLAGS="-D__NO_MATH_INLINES -fsigned-char -Ddlsym=dlsym_auto_underscore"
-                PROFILE="-g -pg -D__NO_MATH_INLINES -fsigned-char -Ddlsym=dlsym_auto_underscore" ;;
+                DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
+                CFLAGS="-D__NO_MATH_INLINES -fsigned-char"
+                LIBS="-Wl,-framework -Wl,CoreAudio"
+                PROFILE="-g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
         *)
                 PLUGIN_LDFLAGS="-export-dynamic -avoid-version"
                 DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
@@ -19223,7 +19224,7 @@
 	DLOPEN_FLAG='(RTLD_LAZY)'
 	SHARED_LIB_EXT='.sl'
 	;;
-    *openbsd* | *netbsd* | *solaris2.7)
+    *darwin* | *openbsd* | *netbsd* | *solaris2.7)
 	DLOPEN_FLAG='(RTLD_LAZY)'
 	SHARED_LIB_EXT='.so'
 	;;
diff -uN -r --exclude=Makefile --exclude='*.exe' --exclude='*.o' --exclude='*.a' --exclude='*~' --exclude='*.org' --exclude='*.orig' --exclude='*.bak' --exclude='*.rej' --exclude=config.cache --exclude=config.status --exclude=config.h --exclude='*.log' --exclude=CVS --exclude=.cvsignore --exclude='*.Plo' --exclude=libtool ../libao-0.8.6.org/src/plugins/macosx/ao_macosx.c ./src/plugins/macosx/ao_macosx.c
--- ../libao-0.8.6.org/src/plugins/macosx/ao_macosx.c	2004-11-09 17:20:26.000000000 +0900
+++ ./src/plugins/macosx/ao_macosx.c	2005-08-26 04:26:02.000000000 +0900
@@ -173,6 +173,26 @@
 	return 0;
     }
 
+	if (internal->outputStreamBasicDescription.mChannelsPerFrame != format->channels)
+	{
+		internal->outputStreamBasicDescription.mChannelsPerFrame = format->channels;
+		internal->outputStreamBasicDescription.mBytesPerFrame =
+			internal->outputStreamBasicDescription.mChannelsPerFrame * sizeof (float);
+		internal->outputStreamBasicDescription.mBytesPerPacket =
+			internal->outputStreamBasicDescription.mBytesPerFrame *
+			internal->outputStreamBasicDescription.mFramesPerPacket;
+		status = AudioDeviceSetProperty(internal->outputDeviceID, 0, 0, 0,
+			kAudioDevicePropertyStreamFormat,
+			sizeof (internal->outputStreamBasicDescription),
+			&internal->outputStreamBasicDescription);
+		if (status != noErr)
+		{
+			fprintf(stderr, "ao_macosx_open: AudioDeviceSetProperty returned %.*s when setting kAudioDevicePropertyStreamFormat\n",
+				(int) sizeof (status), (char *) &status);
+			return 0;
+		}
+	}
+
     fprintf(stderr, "hardware format...\n");
     fprintf(stderr, "%f mSampleRate\n", internal->outputStreamBasicDescription.mSampleRate);
     fprintf(stderr, "%c%c%c%c mFormatID\n", (int)(internal->outputStreamBasicDescription.mFormatID & 0xff000000) >> 24,
installed
/opt/local/include/ao/ao.h
/opt/local/include/ao/os_types.h
/opt/local/include/ao/plugin.h
/opt/local/lib/ao/plugins-2/libmacosx.la
/opt/local/lib/ao/plugins-2/libmacosx.so
/opt/local/lib/libao.2.1.3.dylib
/opt/local/lib/libao.2.dylib
/opt/local/lib/libao.dylib
/opt/local/lib/libao.la
/opt/local/lib/pkgconfig/ao.pc
/opt/local/man/man5/libao.conf.5
/opt/local/share/aclocal/ao.m4
/opt/local/share/doc/libao-0.8.6/ao_append_option.html
/opt/local/share/doc/libao-0.8.6/ao_close.html
/opt/local/share/doc/libao-0.8.6/ao_default_driver_id.html
/opt/local/share/doc/libao-0.8.6/ao_device.html
/opt/local/share/doc/libao-0.8.6/ao_driver_id.html
/opt/local/share/doc/libao-0.8.6/ao_driver_info.html
/opt/local/share/doc/libao-0.8.6/ao_driver_info_list.html
/opt/local/share/doc/libao-0.8.6/ao_example.c
/opt/local/share/doc/libao-0.8.6/ao_file_extension.html
/opt/local/share/doc/libao-0.8.6/ao_free_options.html
/opt/local/share/doc/libao-0.8.6/ao_info.html
/opt/local/share/doc/libao-0.8.6/ao_initialize.html
/opt/local/share/doc/libao-0.8.6/ao_is_big_endian.html
/opt/local/share/doc/libao-0.8.6/ao_open_file.html
/opt/local/share/doc/libao-0.8.6/ao_open_live.html
/opt/local/share/doc/libao-0.8.6/ao_option.html
/opt/local/share/doc/libao-0.8.6/ao_play.html
/opt/local/share/doc/libao-0.8.6/ao_plugin_close.html
/opt/local/share/doc/libao-0.8.6/ao_plugin_device_clear.html
/opt/local/share/doc/libao-0.8.6/ao_plugin_device_init.html
/opt/local/share/doc/libao-0.8.6/ao_plugin_driver_info.html
/opt/local/share/doc/libao-0.8.6/ao_plugin_file_extension.html
/opt/local/share/doc/libao-0.8.6/ao_plugin_open.html
/opt/local/share/doc/libao-0.8.6/ao_plugin_play.html
/opt/local/share/doc/libao-0.8.6/ao_plugin_set_option.html
/opt/local/share/doc/libao-0.8.6/ao_plugin_test.html
/opt/local/share/doc/libao-0.8.6/ao_sample_format.html
/opt/local/share/doc/libao-0.8.6/ao_shutdown.html
/opt/local/share/doc/libao-0.8.6/config.html
/opt/local/share/doc/libao-0.8.6/drivers.html
/opt/local/share/doc/libao-0.8.6/index.html
/opt/local/share/doc/libao-0.8.6/libao-api.html
/opt/local/share/doc/libao-0.8.6/overview.html
/opt/local/share/doc/libao-0.8.6/plugin-api.html
/opt/local/share/doc/libao-0.8.6/plugin-overview.html
/opt/local/share/doc/libao-0.8.6/style.css

av/players/mpg123/mpg321-0.2.10

preparation
curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/mpg321/mpg321-0.2.10.tar.gz
tar xvzf mpg321-0.2.10.tar.gz
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/mpg123
/opt/local/bin/mpg321
/opt/local/man/man1/mpg321.1

av/players/mplayer/MPlayer-20051027

preparation
if [ ! -f MPlayer-20051027.tar.bz2 ]; then
cvs -d:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer login
cvs -z3 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer co -P main
(cd main && tar cf - .) | (mkdir MPlayer-20051027 && cd MPlayer-20051027 && tar xvf -)
tar cvjf MPlayer-20051027.tar.bz2 MPlayer-20051027
else
tar xvjf MPlayer-20051027.tar.bz2
fi
sh ffmpeg-20051027-sakuya-prepare.sh
(cd MPlayer-20051027
(cd ../ffmpeg-20051027 && tar cf - libavutil libavcodec libavformat) | tar xvf -
patch -p0 -b -z.org < ../MPlayer-20051027-sakuya.patch
)
build
./configure --prefix=/opt/local --with-extraincdir=/opt/local/include/ffmpeg:/opt/local/include --with-extralibdir=/opt/local/lib --enable-libavcodec --enable-libavformat --enable-libdts --disable-internal-faad 
make 
patch
--- ./configure.org	2005-10-26 01:48:33.000000000 +0900
+++ ./configure	2005-10-26 10:54:57.000000000 +0900
@@ -6147,7 +6147,7 @@
 #endif
 int main(void) { x264_encoder_open((void*)0); return 0; }
 EOF
-_ld_x264="$_ld_x264 -lx264 $_ld_pthread"
+_ld_x264="$_ld_x264 -lx264 -L/usr/X11R6/lib -lX11 $_ld_pthread"
 if test "$_x264" != no && \
 ( cc_check $_inc_x264 $_ld_x264 $_ld_lm || \
 ( test "$_x11" = yes && cc_check $_inc_x264 $_inc_x11 $_ld_x264 $_ld_x11 $_ld_lm )) ; \
installed
/opt/local/bin/mencoder
/opt/local/bin/mplayer
/opt/local/man/man1/mencoder.1
/opt/local/man/man1/mplayer.1

av/players/mplayer/ffmpeg-20051027

preparation
if [ ! -f ffmpeg-20051027.tar.bz2 ]; then
cvs -z9 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co ffmpeg
(cd ffmpeg && tar cf - .) | (mkdir ffmpeg-20051027 && cd ffmpeg-20051027 && tar xvf -)
tar cvjf ffmpeg-20051027.tar.bz2 ffmpeg-20051027
else
tar xvjf ffmpeg-20051027.tar.bz2
fi
(cd ffmpeg-20051027 && patch -p0 -b -z.org < ../ffmpeg-20051027-sakuya.patch)
build
#./configure --prefix=/opt/local --extra-cflags=-I/opt/local/include --extra-ldflags=-L/opt/local/lib --powerpc-perf-enable --enable-faad --enable-faac --enable-x264 --enable-a52 --enable-dts --enable-shared --enable-pthreads --enable-gpl 
#./configure --prefix=/opt/local --extra-cflags=-I/opt/local/include --extra-ldflags=-L/opt/local/lib --powerpc-perf-enable --enable-faad --enable-faac --enable-x264 --enable-a52 --enable-dts --enable-pthreads --enable-gpl 
./configure --prefix=/opt/local --extra-cflags=-I/opt/local/include --extra-ldflags=-L/opt/local/lib --powerpc-perf-enable --enable-faad --enable-faac --enable-x264 --enable-a52 --enable-dts --enable-shared --enable-pthreads --enable-gpl 
make 
patch
--- ./configure.org	2005-10-23 04:17:39.000000000 +0900
+++ ./configure	2005-10-25 22:52:07.000000000 +0900
@@ -522,7 +522,7 @@
     extralibs="$extralibs -lxvidcore"
   ;;
   --enable-x264) x264="yes"
-    extralibs="$extralibs -lx264"
+    extralibs="$extralibs -lx264 -L/usr/X11R6/lib -lX11"
   ;;
   --enable-dc1394) dc1394="yes"
     extralibs="$extralibs -ldc1394_control -lraw1394"
installation
make install installlib 
installed
/opt/local/bin/ffmpeg
/opt/local/include/ffmpeg/avcodec.h
/opt/local/include/ffmpeg/avformat.h
/opt/local/include/ffmpeg/avio.h
/opt/local/include/ffmpeg/avutil.h
/opt/local/include/ffmpeg/common.h
/opt/local/include/ffmpeg/integer.h
/opt/local/include/ffmpeg/intfloat_readwrite.h
/opt/local/include/ffmpeg/mathematics.h
/opt/local/include/ffmpeg/rational.h
/opt/local/include/ffmpeg/rtp.h
/opt/local/include/ffmpeg/rtsp.h
/opt/local/include/ffmpeg/rtspcodes.h
/opt/local/lib/libavcodec-CVS.dylib
/opt/local/lib/libavcodec.a
/opt/local/lib/libavcodec.dylib
/opt/local/lib/libavformat-CVS.dylib
/opt/local/lib/libavformat.a
/opt/local/lib/libavformat.dylib
/opt/local/lib/libavutil-CVS.dylib
/opt/local/lib/libavutil.a
/opt/local/lib/libavutil.dylib
/opt/local/lib/pkgconfig/libavcodec.pc
/opt/local/lib/pkgconfig/libavformat.pc
/opt/local/lib/pkgconfig/libavutil.pc
/opt/local/lib/vhook/drawtext.dylib
/opt/local/lib/vhook/fish.dylib
/opt/local/lib/vhook/null.dylib
/opt/local/lib/vhook/ppm.dylib
/opt/local/lib/vhook/watermark.dylib
/opt/local/man/man1/ffmpeg.1

av/stream/asfrecorder-1.1

preparation
curl -RO -C - http://keihanna.dl.sourceforge.net/sourceforge/asfrecorder/ASFRecorder.zip
unzip ASFRecorder.zip
ln -sf ASFRecorder asfrecorder-1.1
build
(cd source && make asfrecorder)
patch
--- ./source/asfrecorder.c~	2000-12-17 03:47:42.000000000 +0900
+++ ./source/asfrecorder.c	2005-09-05 08:17:08.000000000 +0900
@@ -1178,7 +1178,8 @@
                 hi->contenttype = unknown_content;
 
                 /* Determine whether this is live content or not */
-                if (!stricmp(ContentType, "application/octet-stream"))
+                if ((!stricmp(ContentType, "application/octet-stream")) ||
+		    (!stricmp(ContentType, "application/vnd.ms.wms-hdr.asfv1")))
                 {
                     if (strstr(Features, "broadcast"))
                     {
@@ -1197,7 +1198,8 @@
                         (!stricmp(ContentType, "video/x-ms-afs")) ||
                         (!stricmp(ContentType, "video/x-ms-wvx")) ||
                         (!stricmp(ContentType, "video/x-ms-wmv")) ||
-                        (!stricmp(ContentType, "video/x-ms-wma"))   )
+                        (!stricmp(ContentType, "video/x-ms-wma")) ||
+			(!stricmp(ContentType, "application/x-mms-framed")))
                     {
                         hi->contenttype = redirector_content;
                         /* try to read as much data as fits into the buffer */
installation
(cd source && cp asfrecorder /opt/local/bin)
installed
/opt/local/bin/asfrecorder

av/stream/mms_client-0.0.3

preparation
curl -RO -C - http://www.geocities.com/majormms/mms_client-0.0.3.tar.gz
tar xvzf mms_client-0.0.3.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/mmsclient

av/vobcopy-0.5.14

preparation
curl -RO -C - http://lpn.rnbhq.org/download/vobcopy-0.5.14.tar.bz2
tar xvjf vobcopy-0.5.14.tar.bz2
(cd vobcopy-0.5.14 && patch -p0 -b -z.org < ../vobcopy-0.5.14-sakuya.patch)
build
make 
patch
--- ./Makefile~	2004-11-23 04:11:49.000000000 +0900
+++ ./Makefile	2005-08-22 04:53:44.000000000 +0900
@@ -2,16 +2,13 @@
 #This is the makefile for vobcopy, mainly written by rosenauer. These things 
 #below here are variable definitions. They get substituted in the (CC) and 
 #stuff places.
-CC     ?= gcc
-#PREFIX += /usr/local
-#BINDIR = ${PREFIX}/bin
-#MANDIR = ${PREFIX}/man
-PREFIX += /usr/local
+CC = gcc
+PREFIX = /opt/local
 BINDIR = ${PREFIX}/bin
 MANDIR = ${PREFIX}/man
 LFS    = -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-CFLAGS += -I/usr//include
-LDFLAGS += -ldvdread -L/usr//lib
+CFLAGS = -I${PREFIX}/include
+LDFLAGS = -L${PREFIX}/lib -ldvdread
 
 #This specifies the conversion from .c to .o 
 .c.o:
installed
/opt/local/bin/vobcopy
/opt/local/man/de/man1/vobcopy.1
/opt/local/man/man1/vobcopy.1

av/x264-snapshot-20051023-2245

preparation
wget -N ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20051023-2245.tar.bz2
tar xvjf x264-snapshot-20051023-2245.tar.bz2
build
./configure --prefix=/opt/local --enable-pthread --enable-visualize 
env MACOSX_DEPLOYMENT_TARGET=10.4 make 
installed
/opt/local/bin/x264
/opt/local/include/x264.h
/opt/local/lib/libx264.a

devel/pkg-config-0.19

preparation
curl -RO -C - http://pkgconfig.freedesktop.org/releases/pkg-config-0.19.tar.gz
tar xvzf pkg-config-0.19.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/pkg-config
/opt/local/man/man1/pkg-config.1
/opt/local/share/aclocal/pkg.m4

ebooks/eb-4.2

preparation
curl -O -C - ftp://ftp.sra.co.jp/pub/misc/eb/eb-4.2.tar.bz2
tar xvjf eb-4.2.tar.bz2
build
./configure --prefix=/opt/local
make ICONVLIBS=-liconv
installed
/opt/local/bin/ebappendix
/opt/local/bin/ebfont
/opt/local/bin/ebinfo
/opt/local/bin/ebrefile
/opt/local/bin/ebstopcode
/opt/local/bin/ebunzip
/opt/local/bin/ebzip
/opt/local/bin/ebzipinfo
/opt/local/etc/eb.conf
/opt/local/include/eb/appendix.h
/opt/local/include/eb/binary.h
/opt/local/include/eb/booklist.h
/opt/local/include/eb/defs.h
/opt/local/include/eb/eb.h
/opt/local/include/eb/error.h
/opt/local/include/eb/font.h
/opt/local/include/eb/sysdefs.h
/opt/local/include/eb/text.h
/opt/local/include/eb/zio.h
/opt/local/lib/libeb.10.0.0.dylib
/opt/local/lib/libeb.10.dylib
/opt/local/lib/libeb.a
/opt/local/lib/libeb.dylib
/opt/local/lib/libeb.la
/opt/local/share/aclocal/eb4.m4
/opt/local/share/eb/doc/eb-01.html
/opt/local/share/eb/doc/eb-02.html
/opt/local/share/eb/doc/eb-03.html
/opt/local/share/eb/doc/eb-04.html
/opt/local/share/eb/doc/eb-05.html
/opt/local/share/eb/doc/eb-06.html
/opt/local/share/eb/doc/eb-07.html
/opt/local/share/eb/doc/eb-08.html
/opt/local/share/eb/doc/eb-09.html
/opt/local/share/eb/doc/eb-10.html
/opt/local/share/eb/doc/eb-11.html
/opt/local/share/eb/doc/eb-12.html
/opt/local/share/eb/doc/eb-13.html
/opt/local/share/eb/doc/eb-14.html
/opt/local/share/eb/doc/eb.html
/opt/local/share/eb/doc/ebappendix-01.html
/opt/local/share/eb/doc/ebappendix-02.html
/opt/local/share/eb/doc/ebappendix-03.html
/opt/local/share/eb/doc/ebappendix-04.html
/opt/local/share/eb/doc/ebappendix.html
/opt/local/share/eb/doc/ebfont-01.html
/opt/local/share/eb/doc/ebfont-02.html
/opt/local/share/eb/doc/ebfont-03.html
/opt/local/share/eb/doc/ebfont-04.html
/opt/local/share/eb/doc/ebfont.html
/opt/local/share/eb/doc/ebinfo-01.html
/opt/local/share/eb/doc/ebinfo-02.html
/opt/local/share/eb/doc/ebinfo-03.html
/opt/local/share/eb/doc/ebinfo-04.html
/opt/local/share/eb/doc/ebinfo-05.html
/opt/local/share/eb/doc/ebinfo.html
/opt/local/share/eb/doc/ebrefile-01.html
/opt/local/share/eb/doc/ebrefile-02.html
/opt/local/share/eb/doc/ebrefile-03.html
/opt/local/share/eb/doc/ebrefile.html
/opt/local/share/eb/doc/ebstopcode-01.html
/opt/local/share/eb/doc/ebstopcode-02.html
/opt/local/share/eb/doc/ebstopcode-03.html
/opt/local/share/eb/doc/ebstopcode.html
:

ebooks/ebnetd-1.0

preparation
curl -O -C - ftp://ftp.sra.co.jp/pub/misc/eb/ebnetd-1.0.tar.gz
tar xvzf ebnetd-1.0.tar.gz
build
./configure --prefix=/opt/local
make
installed
/opt/local/etc/ebnetd.conf.sample
/opt/local/info/ebnetd-ja.info
/opt/local/info/ebnetd-ja.info-1
/opt/local/info/ebnetd-ja.info-2
/opt/local/info/ebnetd.info
/opt/local/info/ebnetd.info-1
/opt/local/info/ebnetd.info-2
/opt/local/libexec/ebhtstat
/opt/local/libexec/ebnstat
/opt/local/libexec/ndtpstat
/opt/local/sbin/ebhtcheck
/opt/local/sbin/ebhtcontrol
/opt/local/sbin/ebhttpd
/opt/local/sbin/ebncheck
/opt/local/sbin/ebncontrol
/opt/local/sbin/ebndaily
/opt/local/sbin/ebnetd
/opt/local/sbin/ebnupgrade
/opt/local/sbin/ndtpcheck
/opt/local/sbin/ndtpcontrol
/opt/local/sbin/ndtpd
host_configuration
if [ ! -f /opt/local/etc/ebnetd.conf ]; then
  cat <<EOF > /opt/local/etc/ebnetd.conf
######################################################################
# Configuration file for ebnetd/ndtpd/ebhttpd.
# (Copy this file to 'ebnetd.conf', and edit it.)
######################################################################

### Port number 'ebnetd' binds.
### (default: ebnet)
# ebnet-port		ebnet
ebnet-port		22010

### Port number 'ndtpd' binds.
### (default: ndtp)
# ndtp-port		ndtp
ndtp-port		2010

### Port number 'ebhttpd' binds.
### (default: http)
# http-port		http
http-port		8010

### Owner of the server process.
### (default: none)
#user			ndtpuser
user			nobody

### Group of the server process.
### (default: none)
#group			ndtpgrp
group			nobody

### How many clients can be connected to the server at the same time.
### (default: 1)
# max-clients		1
max-clients		0

### Which hosts can or cannot connect to the server.
### (default: none)
hosts			127.0.0.1
hosts			::1
hosts			!?
#hosts			host.your.domain

### Timeout seconds until the server disconnects an idle connection.
### (default: 900)
# timeout		900

### Path to a working directory.
### Please create the directory and make it be writable for the server
### processes before executing the server.
### (default: /opt/local/var/ebnetd)
# work-path		/opt/local/var/ebnetd
work-path		/opt/local/var/ebnetd

### How many hit entries the server tries to find at a search.
### (default: 50)
# max-hits		50

### The maximum size of text the server may send as a response to
### a client.
### (default: 32768)
# max-text-size		32768

### Syslog facility
### (default: daemon)
#syslog-facility		local0

###
### Book entry
###
begin book
    ### Name of the book.
    ### (required)
    name		jitenban

    ### Title of the book.
    ### (required)
    title		アスキー 『辞・典・盤』

    ### Path to a top directory of the book.
    ### (required)
    #path		/cdrom
    path		/opt/local/share/E-books/ascii_jitenban/

    ### Path to a top directory of the appdendix data of the book.
    ### (default: none)
    #appendix-path	/opt/local/share/eb/appendix/jitenban97-2.1

    ### How many clients can access the book at the same time.
    ### (default: 1)
    #max-clients		1
    max-clients		0

    ### Which hosts can or cannot access to the book.
    ### (default: none)
    hosts		127.0.0.1
    hosts		::1
    hosts		!?
    #hosts		host.your.domain
end

### Add a book group directive (lines between 'begin book' and 'end'),
### if you want to read another CD-ROM book.  A book group directive
### is required for each book.

begin book
    name		nec_books01
    title		三省堂 『日本語辞典、英和・和英辞典』
    path		/opt/local/share/E-books/nec_books01/
    max-clients		0
    hosts		127.0.0.1
    hosts		::1
    hosts		!?
end
begin book
    name		genius
    title		大修館書店 『ジーニアス英和辞典』
    path		/opt/local/share/E-books/genius/
    max-clients		0
    hosts		127.0.0.1
    hosts		::1
    hosts		!?
end
begin book
    name		ebx1100
    title		三省堂 『辞書十巻』
    path		/opt/local/share/E-books/ebx1100/
    max-clients		0
    hosts		127.0.0.1
    hosts		::1
    hosts		!?
end
EOF
fi

if [ ! -f /etc/xinetd.d/ebnet ]; then
  cat <<EOF > /etc/xinetd.d/ebnet
service ebnet
{
	disable		= no
	type		= UNLISTED
	port		= 22010
	socket_type	= stream
	protocol	= tcp
	wait		= no
	user		= nobody
	server		= /opt/local/sbin/ebnetd
	server_args	= -i
	groups		= yes
	flags		= REUSE
	only_from	= 127.0.0.1
	only_from	+= 192.168.0.0/24 219.166.94.168/29
	only_from	+= 192.168.1.0/24 210.154.62.64/29
}
EOF
fi

if [ ! -f /etc/xinetd.d/ndtp ]; then
  cat <<EOF > /etc/xinetd.d/ndtp
service ndtp
{
	disable		= no
	type		= UNLISTED
	port		= 2010
	socket_type	= stream
	protocol	= tcp
	wait		= no
	user		= nobody
	server		= /opt/local/sbin/ndtpd
	server_args	= -i
	groups		= yes
	flags		= REUSE
	only_from	= 127.0.0.1
	only_from	+= 192.168.0.0/24 219.166.94.168/29
	only_from	+= 192.168.1.0/24 210.154.62.64/29
}
EOF
fi

if [ ! -f /etc/xinetd.d/ebhttp ]; then
  cat <<EOF > /etc/xinetd.d/ebhttp
service ebhttp
{
	disable		= no
	type		= UNLISTED
	port		= 8010
	socket_type	= stream
	protocol	= tcp
	wait		= no
	user		= nobody
	server		= /opt/local/sbin/ebhttpd
	server_args	= -i
	groups		= yes
	flags		= REUSE
	only_from	= 127.0.0.1
	only_from	+= 192.168.0.0/24 219.166.94.168/29
	only_from	+= 192.168.1.0/24 210.154.62.64/29
}
EOF
fi

if [ -d /opt/local/var/ebnetd ]; then
  chown nobody /opt/local/var/ebnetd
  chgrp nobody /opt/local/var/ebnetd
fi

editors/emacs-22

preparation
if [ ! -f emacs-22.tar.bz2 ]; then
env CVS_RSH=ssh cvs -z3 -d :ext:anoncvs@savannah.gnu.org:/cvsroot/emacs checkout -P emacs
[ ! -d emacs-22 ] && mkdir emacs-22
(cd emacs; tar cf - .) | (cd emacs-22; tar xvf -)
tar cvjf emacs-22.tar.bz2 emacs-22
else
tar xvjf emacs-22.tar.bz2
fi
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local --without-pop --with-x-toolkit=lucid --with-xpm --with-jpeg --with-tiff --with-gif --with-png --with-xim --without-carbon --with-x
env MACOSX_DEPLOYMENT_TARGET=10.4 make bootstrap
installed
/opt/local/bin/b2m
/opt/local/bin/ctags
/opt/local/bin/ebrowse
/opt/local/bin/emacs
/opt/local/bin/emacs-22.0.50
/opt/local/bin/emacsclient
/opt/local/bin/etags
/opt/local/bin/grep-changelog
/opt/local/bin/rcs-checkin
/opt/local/info/ada-mode
/opt/local/info/autotype
/opt/local/info/calc
/opt/local/info/calc-1
/opt/local/info/calc-2
/opt/local/info/calc-3
/opt/local/info/calc-4
/opt/local/info/calc-5
/opt/local/info/calc-6
/opt/local/info/ccmode
/opt/local/info/cl
/opt/local/info/dired-x
/opt/local/info/ebrowse
/opt/local/info/ediff
/opt/local/info/efaq
/opt/local/info/eintr
/opt/local/info/eintr-1
/opt/local/info/eintr-2
/opt/local/info/eintr-3
/opt/local/info/elisp
/opt/local/info/elisp-1
/opt/local/info/elisp-10
/opt/local/info/elisp-11
/opt/local/info/elisp-2
/opt/local/info/elisp-3
/opt/local/info/elisp-4
/opt/local/info/elisp-5
/opt/local/info/elisp-6
/opt/local/info/elisp-7
/opt/local/info/elisp-8
/opt/local/info/elisp-9
/opt/local/info/emacs
/opt/local/info/emacs-1
/opt/local/info/emacs-2
/opt/local/info/emacs-3
/opt/local/info/emacs-4
/opt/local/info/emacs-5
/opt/local/info/emacs-6
/opt/local/info/emacs-7
/opt/local/info/emacs-mime
/opt/local/info/emacs-xtra
/opt/local/info/eshell
/opt/local/info/eudc
/opt/local/info/flymake
/opt/local/info/forms
/opt/local/info/gnus
/opt/local/info/gnus-1
/opt/local/info/gnus-2
/opt/local/info/gnus-3
/opt/local/info/gnus-4
/opt/local/info/gnus-5
/opt/local/info/idlwave
/opt/local/info/info
/opt/local/info/message
/opt/local/info/mh-e
:
data_installed
/opt/local/share/emacs/22.0.50/etc/BABYL
/opt/local/share/emacs/22.0.50/etc/calccard.ps
/opt/local/share/emacs/22.0.50/etc/calccard.tex
/opt/local/share/emacs/22.0.50/etc/celibacy.1
/opt/local/share/emacs/22.0.50/etc/CENSORSHIP
/opt/local/share/emacs/22.0.50/etc/compilation.txt
/opt/local/share/emacs/22.0.50/etc/condom.1
/opt/local/share/emacs/22.0.50/etc/COOKIES
/opt/local/share/emacs/22.0.50/etc/COPYING
/opt/local/share/emacs/22.0.50/etc/copying.paper
/opt/local/share/emacs/22.0.50/etc/cs-dired-ref.ps
/opt/local/share/emacs/22.0.50/etc/cs-dired-ref.tex
/opt/local/share/emacs/22.0.50/etc/cs-refcard.ps
/opt/local/share/emacs/22.0.50/etc/cs-refcard.tex
/opt/local/share/emacs/22.0.50/etc/cs-survival.tex
/opt/local/share/emacs/22.0.50/etc/ctags.1
/opt/local/share/emacs/22.0.50/etc/de-refcard.ps
/opt/local/share/emacs/22.0.50/etc/de-refcard.tex
/opt/local/share/emacs/22.0.50/etc/DEBUG
/opt/local/share/emacs/22.0.50/etc/dired-ref.ps
/opt/local/share/emacs/22.0.50/etc/dired-ref.tex
/opt/local/share/emacs/22.0.50/etc/DISTRIB
/opt/local/share/emacs/22.0.50/etc/DOC-22.0.50.1
/opt/local/share/emacs/22.0.50/etc/e/eterm
/opt/local/share/emacs/22.0.50/etc/e/eterm.ti
/opt/local/share/emacs/22.0.50/etc/echo.msg
/opt/local/share/emacs/22.0.50/etc/edt-user.doc
/opt/local/share/emacs/22.0.50/etc/emacs-buffer.gdb
/opt/local/share/emacs/22.0.50/etc/emacs.1
/opt/local/share/emacs/22.0.50/etc/emacs.bash
/opt/local/share/emacs/22.0.50/etc/emacs.csh
/opt/local/share/emacs/22.0.50/etc/emacs.icon
/opt/local/share/emacs/22.0.50/etc/emacs.py
/opt/local/share/emacs/22.0.50/etc/emacs.xbm
/opt/local/share/emacs/22.0.50/etc/emacsclient.1
/opt/local/share/emacs/22.0.50/etc/emacstool.1
/opt/local/share/emacs/22.0.50/etc/enriched.doc
/opt/local/share/emacs/22.0.50/etc/etags.1
/opt/local/share/emacs/22.0.50/etc/ETAGS.EBNF
/opt/local/share/emacs/22.0.50/etc/fr-drdref.ps
/opt/local/share/emacs/22.0.50/etc/fr-drdref.tex
/opt/local/share/emacs/22.0.50/etc/fr-refcard.ps
/opt/local/share/emacs/22.0.50/etc/fr-refcard.tex
/opt/local/share/emacs/22.0.50/etc/fr-survival.tex
/opt/local/share/emacs/22.0.50/etc/FTP
/opt/local/share/emacs/22.0.50/etc/future-bug
/opt/local/share/emacs/22.0.50/etc/gfdl.1
/opt/local/share/emacs/22.0.50/etc/GNU
/opt/local/share/emacs/22.0.50/etc/gnu.xpm
/opt/local/share/emacs/22.0.50/etc/gnus-logo.eps
/opt/local/share/emacs/22.0.50/etc/GNUS-NEWS
/opt/local/share/emacs/22.0.50/etc/gnus-refcard.tex
/opt/local/share/emacs/22.0.50/etc/gnus-tut.txt
/opt/local/share/emacs/22.0.50/etc/gnus.pbm
/opt/local/share/emacs/22.0.50/etc/grep.txt
/opt/local/share/emacs/22.0.50/etc/HELLO
/opt/local/share/emacs/22.0.50/etc/images/gnus/bar.xbm
/opt/local/share/emacs/22.0.50/etc/images/gnus/bar.xpm
/opt/local/share/emacs/22.0.50/etc/images/gnus/catchup.pbm
/opt/local/share/emacs/22.0.50/etc/images/gnus/catchup.xpm
/opt/local/share/emacs/22.0.50/etc/images/gnus/cu-exit.pbm
/opt/local/share/emacs/22.0.50/etc/images/gnus/cu-exit.xpm
/opt/local/share/emacs/22.0.50/etc/images/gnus/dead.xpm
/opt/local/share/emacs/22.0.50/etc/images/gnus/describe-group.pbm
:

editors/intlfonts-1.2.1

preparation
curl -RO -C - http://ftp.gnu.org/gnu/intlfonts/intlfonts-1.2.1.tar.gz
tar xvzf intlfonts-1.2.1.tar.gz
build
./configure --prefix=/opt/local --disable-compress --with-pcf --without-bdf --without-type1 --without-truetype
make
installed
/opt/local/share/emacs/fonts/12x24rk.pcf
/opt/local/share/emacs/fonts/8x16rk.pcf
/opt/local/share/emacs/fonts/a18rk.pcf
/opt/local/share/emacs/fonts/a18rkb.pcf
/opt/local/share/emacs/fonts/a18rki.pcf
/opt/local/share/emacs/fonts/arab16-0-etl.pcf
/opt/local/share/emacs/fonts/arab16-1-etl.pcf
/opt/local/share/emacs/fonts/arab16-2-etl.pcf
/opt/local/share/emacs/fonts/arab24-0-etl.pcf
/opt/local/share/emacs/fonts/arab24-1-etl.pcf
/opt/local/share/emacs/fonts/arab24-2-etl.pcf
/opt/local/share/emacs/fonts/bmp16-etl.pcf
/opt/local/share/emacs/fonts/cc40s.pcf
/opt/local/share/emacs/fonts/cc48s.pcf
/opt/local/share/emacs/fonts/cns1-16.pcf
/opt/local/share/emacs/fonts/cns1-24.pcf
/opt/local/share/emacs/fonts/cns1-40.pcf
/opt/local/share/emacs/fonts/cns2-16.pcf
/opt/local/share/emacs/fonts/cns2-24.pcf
/opt/local/share/emacs/fonts/cns2-40.pcf
/opt/local/share/emacs/fonts/cns3-16.pcf
/opt/local/share/emacs/fonts/cns3-24.pcf
/opt/local/share/emacs/fonts/cns3-40.pcf
/opt/local/share/emacs/fonts/cns4-16.pcf
/opt/local/share/emacs/fonts/cns4-24.pcf
/opt/local/share/emacs/fonts/cns4-40.pcf
/opt/local/share/emacs/fonts/cns5-16.pcf
/opt/local/share/emacs/fonts/cns5-24.pcf
/opt/local/share/emacs/fonts/cns5-40.pcf
/opt/local/share/emacs/fonts/cns6-16.pcf
/opt/local/share/emacs/fonts/cns6-24.pcf
/opt/local/share/emacs/fonts/cns6-40.pcf
/opt/local/share/emacs/fonts/cns7-16.pcf
/opt/local/share/emacs/fonts/cns7-24.pcf
/opt/local/share/emacs/fonts/cns7-40.pcf
/opt/local/share/emacs/fonts/cyr14-etl.pcf
/opt/local/share/emacs/fonts/cyr16-etl.pcf
/opt/local/share/emacs/fonts/cyr24-etl.pcf
/opt/local/share/emacs/fonts/ethio16f-uni.pcf
/opt/local/share/emacs/fonts/ethio24f-uni.pcf
/opt/local/share/emacs/fonts/fonts.alias
/opt/local/share/emacs/fonts/fonts.dir
/opt/local/share/emacs/fonts/gb16fs.pcf
/opt/local/share/emacs/fonts/gb16st.pcf
/opt/local/share/emacs/fonts/gb24st.pcf
/opt/local/share/emacs/fonts/grk14-etl.pcf
/opt/local/share/emacs/fonts/grk16-etl.pcf
/opt/local/share/emacs/fonts/grk24-etl.pcf
/opt/local/share/emacs/fonts/guob16.pcf
/opt/local/share/emacs/fonts/hanglg16.pcf
/opt/local/share/emacs/fonts/hanglm16.pcf
/opt/local/share/emacs/fonts/hanglm24.pcf
/opt/local/share/emacs/fonts/heb14-etl.pcf
/opt/local/share/emacs/fonts/heb16-etl.pcf
/opt/local/share/emacs/fonts/heb24-etl.pcf
/opt/local/share/emacs/fonts/ind16-mule.pcf
/opt/local/share/emacs/fonts/ind16-uni.pcf
/opt/local/share/emacs/fonts/ind1c16-mule.pcf
/opt/local/share/emacs/fonts/ind1c24-mule.pcf
/opt/local/share/emacs/fonts/ind24-mule.pcf
/opt/local/share/emacs/fonts/ind24-uni.pcf
/opt/local/share/emacs/fonts/ipa14-etl.pcf
/opt/local/share/emacs/fonts/ipa16-etl.pcf
/opt/local/share/emacs/fonts/ipa24-etl.pcf
:

editors/mule-ucs-20030119

preparation
cvs -d :pserver:anonymous@cvs.meadowy.org:/cvsroot login
cvs -d :pserver:anonymous@cvs.meadowy.org:/cvsroot co mule-ucs
[ ! -d mule-ucs-20030119 ] && mkdir mule-ucs-20030119
(cd mule-ucs; tar cf - .) | (cd mule-ucs-20030119; tar xvf -)
tar cvjf mule-ucs-20030119.tar.bz2 mule-ucs-20030119
(cd mule-ucs-20030119; patch -p0 < ../mule-ucs-20030119-sakuya.patch)
build
/opt/local/bin/emacs -q --no-site-file -batch -l mucs-comp.el 
patch
--- ./lisp/reldata/usupple.el.org	2000-10-08 23:10:44.000000000 +0900
+++ ./lisp/reldata/usupple.el	2005-07-28 22:03:40.000000000 +0900
@@ -38,7 +38,7 @@
        (?― . "0x2014") ;; EM DASH
        (?\ . "0xFF3C") ;; FULLWIDTH REVERSE SOLIDUS
        (?¥ . "0x00A5") ;; YEN SIGN
-       (?~ . "0xFFE5") ;; FULLWIDTH TILDE
+       (?~ . "0xFF5E") ;; FULLWIDTH TILDE
        ))))
 
 (defvar unicode-assoc-for-jdk
@@ -80,7 +80,7 @@
        (?¬ . "0xFFE2") ;; FULLWIDTH NOT SIGN
        ;; JIS X 0212 correspondings
        (?~ . "0xFF5E") ;; FULLWIDTH TILDE (usually not used for decoding)
-       (?¦ . "0xFF4E") ;; FULLWIDTH BROKEN BAR
+       (?¦ . "0xFFE4") ;; FULLWIDTH BROKEN BAR
        ;; JIS X 0201 correspondings
        ;; ("0x5C" . "0x005C") ;; REVERSE SOLIDUS
        ;; ("0x7E" . "0x007E") ;; TILDE
installation
mkdir /opt/local/share/emacs/site-lisp/mule-ucs
cp -R lisp /opt/local/share/emacs/site-lisp/mule-ucs
find /opt/local/share/emacs/site-lisp/mule-ucs -name CVS -exec rm -rf {} \;
installed
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/big5conv/big5-comp.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/big5conv/big5c-cns.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/big5conv/big5c-ucs.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/big5conv/big5conv.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/big5conv/big5type.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/big5conv/README
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/ChangeLog
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/jisx0213/ChangeLog
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/jisx0213/egg-sim-jisx0213.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/jisx0213/jisx0213.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/jisx0213/readme.txt
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/jisx0213/ujisx0213.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/jisx0213/x0213-cdef.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/jisx0213/x0213-char.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/jisx0213/x0213-comp.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/jisx0213/x0213-csys.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/jisx0213/x0213-font.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/jisx0213/x0213-mime.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/jisx0213/x0213-sjis.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/jisx0213/x0213-udef.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/jisx0213/x0213-util.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/mccl-font.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/mccl-font.elc
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/mucs-ccl.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/mucs-ccl.elc
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/mucs-error.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/mucs-error.elc
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/mucs-type.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/mucs-type.elc
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/mucs.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/mucs.elc
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/mule-uni.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/mule-uni.elc
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/MuleUni.txt
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/README
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/README.Unicode
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/u-cns-1.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/u-cns-2.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/u-cns-3.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/u-cns-4.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/u-cns-5.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/u-cns-6.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/u-cns-7.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/uascii.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/ubig5.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/uethiopic.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/ugb2312.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/uipa.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/uiscii.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/uiso8859-1.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/uiso8859-14.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/uiso8859-15.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/uiso8859-2.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/uiso8859-3.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/uiso8859-4.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/uiso8859-5.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/uiso8859-6.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/uiso8859-7.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/uiso8859-8.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/uiso8859-9.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/ujisx0201.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/ujisx0208.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/ujisx0212.el
/opt/local/share/emacs/site-lisp/mule-ucs/lisp/reldata/uksc5601.el
:

fonts/bm/Kappa20-0.396

preparation
curl -RO -C - http://khdd.net/20dot.fonts/Kappa20-0.396.tar.bz2
tar xvjf Kappa20-0.396.tar.bz2
build
make TARGETDIR=/opt/local/X11R6/lib/X11/fonts/local all 
installation
make TARGETDIR=/opt/local/X11R6/lib/X11/fonts/local install 
installed
/opt/local/X11R6/lib/X11/fonts/local/10x20b.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/10x20L10b.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/10x20L10m.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/10x20L2b.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/10x20L2m.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/10x20L3b.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/10x20L3m.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/10x20L4b.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/10x20L4m.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/10x20L5b.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/10x20L5m.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/10x20L6b.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/10x20L6m.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/10x20L7b.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/10x20L7m.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/10x20L8b.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/10x20L8m.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/10x20L9b.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/10x20L9m.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/10x20m.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/10x20rkb.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/10x20rkm.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/fonts.alias
/opt/local/X11R6/lib/X11/fonts/local/fonts.dir
/opt/local/X11R6/lib/X11/fonts/local/ipa-10x20b.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/ipa-10x20m.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/k20b.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/k20m.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/nk20b-1.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/vk20b.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/vk20m.pcf.gz

fonts/bm/ayu-20050827

preparation
curl -RO -C - http://keihanna.dl.sourceforge.jp/x-tt/8536/ayu20gothic-1.7a.tar.gz
curl -RO -C - http://keihanna.dl.sourceforge.jp/x-tt/8494/ayu18mincho-1.1.tar.gz
curl -RO -C - http://keihanna.dl.sourceforge.jp/x-tt/8535/ayu18gothic-1.3a.tar.gz
mkdir ayu-20050827 && (cd ayu-20050827 && tar xvzf ../ayu18gothic-1.3a.tar.gz && tar xvzf ../ayu18mincho-1.1.tar.gz && && tar xvzf ../ayu20gothic-1.7a.tar.gz)
build
for bdf in *.bdf; do
  bdftopcf "$bdf" | gzip -9 > `dirname "$bdf"`/`basename "$bdf" .bdf`.pcf.gz
done
installation
cp *.pcf* /opt/local/X11R6/lib/X11/fonts/local
(cd /opt/local/X11R6/lib/X11/fonts/local; mkfontdir .)
installed
/opt/local/X11R6/lib/X11/fonts/local/10x20gm.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/10x20grkm.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/9x18gm.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/9x18grkm.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/9x18m.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/9x18rkm.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/fonts.dir
/opt/local/X11R6/lib/X11/fonts/local/k18gm.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/k18m.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/k20gm.pcf.gz

fonts/bm/japanese+fonts-20050721

preparation
[ ! -d japanese+fonts-20050721 ] && mkdir japanese+fonts-20050721
(cd japanese+fonts-20050721
curl -RO -C - http://hp.vector.co.jp/authors/VA013391/fonts/knj10-1.1.tar.gz
tar xvzf knj10-1.1.tar.gz
curl -RO -C - http://khdd.net/kanou/fonts/k14.patch
curl -RO -C - http://www12.ocn.ne.jp/~imamura/K12-1.bdf.gz
curl -RO -C - http://www12.ocn.ne.jp/~imamura/K12-2.bdf.gz
curl -RO -C - http://www12.ocn.ne.jp/~imamura/K14-2004-1.bdf.gz
curl -RO -C - http://www12.ocn.ne.jp/~imamura/K14-2000-1.bdf.gz
curl -RO -C - http://www12.ocn.ne.jp/~imamura/K14-2000-2.bdf.gz
curl -RO -C - http://www12.ocn.ne.jp/~imamura/jiskan16-2004-1.bdf.gz
curl -RO -C - http://www12.ocn.ne.jp/~imamura/jiskan16-2000-1.bdf.gz
curl -RO -C - http://www12.ocn.ne.jp/~imamura/jiskan16-2000-2.bdf.gz
curl -RO -C - http://www12.ocn.ne.jp/~imamura/A12.bdf.gz
curl -RO -C - http://www12.ocn.ne.jp/~imamura/A14.bdf.gz
curl -RO -C - http://gitatsu.hp.infoseek.co.jp/bdf/jiskan24-2000-1.bdf.gz
curl -RO -C - http://gitatsu.hp.infoseek.co.jp/bdf/jiskan24-2000-2.bdf.gz
curl -RO -C - http://gitatsu.hp.infoseek.co.jp/bdf/jiskan24-2003-1.bdf.gz
curl -RO -C - http://www.gelgoog.org/warabi12/archives/warabi12-0.19a.tar.gz
tar xvzf warabi12-0.19a.tar.gz
curl -RO -C - http://www.geocities.co.jp/SiliconValley-Oakland/7410/arc/misaki/mskbdb09.tar.gz
[ ! -d mskbdb09 ] && mkdir mskbdb09
tar xvzf mskbdb09.tar.gz -C mskbdb09
curl -RO -C - http://www.tea.forus.or.jp/toshi/exhibition/elisat10.tar.gz
[ ! -d elisat10 ] && mkdir elisat10
tar xvzf elisat10.tar.gz -C elisat10
curl -RO -C - http://www.vector.co.jp/pack/data/writing/font/elisa/elisau10.tgz
[ ! -d elisau10 ] && mkdir elisau10
tar xvzf elisau10.tgz -C elisau10
curl -RO -C - http://www.tsg.ne.jp/GANA/S/pcf2bdf/pcf2bdf-1.04.tgz
[ ! -d pcf2bdf-1.04 ] && mkdir pcf2bdf-1.04
tar xvzf pcf2bdf-1.04.tgz -C pcf2bdf-1.04
)
tar cvjf japanese+fonts-20050721.tar.bz2 japanese+fonts-20050721
build
(cd pcf2bdf-1.04
make -f Makefile.gcc CC=g++ PREFIX=/opt/local
)
(
cp -p /usr/X11R6/lib/X11/fonts/misc/k14.pcf.gz .
gunzip k14.pcf.gz
./pcf2bdf-1.04/pcf2bdf k14.pcf -o k14.bdf
rm k14.pcf
patch -p0 < k14.patch
)
(cd knj10-1.1
patch -p0 -o maru10.bdf < maru10.bdf.diff
patch -p0 -o min10.bdf < min10.bdf.diff
)
(cd elisau10
gzip -dc /usr/X11R6/lib/X11/fonts/misc/clR5x8.pcf.gz > clR5x8.pcf
../pcf2bdf-1.04/pcf2bdf clR5x8.pcf -o clR5x8.bdf
sed '
s/^\(FONT -[^-]*-\)/\1Descent2/;
s/^\(FONTBOUNDINGBOX [-0-9]* [-0-9]* [-0-9]* \)[-0-9]*/\1-2/;
s/^\(FAMILY_NAME "\)/\1Descent2/;
s/^\(FONT_ASCENT \)[-0-9]*/\16/;
s/^\(FONT_DESCENT \)[-0-9]*/\12/;
s/^\(BBX [-0-9]* [-0-9]* [-0-9]* \)[-0-9]*/\1-2/
' clR5x8.bdf > s5x8.bdf && rm clR5x8.bdf
)
(cd mskbdb09
patch -o misakimn.bdf < misakimn.diff
)

for bz in `find . -name \*.bdf.gz`; do
  b=`dirname $bz`/`basename $bz .gz`
  p=`basename $b .bdf`.pcf
  pz=$p.gz
  gunzip $bz && bdftopcf -o $p $b && gzip -f $p && gzip -f $b
done
for b in `find . -name \*.bdf`; do
  p=`basename $b .bdf`.pcf
  pz=$p.gz
  bdftopcf -o $p $b && gzip -f $p
done
cat `find . -mindepth 2 -name fonts.alias` | sort | uniq > fonts.alias
installation
prefix=/opt/local
fontdir=$prefix/X11R6/lib/X11/fonts/japanese+
[ ! -d "$fontdir" ] && mkdir "$fontdir"
cp *.pcf.gz fonts.alias "$fontdir" && (cd "$fontdir"; mkfontdir .)
installed
/opt/local/X11R6/lib/X11/fonts/japanese+/4x8.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/4x8_8859.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/5x10a.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/5x10B.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/5x10rk.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/A12.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/A14.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/elisat10.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/elisau10.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/fonts.alias
/opt/local/X11R6/lib/X11/fonts/japanese+/fonts.dir
/opt/local/X11R6/lib/X11/fonts/japanese+/jiskan16-2000-1.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/jiskan16-2000-2.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/jiskan16-2004-1.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/jiskan24-2000-1.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/jiskan24-2000-2.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/jiskan24-2003-1.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/jpnhn4-iso.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/jpnhn4-jis.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/K12-1.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/K12-2.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/K14-2000-1.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/K14-2000-2.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/K14-2004-1.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/k14.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/knj10.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/knj10B.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/maru10.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/min10.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/misaki.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/misakimn.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/s5x8.pcf.gz
/opt/local/X11R6/lib/X11/fonts/japanese+/warabi12-1.pcf.gz

fonts/bm/monafont-2.90

preparation
curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/monafont/monafont-2.90.tar.bz2
tar xvjf monafont-2.90.tar.bz2
build
make X11FONTDIR=/opt/local/X11R6/lib/X11/fonts/local
installation
make X11FONTDIR=/opt/local/X11R6/lib/X11/fonts/local install
installed
/opt/local/X11R6/lib/X11/fonts/local/fonts.dir
/opt/local/X11R6/lib/X11/fonts/local/mona6x12a.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/mona6x12aB.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/mona6x12aBI.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/mona6x12aI.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/mona6x12r.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/mona6x12rB.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/mona6x12rBI.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/mona6x12rI.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/mona7x14a.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/mona7x14aB.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/mona7x14aBI.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/mona7x14aI.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/mona7x14r.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/mona7x14rB.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/mona7x14rBI.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/mona7x14rI.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/mona8x16a.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/mona8x16aB.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/mona8x16aBI.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/mona8x16aI.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/mona8x16r.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/mona8x16rB.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/mona8x16rBI.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/mona8x16rI.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/monak12.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/monak12B.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/monak12BI.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/monak12I.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/monak14.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/monak14B.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/monak14BI.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/monak14I.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/monak16.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/monak16B.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/monak16BI.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/monak16I.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/monau12.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/monau12B.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/monau12BI.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/monau12I.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/monau14.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/monau14B.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/monau14BI.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/monau14I.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/monau16.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/monau16B.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/monau16BI.pcf.gz
/opt/local/X11R6/lib/X11/fonts/local/monau16I.pcf.gz

fonts/bm/mplus_bitmap_fonts-2.2.4

preparation
curl -RO -C - http://downloads.sourceforge.jp/mplus-fonts/5030/mplus_bitmap_fonts-2.2.4.tar.gz
tar xvzf mplus_bitmap_fonts-2.2.4.tar.gz
build
installation
env DESTDIR=/opt/local/X11R6/lib/X11/fonts/mplus ./install_mplus_fonts
installed
/opt/local/X11R6/lib/X11/fonts/mplus/fonts.alias
/opt/local/X11R6/lib/X11/fonts/mplus/fonts.dir
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_f10b-euro.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_f10b.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_f10r-euro.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_f10r.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_f12b-euro.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_f12b-jisx0201.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_f12b.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_f12r-euro.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_f12r-jisx0201.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_f12r.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_h10b-euro.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_h10b-jisx0201.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_h10b.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_h10r-euro.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_h10r-jisx0201.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_h10r.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_h12b-euro.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_h12b-jisx0201.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_h12b.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_h12r-euro.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_h12r-jisx0201.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_h12r.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_h12rw-euro.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_h12rw.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_j10b-iso.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_j10b-jisx0201.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_j10b.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_j10r-iso.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_j10r-jisx0201.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_j10r.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_j12b.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_j12r.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_q06r-euro.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_q06r.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_s10b-euro.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_s10b.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_s10r-euro.pcf.gz
/opt/local/X11R6/lib/X11/fonts/mplus/mplus_s10r.pcf.gz

fonts/bm/shinonome-0.9.11

preparation
curl -RO -C - http://openlab.ring.gr.jp/efont/dist/shinonome/shinonome-0.9.11p1.tar.bz2
tar xvjf shinonome-0.9.11p1.tar.bz2
build
./configure --prefix=/opt/local --disable-compress --with-pcf --without-bdf
make
installation
make install
#make install-alias
installed
/opt/local/X11R6/lib/X11/fonts/japanese/fonts.dir
/opt/local/X11R6/lib/X11/fonts/japanese/shnm6x12a.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm6x12ab.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm6x12abi.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm6x12ai.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm6x12r.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm6x12rb.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm6x12rbi.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm6x12ri.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm7x14a.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm7x14ab.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm7x14abi.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm7x14ai.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm7x14r.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm7x14rb.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm7x14rbi.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm7x14ri.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm8x16a.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm8x16ab.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm8x16abi.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm8x16ai.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm8x16r.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm8x16rb.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm8x16rbi.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm8x16ri.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm9x18a.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm9x18ab.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm9x18abi.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm9x18ai.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm9x18r.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm9x18rb.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm9x18rbi.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnm9x18ri.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk12.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk12b.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk12bi.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk12i.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk12maru.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk12marub.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk12marubi.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk12marui.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk12min.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk12minb.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk12minbi.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk12mini.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk12p.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk12pb.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk12pbi.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk12pi.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk14.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk14b.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk14bi.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk14i.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk14min.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk14minb.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk14minbi.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk14mini.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk16.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk16b.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk16bi.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk16i.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk16min.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk16minb.pcf
/opt/local/X11R6/lib/X11/fonts/japanese/shnmk16minbi.pcf
:

fonts/cid/oreilly-cid-2004

preparation
if [ ! -f oreilly-cid-2004.tar.bz2 ]; then
[ ! -d oreilly-cid-2004 ] && mkdir oreilly-cid-2004
(cd oreilly-cid-2004
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MOEKai-Regular
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MOESung-Regular
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/WadaGo-Bold
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/WadaMaruGo-Regular
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/WadaMaruGo-RegularH
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/WadaMin-Bold
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/WadaMin-Regular
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/WadaMin-RegularH
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/Munhwa-Bold
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/Munhwa-Regular
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MunhwaGothic-Bold
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MunhwaGothic-Regular
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MunhwaGungSeo-Bold
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MunhwaGungSeo-Light
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MunhwaGungSeoHeulim-Bold
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MunhwaGungSeoHeulim-Light
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MunhwaHoonMin-Regular
)
tar cvjf oreilly-cid-2004.tar.bz2 oreilly-cid-2004
else
tar xvjf oreilly-cid-2004.tar.bz2
fi
installation
mkdir -p /opt/local/gs7.07/share/ghostscript/Resource/CIDFont && cp * /opt/local/gs7.07/share/ghostscript/Resource/CIDFont
installed
/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/MOEKai-Regular
/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/MOESung-Regular
/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/Munhwa-Bold
/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/Munhwa-Regular
/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/MunhwaGothic-Bold
/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/MunhwaGothic-Regular
/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/MunhwaGungSeo-Bold
/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/MunhwaGungSeo-Light
/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/MunhwaGungSeoHeulim-Bold
/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/MunhwaGungSeoHeulim-Light
/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/MunhwaHoonMin-Regular
/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/WadaGo-Bold
/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/WadaMaruGo-Regular
/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/WadaMaruGo-RegularH
/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/WadaMin-Bold
/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/WadaMin-Regular
/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/WadaMin-RegularH

fonts/ot/macosx-j-otf-2005

preparation
LN(){
  [ -f "$1" ] && ln -sf "$1" "$2"
}
evallines(){
  while read line; do
    eval $line
  done
}
[ ! -d macosx-j-otf-2005 ] && mkdir -p macosx-j-otf-2005
(cd macosx-j-otf-2005 &&
cat <<EOF | iconv -f EUC-JP -t UTF-8-MAC | evallines
#LN "/System/Library/Fonts/AquaKanaBold.otf"		AquaKana-Bold.otf
#LN "/System/Library/Fonts/AquaKanaRegular.otf"		AquaKana.otf
LN "/System/Library/Fonts/ヒラギノ丸ゴ Pro W4.otf"	HiraMaruPro-W4.otf
LN "/System/Library/Fonts/ヒラギノ明朝 Pro W3.otf"	HiraMinPro-W3.otf
LN "/System/Library/Fonts/ヒラギノ明朝 Pro W6.otf"	HiraMinPro-W6.otf
LN "/System/Library/Fonts/ヒラギノ角ゴ Pro W3.otf"	HiraKakuPro-W3.otf
LN "/System/Library/Fonts/ヒラギノ角ゴ Pro W6.otf"	HiraKakuPro-W6.otf
LN "/System/Library/Fonts/ヒラギノ角ゴ Std W8.otf"	HiraKakuStd-W8.otf
EOF
)
build
sh fonts.dir-out.sh 
patch
--- ./fonts.dir-out.sh~	2005-09-03 00:28:54.000000000 +0900
+++ ./fonts.dir-out.sh	2005-09-03 00:15:41.000000000 +0900
@@ -0,0 +1,85 @@
+#!/bin/sh
+countline(){
+  wc -l | sed -e 's/^[ 	]*//'
+}
+fonts_dir_org=/opt/local/X11R6/lib/X11/fonts/opentype/fonts.dir
+fonts_dir=fonts.dir
+cp /dev/null $fonts_dir
+for phase in 1 2; do
+  case $phase in
+  1)
+    filter=countline
+    ;;
+  2)
+    filter=cat
+    ;;
+  esac
+  ([ -f "$fonts_dir_org" ] && sed -ne '2,$p' "$fonts_dir_org" | fgrep -v hiragino
+  for otf in\
+	HiraKakuPro-W3.otf\
+	HiraKakuPro-W6.otf\
+	HiraKakuStd-W8.otf\
+	HiraMaruPro-W4.otf\
+	HiraMinPro-W3.otf\
+	HiraMinPro-W6.otf\
+; do
+    case $otf in
+	HiraKakuPro-W3.otf)	f_f=hiragino-gothic	; wgt=normal	;;
+	HiraKakuPro-W6.otf)	f_f=hiragino-gothic	; wgt=bold	;;
+	HiraKakuStd-W8.otf)	f_f=hiragino-gothic	; wgt=bolder	;;
+	HiraMaruPro-W4.otf)	f_f=hiragino-maru	; wgt=normal	;;
+	HiraMinPro-W3.otf)	f_f=hiragino-mincho	; wgt=normal	;;
+	HiraMinPro-W6.otf)	f_f=hiragino-mincho	; wgt=bold	;;
+    esac
+    for kind in\
+	normal\
+	proportional\
+; do
+    case $kind in
+    normal)
+      ai=
+      bw='bw=0.5:'
+      s=r
+      spc=c
+      ;;
+    slant)
+      ai='ai=0.2:'
+      bw='bw=0.5:'
+      s=s
+      spc=c
+      ;;
+    proportional)
+      ai='ai=0.2:'
+      bw=
+      s=s
+      spc=p
+      ;;
+    slant-proportional)
+      ai='ai=0.2:'
+      bw=
+      s=s
+      spc=p
+      ;;
+    esac
+    cat <<EOF
+${ai}${bw}${otf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-iso8859-1
+${ai}${bw}${otf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-iso8859-2
+${ai}${bw}${otf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-iso8859-3
+${ai}${bw}${otf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-iso8859-4
+${ai}${bw}${otf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-iso8859-5
+${ai}${bw}${otf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-iso8859-9
+${ai}${bw}${otf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-iso8859-10
+${ai}${bw}${otf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-iso8859-13
+${ai}${bw}${otf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-koi8-r
+${ai}${bw}${otf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-koi8-u
+${ai}${bw}${otf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-koi8-e
+${ai}${bw}${otf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-adobe-standard
+${ai}${bw}${otf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-ibm-cp437
+${ai}${bw}${otf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-jisx0201.1976-0
+${ai}${otf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-jisx0208.1983-0
+${ai}${otf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-jisx0208.1990-0
+${ai}${otf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-iso10646-1
+EOF
+    done
+  done) | $filter >> $fonts_dir
+done
installation
LN(){
  [ -f "$1" ] && ln -sf "$1" "$2"
}
evallines(){
  while read line; do
    eval $line
  done
}
[ ! -d /opt/local/X11R6/lib/X11/fonts/opentype ] && mkdir -p /opt/local/X11R6/lib/X11/fonts/opentype
(cd /opt/local/X11R6/lib/X11/fonts/opentype &&
cat <<EOF | iconv -f EUC-JP -t UTF-8-MAC | evallines
#LN "/System/Library/Fonts/AquaKanaBold.otf"		AquaKana-Bold.otf
#LN "/System/Library/Fonts/AquaKanaRegular.otf"		AquaKana.otf
LN "/System/Library/Fonts/ヒラギノ丸ゴ Pro W4.otf"	HiraMaruPro-W4.otf
LN "/System/Library/Fonts/ヒラギノ明朝 Pro W3.otf"	HiraMinPro-W3.otf
LN "/System/Library/Fonts/ヒラギノ明朝 Pro W6.otf"	HiraMinPro-W6.otf
LN "/System/Library/Fonts/ヒラギノ角ゴ Pro W3.otf"	HiraKakuPro-W3.otf
LN "/System/Library/Fonts/ヒラギノ角ゴ Pro W6.otf"	HiraKakuPro-W6.otf
LN "/System/Library/Fonts/ヒラギノ角ゴ Std W8.otf"	HiraKakuStd-W8.otf
EOF
)
cp fonts.dir /opt/local/X11R6/lib/X11/fonts/opentype
installed
/opt/local/X11R6/lib/X11/fonts/opentype/fonts.dir
/opt/local/X11R6/lib/X11/fonts/opentype/HiraKakuPro-W3.otf
/opt/local/X11R6/lib/X11/fonts/opentype/HiraKakuPro-W6.otf
/opt/local/X11R6/lib/X11/fonts/opentype/HiraKakuStd-W8.otf
/opt/local/X11R6/lib/X11/fonts/opentype/HiraMaruPro-W4.otf
/opt/local/X11R6/lib/X11/fonts/opentype/HiraMinPro-W3.otf
/opt/local/X11R6/lib/X11/fonts/opentype/HiraMinPro-W6.otf

fonts/ot/oreilly-otf-2004

preparation
if [ ! -f oreilly-otf-2004.tar.bz2 ]; then
[ ! -d oreilly-otf-2004 ] && mkdir oreilly-otf-2004
(cd oreilly-otf-2004
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MunhwaGothicStd-Bold.otf
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MunhwaGothicStd-Regular.otf
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MunhwaHoonminStd-Regular.otf
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MunhwaMyungjoStd-Bold.otf
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MunhwaMyungjoStd-Regular.otf
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MunhwaScriptFreestyleStd-Bold.otf
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MunhwaScriptFreestyleStd-Light.otf
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MunhwaScriptStd-Bold.otf
wget -N ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/MunhwaScriptStd-Light.otf
)
tar cvjf oreilly-otf-2004.tar.bz2 oreilly-otf-2004
else
tar xvjf oreilly-otf-2004.tar.bz2
fi
installation
mkdir -p /opt/local/X11R6/lib/X11/fonts/opentype && cp *.otf /opt/local/X11R6/lib/X11/fonts/opentype
installed
/opt/local/X11R6/lib/X11/fonts/opentype/MunhwaGothicStd-Bold.otf
/opt/local/X11R6/lib/X11/fonts/opentype/MunhwaGothicStd-Regular.otf
/opt/local/X11R6/lib/X11/fonts/opentype/MunhwaHoonminStd-Regular.otf
/opt/local/X11R6/lib/X11/fonts/opentype/MunhwaMyungjoStd-Bold.otf
/opt/local/X11R6/lib/X11/fonts/opentype/MunhwaMyungjoStd-Regular.otf
/opt/local/X11R6/lib/X11/fonts/opentype/MunhwaScriptFreestyleStd-Bold.otf
/opt/local/X11R6/lib/X11/fonts/opentype/MunhwaScriptFreestyleStd-Light.otf
/opt/local/X11R6/lib/X11/fonts/opentype/MunhwaScriptStd-Bold.otf
/opt/local/X11R6/lib/X11/fonts/opentype/MunhwaScriptStd-Light.otf

fonts/tt/arphic-1999

preparation
if [ ! -f arphic-1999.tar.bz2 ]; then
[ ! -d arphic-1999 ] && mkdir arphic-1999
(cd arphic-1999 &&
curl -O -C - ftp://ftp.gnu.org/pub/non-gnu/chinese-fonts-truetype/bkai00mp.ttf.gz
curl -O -C - ftp://ftp.gnu.org/pub/non-gnu/chinese-fonts-truetype/bsmi00lp.ttf.gz
curl -O -C - ftp://ftp.gnu.org/pub/non-gnu/chinese-fonts-truetype/gbsn00lp.ttf.gz
curl -O -C - ftp://ftp.gnu.org/pub/non-gnu/chinese-fonts-truetype/gkai00mp.ttf.gz
)
tar cvjf arphic-1999.tar.bz2 arphic-1999
else
tar xvjf arphic-1999.tar.bz2
fi
(cd arphic-1999 && patch -p0 < ../arphic-1999-sakuya.patch)
build
sh fonts.dir-out.sh 
patch
--- ./fonts.dir-out.sh~	2005-09-02 22:53:50.000000000 +0900
+++ ./fonts.dir-out.sh	2005-09-02 22:55:37.000000000 +0900
@@ -0,0 +1,60 @@
+#!/bin/sh
+countline(){
+  wc -l | sed -e 's/^[ 	]*//'
+}
+fonts_dir_org=/opt/local/X11R6/lib/X11/fonts/truetype/fonts.dir
+fonts_dir=fonts.dir
+cp /dev/null $fonts_dir
+for phase in 1 2; do
+  case $phase in
+  1)
+    filter=countline
+    ;;
+  2)
+    filter=cat
+    ;;
+  esac
+  ([ -f "$fonts_dir_org" ] && sed -ne '2,$p' "$fonts_dir_org" | fgrep -v arphic
+  for f_f in\
+	arphic-zenkai\
+	arphic-shanheisun\
+	arphic-bousungeg\
+	arphic-gbzenkai\
+; do
+    case $f_f in
+	arphic-zenkai)		ttf=bkai00mp.ttf	;;
+	arphic-shanheisun)	ttf=bsmi00lp.ttf	;;
+	arphic-bousungeg)	ttf=gbsn00lp.ttf	;;
+	arphic-gbzenkai)	ttf=gkai00mp.ttf	;;
+    esac
+    for kind in\
+	normal\
+	slant\
+; do
+    case $kind in
+    normal)
+      ai=
+      s=r
+      ;;
+    slant)
+      ai='ai=0.2:'
+      s=s
+      ;;
+    esac
+    cat <<EOF
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-iso8859-1
+${ai}${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-big5.eten-0
+${ai}${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-cns11643.1992-1
+${ai}${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-cns11643.1992-2
+${ai}${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-cns11643.1992-3
+${ai}${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-cns11643.1992-4
+${ai}${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-cns11643.1992-5
+${ai}${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-cns11643.1992-6
+${ai}${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-cns11643.1992-7
+${ai}${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-gb2312.80&gb8565.88-0
+${ai}${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-gb2312.1980-0
+${ai}${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-iso10646-1
+EOF
+    done
+  done) | $filter >> $fonts_dir
+done
installation
mkdir -p /opt/local/X11R6/lib/X11/fonts/truetype && cp *.ttf.gz fonts.dir /opt/local/X11R6/lib/X11/fonts/truetype && gunzip /opt/local/X11R6/lib/X11/fonts/truetype/*.ttf.gz
installed
/opt/local/X11R6/lib/X11/fonts/truetype/bkai00mp.ttf
/opt/local/X11R6/lib/X11/fonts/truetype/bsmi00lp.ttf
/opt/local/X11R6/lib/X11/fonts/truetype/fonts.dir
/opt/local/X11R6/lib/X11/fonts/truetype/gbsn00lp.ttf
/opt/local/X11R6/lib/X11/fonts/truetype/gkai00mp.ttf

fonts/tt/baekmuk-2002

preparation
curl -O -C - ftp://ftp.mizi.com/pub/baekmuk/baekmuk-ttf-2.1.tar.gz
[ ! -d baekmuk-2002 ] && mkdir baekmuk-2002
(cd baekmuk-2002 && tar xvzf ../baekmuk-ttf-2.1.tar.gz)
(cd baekmuk-2002 && patch -p0 < ../baekmuk-2002-sakuya.patch)
build
sh fonts.dir-out.sh 
patch
--- ./fonts.dir-out.sh~	2005-09-02 22:57:23.000000000 +0900
+++ ./fonts.dir-out.sh	2005-09-02 22:56:48.000000000 +0900
@@ -0,0 +1,51 @@
+#!/bin/sh
+countline(){
+  wc -l | sed -e 's/^[ 	]*//'
+}
+fonts_dir_org=/opt/local/X11R6/lib/X11/fonts/truetype/fonts.dir
+fonts_dir=fonts.dir
+cp /dev/null $fonts_dir
+for phase in 1 2; do
+  case $phase in
+  1)
+    filter=countline
+    ;;
+  2)
+    filter=cat
+    ;;
+  esac
+  ([ -f "$fonts_dir_org" ] && sed -ne '2,$p' "$fonts_dir_org" | fgrep -v baekmuk
+  for f_f in\
+	baekmuk-batang\
+	baekmuk-dotum\
+	baekmuk-gulim\
+	baekmuk-headline\
+; do
+    case $f_f in
+	baekmuk-batang)		ttf=batang.ttf	;;
+	baekmuk-dotum)		ttf=dotum.ttf	;;
+	baekmuk-gulim)		ttf=gulim.ttf	;;
+	baekmuk-headline)	ttf=hline.ttf	;;
+    esac
+    for kind in\
+	normal\
+	slant\
+; do
+    case $kind in
+    normal)
+      ai=
+      s=r
+      ;;
+    slant)
+      ai='ai=0.2:'
+      s=s
+      ;;
+    esac
+    cat <<EOF
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-iso8859-1
+${ai}${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-ksx1001.1998-0
+${ai}${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-iso10646-1
+EOF
+    done
+  done) | $filter >> $fonts_dir
+done
installation
mkdir -p /opt/local/X11R6/lib/X11/fonts/truetype && cp *.ttf fonts.dir /opt/local/X11R6/lib/X11/fonts/truetype
installed
/opt/local/X11R6/lib/X11/fonts/truetype/batang.ttf
/opt/local/X11R6/lib/X11/fonts/truetype/dotum.ttf
/opt/local/X11R6/lib/X11/fonts/truetype/fonts.dir
/opt/local/X11R6/lib/X11/fonts/truetype/gulim.ttf
/opt/local/X11R6/lib/X11/fonts/truetype/hline.ttf

fonts/tt/macosx-c-ttf-2005

preparation
LN(){
  [ -f "$1" ] && ln -sf "$1" "$2"
}
evallines(){
  while read line; do
    eval $line
  done
}
[ ! -d macosx-c-ttf-2005 ] && mkdir -p macosx-c-ttf-2005
(cd macosx-c-ttf-2005 &&
cat <<EOF | iconv -f UTF-8 -t UTF-8-MAC | evallines
LN "/Library/Fonts/儷宋 Pro.ttf"	LiSongPro.ttf
LN "/Library/Fonts/华文仿宋.ttf"	STFangsong.ttf
LN "/Library/Fonts/华文宋体.ttf"	STSong.ttf
LN "/Library/Fonts/华文楷体.ttf"	STKaiti.ttf
LN "/System/Library/Fonts/儷黑 Pro.ttf"	LiHeiPro.ttf
LN "/System/Library/Fonts/华文细黑.ttf"	STXihei.ttf
LN "/System/Library/Fonts/华文黑体.ttf"	STHeiti.ttf
EOF
)
installation
LN(){
  [ -f "$1" ] && ln -sf "$1" "$2"
}
evallines(){
  while read line; do
    eval $line
  done
}
[ ! -d /opt/local/X11R6/lib/X11/fonts/truetype ] && mkdir -p /opt/local/X11R6/lib/X11/fonts/truetype
(cd /opt/local/X11R6/lib/X11/fonts/truetype &&
cat <<EOF | iconv -f UTF-8 -t UTF-8-MAC | evallines
LN "/Library/Fonts/儷宋 Pro.ttf"	LiSongPro.ttf
LN "/Library/Fonts/华文仿宋.ttf"	STFangsong.ttf
LN "/Library/Fonts/华文宋体.ttf"	STSong.ttf
LN "/Library/Fonts/华文楷体.ttf"	STKaiti.ttf
LN "/System/Library/Fonts/儷黑 Pro.ttf"	LiHeiPro.ttf
LN "/System/Library/Fonts/华文细黑.ttf"	STXihei.ttf
LN "/System/Library/Fonts/华文黑体.ttf"	STHeiti.ttf
EOF
)
installed
/opt/local/X11R6/lib/X11/fonts/truetype/LiHeiPro.ttf
/opt/local/X11R6/lib/X11/fonts/truetype/LiSongPro.ttf
/opt/local/X11R6/lib/X11/fonts/truetype/STFangsong.ttf
/opt/local/X11R6/lib/X11/fonts/truetype/STHeiti.ttf
/opt/local/X11R6/lib/X11/fonts/truetype/STKaiti.ttf
/opt/local/X11R6/lib/X11/fonts/truetype/STSong.ttf
/opt/local/X11R6/lib/X11/fonts/truetype/STXihei.ttf

fonts/tt/macosx-u-ttf-2005

preparation
LN(){
  [ -f "$1" ] && ln -sf "$1" "$2"
}
evallines(){
  while read line; do
    eval $line
  done
}
[ ! -d macosx-u-ttf-2005 ] && mkdir -p macosx-u-ttf-2005
(cd macosx-u-ttf-2005 &&
cat <<EOF | iconv -f EUC-JP -t UTF-8-MAC | evallines
#LN "$HOME/Library/Fonts/Batang.ttf"	.
#LN "$HOME/Library/Fonts/Gulim.ttf"	.
LN "$HOME/Library/Fonts/MS Gothic.ttf"		msgothic.ttf
LN "$HOME/Library/Fonts/MS Mincho.ttf"		msmincho.ttf
LN "$HOME/Library/Fonts/MS PGothic.ttf"		mspgothic.ttf
LN "$HOME/Library/Fonts/MS PMincho.ttf"		mspmincho.ttf
#LN "$HOME/Library/Fonts/PMingLiU.ttf"	.
#LN "$HOME/Library/Fonts/SimSun.ttf"	.
EOF
)
build
sh fonts.dir-out.sh 
patch
--- ./fonts.dir-out.sh~	2005-09-03 02:23:22.000000000 +0900
+++ ./fonts.dir-out.sh	2005-09-03 02:34:04.000000000 +0900
@@ -0,0 +1,68 @@
+#!/bin/sh
+countline(){
+  wc -l | sed -e 's/^[ 	]*//'
+}
+fonts_dir_org=/opt/local/X11R6/lib/X11/fonts/truetype/fonts.dir
+fonts_dir=fonts.dir
+cp /dev/null $fonts_dir
+for phase in 1 2; do
+  case $phase in
+  1)
+    filter=countline
+    ;;
+  2)
+    filter=cat
+    ;;
+  esac
+  ([ -f "$fonts_dir_org" ] && sed -ne '2,$p' "$fonts_dir_org" | grep -v 'ms-p*\(gothic\|mincho\)'
+  for ttf in\
+	msgothic.ttf\
+	msmincho.ttf\
+	mspgothic.ttf\
+	mspmincho.ttf\
+; do
+    case $ttf in
+	msgothic.ttf)	f_f='ms-gothic'		; spc=c	;;
+	msmincho.ttf)	f_f='ms-mincho'		; spc=c	;;
+	mspgothic.ttf)	f_f='ms-pgothic'	; spc=p	;;
+	mspmincho.ttf)	f_f='ms-pmincho'	; spc=p	;;
+    esac
+    wgt=normal
+    for kind in\
+	normal\
+	slant\
+; do
+    case $kind in
+    normal)
+      ai=
+      [ $spc = c ] && bw='bw=0.5:' || bw=
+      s=r
+      ;;
+    slant)
+      ai='ai=0.2:'
+      [ $spc = c ] && bw='bw=0.5:' || bw=
+      s=s
+      ;;
+    esac
+    cat <<EOF
+${ai}${bw}${ttf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-iso8859-1
+${ai}${bw}${ttf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-iso8859-2
+${ai}${bw}${ttf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-iso8859-3
+${ai}${bw}${ttf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-iso8859-4
+${ai}${bw}${ttf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-iso8859-5
+${ai}${bw}${ttf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-iso8859-9
+${ai}${bw}${ttf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-iso8859-10
+${ai}${bw}${ttf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-iso8859-13
+${ai}${bw}${ttf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-koi8-r
+${ai}${bw}${ttf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-koi8-u
+${ai}${bw}${ttf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-koi8-e
+${ai}${bw}${ttf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-adobe-standard
+${ai}${bw}${ttf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-ibm-cp437
+${ai}${bw}${ttf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-jisx0201.1976-0
+${ai}${ttf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-jisx0208.1983-0
+${ai}${ttf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-jisx0208.1990-0
+${ai}${ttf} -${f_f}-medium-${s}-${wgt}--0-0-0-0-${spc}-0-iso10646-1
+EOF
+    done
+  done) | $filter >> $fonts_dir
+done
installation
LN(){
  [ -f "$1" ] && ln -sf "$1" "$2"
}
evallines(){
  while read line; do
    eval $line
  done
}
[ ! -d /opt/local/X11R6/lib/X11/fonts/truetype ] && mkdir -p /opt/local/X11R6/lib/X11/fonts/truetype
(cd /opt/local/X11R6/lib/X11/fonts/truetype &&
cat <<EOF | iconv -f UTF-8 -t UTF-8-MAC | evallines
#LN "$HOME/Library/Fonts/Batang.ttf"	.
#LN "$HOME/Library/Fonts/Gulim.ttf"	.
LN "$HOME/Library/Fonts/MS Gothic.ttf"		msgothic.ttf
LN "$HOME/Library/Fonts/MS Mincho.ttf"		msmincho.ttf
LN "$HOME/Library/Fonts/MS PGothic.ttf"		mspgothic.ttf
LN "$HOME/Library/Fonts/MS PMincho.ttf"		mspmincho.ttf
#LN "$HOME/Library/Fonts/PMingLiU.ttf"	.
#LN "$HOME/Library/Fonts/SimSun.ttf"	.
EOF
)
cp fonts.dir /opt/local/X11R6/lib/X11/fonts/truetype
installed
/opt/local/X11R6/lib/X11/fonts/truetype/fonts.dir
/opt/local/X11R6/lib/X11/fonts/truetype/msgothic.ttf
/opt/local/X11R6/lib/X11/fonts/truetype/msmincho.ttf
/opt/local/X11R6/lib/X11/fonts/truetype/mspgothic.ttf
/opt/local/X11R6/lib/X11/fonts/truetype/mspmincho.ttf

fonts/tt/opfc-ModuleHP-1.1.1_withIPAFonts

preparation
curl -RO -C - http://keihanna.dl.sourceforge.jp/opfc/13897/opfc-ModuleHP-1.1.1_withIPAFonts.tar.gz
tar xvzf opfc-ModuleHP-1.1.1_withIPAFonts.tar.gz '*/fonts'
(cd opfc-ModuleHP-1.1.1_withIPAFonts && patch -p0 < ../opfc-ModuleHP-1.1.1_withIPAFonts-sakuya.patch)
build
(cd fonts && sh fonts.dir-out.sh)
patch
--- ./fonts/fonts.dir-out.sh~	2005-09-02 23:07:44.000000000 +0900
+++ ./fonts/fonts.dir-out.sh	2005-09-02 23:03:23.000000000 +0900
@@ -0,0 +1,67 @@
+#!/bin/sh
+countline(){
+  wc -l | sed -e 's/^[ 	]*//'
+}
+fonts_dir_org=/opt/local/X11R6/lib/X11/fonts/truetype/fonts.dir
+fonts_dir=fonts.dir
+cp /dev/null $fonts_dir
+for phase in 1 2; do
+  case $phase in
+  1)
+    filter=countline
+    ;;
+  2)
+    filter=cat
+    ;;
+  esac
+  ([ -f "$fonts_dir_org" ] && sed -ne '2,$p' "$fonts_dir_org" | fgrep -v ipa
+  for f_f in\
+	ipa-mincho\
+	ipa-pmincho\
+	ipa-gothic\
+	ipa-pgothic\
+	ipa-uigothic\
+; do
+    case $f_f in
+	ipa-mincho)	ttf=ipam.ttf	; spc=c	;;
+	ipa-pmincho)	ttf=ipamp.ttf	; spc=p	;;
+	ipa-gothic)	ttf=ipag.ttf	; spc=c	;;
+	ipa-pgothic)	ttf=ipagp.ttf	; spc=p	;;
+	ipa-uigothic)	ttf=ipagui.ttf	; spc=p	;;
+    esac
+    for kind in\
+	normal\
+	slant\
+; do
+    case $kind in
+    normal)
+      ai=
+      s=r
+      ;;
+    slant)
+      ai='ai=0.2:'
+      s=s
+      ;;
+    esac
+    cat <<EOF
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-${spc}-0-iso8859-1
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-${spc}-0-iso8859-2
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-${spc}-0-iso8859-3
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-${spc}-0-iso8859-4
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-${spc}-0-iso8859-5
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-${spc}-0-iso8859-9
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-${spc}-0-iso8859-10
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-${spc}-0-iso8859-13
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-${spc}-0-koi8-r
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-${spc}-0-koi8-u
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-${spc}-0-koi8-e
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-${spc}-0-adobe-standard
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-${spc}-0-ibm-cp437
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-${spc}-0-jisx0201.1976-0
+${ai}${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-${spc}-0-jisx0208.1983-0
+${ai}${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-${spc}-0-jisx0208.1990-0
+${ai}${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-${spc}-0-iso10646-1
+EOF
+    done
+  done) | $filter >> $fonts_dir
+done
installation
(cd fonts && mkdir -p /opt/local/X11R6/lib/X11/fonts/truetype && cp *.ttf fonts.dir /opt/local/X11R6/lib/X11/fonts/truetype)
installed
/opt/local/X11R6/lib/X11/fonts/truetype/fonts.dir
/opt/local/X11R6/lib/X11/fonts/truetype/ipag.ttf
/opt/local/X11R6/lib/X11/fonts/truetype/ipagp.ttf
/opt/local/X11R6/lib/X11/fonts/truetype/ipagui.ttf
/opt/local/X11R6/lib/X11/fonts/truetype/ipam.ttf
/opt/local/X11R6/lib/X11/fonts/truetype/ipamp.ttf

fonts/tt/sazanami-20040629

preparation
curl -RO -C - http://osdn.dl.sourceforge.jp/efont/10087/sazanami-20040629.tar.bz2
tar xvjf sazanami-20040629.tar.bz2
(cd sazanami-20040629 && patch -p0 < ../sazanami-20040629-sakuya.patch)
build
sh fonts.dir-out.sh 
patch
--- ./fonts.dir-out.sh~	2005-09-02 23:10:54.000000000 +0900
+++ ./fonts.dir-out.sh	2005-09-02 23:10:09.000000000 +0900
@@ -0,0 +1,58 @@
+#!/bin/sh
+countline(){
+  wc -l | sed -e 's/^[ 	]*//'
+}
+fonts_dir_org=/opt/local/X11R6/lib/X11/fonts/truetype/fonts.dir
+fonts_dir=fonts.dir
+cp /dev/null $fonts_dir
+for phase in 1 2; do
+  case $phase in
+  1)
+    filter=countline
+    ;;
+  2)
+    filter=cat
+    ;;
+  esac
+  ([ -f "$fonts_dir_org" ] && sed -ne '2,$p' "$fonts_dir_org" | fgrep -v sazanami
+  for f_f in\
+	sazanami-mincho\
+	sazanami-gothic\
+; do
+    ttf=${f_f}.ttf
+    for kind in\
+	normal\
+	slant\
+; do
+    case $kind in
+    normal)
+      ai=
+      s=r
+      ;;
+    slant)
+      ai='ai=0.2:'
+      s=s
+      ;;
+    esac
+    cat <<EOF
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-iso8859-1
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-iso8859-2
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-iso8859-3
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-iso8859-4
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-iso8859-5
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-iso8859-9
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-iso8859-10
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-iso8859-13
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-koi8-r
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-koi8-u
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-koi8-e
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-adobe-standard
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-ibm-cp437
+${ai}bw=0.5:${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-jisx0201.1976-0
+${ai}${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-jisx0208.1983-0
+${ai}${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-jisx0208.1990-0
+${ai}${ttf} -${f_f}-medium-${s}-normal--0-0-0-0-c-0-iso10646-1
+EOF
+    done
+  done) | $filter >> $fonts_dir
+done
installation
mkdir -p /opt/local/X11R6/lib/X11/fonts/truetype && cp *.ttf fonts.dir /opt/local/X11R6/lib/X11/fonts/truetype
installed
/opt/local/X11R6/lib/X11/fonts/truetype/fonts.dir
/opt/local/X11R6/lib/X11/fonts/truetype/sazanami-gothic.ttf
/opt/local/X11R6/lib/X11/fonts/truetype/sazanami-mincho.ttf

img/ImageMagick-6.2.3

preparation
curl -RO -C - http://ring.atr.jp/archives/graphics/ImageMagick/ImageMagick-6.2.3-5.tar.bz2
tar xvjf ImageMagick-6.2.3-5.tar.bz2
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local --with-bzlib --with-dps --without-fpx --with-ttf --without-gslib --without-gvc --without-jbig --with-jpeg --without-jp2 --with-lcms --with-magick-plus-plus --without-perl --with-png --with-tiff --without-wmf --with-x --with-xml --with-zlib
make
installed
/opt/local/bin/animate
/opt/local/bin/compare
/opt/local/bin/composite
/opt/local/bin/conjure
/opt/local/bin/convert
/opt/local/bin/display
/opt/local/bin/identify
/opt/local/bin/import
/opt/local/bin/Magick++-config
/opt/local/bin/Magick-config
/opt/local/bin/mogrify
/opt/local/bin/montage
/opt/local/bin/Wand-config
/opt/local/include/magick/animate.h
/opt/local/include/magick/annotate.h
/opt/local/include/magick/api.h
/opt/local/include/magick/attribute.h
/opt/local/include/magick/blob.h
/opt/local/include/magick/cache-view.h
/opt/local/include/magick/cache.h
/opt/local/include/magick/client.h
/opt/local/include/magick/coder.h
/opt/local/include/magick/color.h
/opt/local/include/magick/colorspace.h
/opt/local/include/magick/compare.h
/opt/local/include/magick/composite.h
/opt/local/include/magick/compress.h
/opt/local/include/magick/configure.h
/opt/local/include/magick/conjure.h
/opt/local/include/magick/constitute.h
/opt/local/include/magick/convert.h
/opt/local/include/magick/decorate.h
/opt/local/include/magick/delegate.h
/opt/local/include/magick/deprecate.h
/opt/local/include/magick/display.h
/opt/local/include/magick/draw.h
/opt/local/include/magick/effect.h
/opt/local/include/magick/enhance.h
/opt/local/include/magick/exception.h
/opt/local/include/magick/fx.h
/opt/local/include/magick/gem.h
/opt/local/include/magick/geometry.h
/opt/local/include/magick/hashmap.h
/opt/local/include/magick/identify.h
/opt/local/include/magick/image.h
/opt/local/include/magick/ImageMagick.h
/opt/local/include/magick/import.h
/opt/local/include/magick/list.h
/opt/local/include/magick/locale_.h
/opt/local/include/magick/log.h
/opt/local/include/magick/magic.h
/opt/local/include/magick/magick-config.h
/opt/local/include/magick/magick-type.h
/opt/local/include/magick/magick.h
/opt/local/include/magick/memory_.h
/opt/local/include/magick/methods.h
/opt/local/include/magick/module.h
/opt/local/include/magick/mogrify.h
/opt/local/include/magick/monitor.h
/opt/local/include/magick/montage.h
/opt/local/include/magick/option.h
/opt/local/include/magick/paint.h
/opt/local/include/magick/pixel.h
/opt/local/include/magick/prepress.h
:

img/giflib-4.1.3

preparation
curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/libungif/giflib-4.1.3.tar.bz2
tar xvjf giflib-4.1.3.tar.bz2
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/gif2epsn
/opt/local/bin/gif2ps
/opt/local/bin/gif2rgb
/opt/local/bin/gif2x11
/opt/local/bin/gifasm
/opt/local/bin/gifbg
/opt/local/bin/gifburst
/opt/local/bin/gifclip
/opt/local/bin/gifclrmp
/opt/local/bin/gifcolor
/opt/local/bin/gifcomb
/opt/local/bin/gifcompose
/opt/local/bin/giffiltr
/opt/local/bin/giffix
/opt/local/bin/gifflip
/opt/local/bin/gifhisto
/opt/local/bin/gifinfo
/opt/local/bin/gifinter
/opt/local/bin/gifinto
/opt/local/bin/gifovly
/opt/local/bin/gifpos
/opt/local/bin/gifrotat
/opt/local/bin/gifrsize
/opt/local/bin/gifspnge
/opt/local/bin/giftext
/opt/local/bin/gifwedge
/opt/local/bin/icon2gif
/opt/local/bin/raw2gif
/opt/local/bin/rgb2gif
/opt/local/bin/text2gif
/opt/local/include/gif_lib.h
/opt/local/lib/libgif.4.1.3.dylib
/opt/local/lib/libgif.4.dylib
/opt/local/lib/libgif.a
/opt/local/lib/libgif.dylib
/opt/local/lib/libgif.la

img/imlib-1.9.15

preparation
curl -RO -C - http://ftp.gnome.org/pub/GNOME/sources/imlib/1.9/imlib-1.9.15.tar.bz2
tar xvjf imlib-1.9.15.tar.bz2
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/imlib-config
/opt/local/etc/im_palette-small.pal
/opt/local/etc/im_palette-tiny.pal
/opt/local/etc/im_palette.pal
/opt/local/etc/imrc
/opt/local/include/Imlib.h
/opt/local/include/Imlib_private.h
/opt/local/include/Imlib_types.h
/opt/local/lib/libImlib.1.9.15.dylib
/opt/local/lib/libImlib.1.dylib
/opt/local/lib/libImlib.a
/opt/local/lib/libImlib.dylib
/opt/local/lib/libImlib.la
/opt/local/lib/pkgconfig/imlib.pc
/opt/local/lib/pkgconfig/imlibgdk.pc
/opt/local/man/man1/imlib-config.1
/opt/local/share/aclocal/imlib.m4

img/jpeg-6b

preparation
curl -RO -C - http://ring.atr.jp/archives/graphics/ImageMagick/delegates/jpegsrc.v6b.tar.gz
tar xvzf jpegsrc.v6b.tar.gz
(cd jpeg-6b;
cp -p /sw/lib/fink/update/config* .
cp -p /sw/lib/fink/update/config* .
cp -p /sw/lib/fink/update/lt* .
)
build
./configure --prefix=/opt/local --enable-shared --enable-static
[ ! -f libtool.org ] && cp -p libtool libtool.org
sed -e 's/-undefined suppress//g;s/-flat_namespace//g' libtool.org > libtool
chmod +x libtool
make 
installation
make install install-lib 
installed
/opt/local/bin/cjpeg
/opt/local/bin/djpeg
/opt/local/bin/jpegtran
/opt/local/bin/rdjpgcom
/opt/local/bin/wrjpgcom
/opt/local/include/jconfig.h
/opt/local/include/jerror.h
/opt/local/include/jmorecfg.h
/opt/local/include/jpeglib.h
/opt/local/lib/libjpeg.62.0.0.dylib
/opt/local/lib/libjpeg.62.dylib
/opt/local/lib/libjpeg.a
/opt/local/lib/libjpeg.dylib
/opt/local/lib/libjpeg.la
/opt/local/man/man1/cjpeg.1
/opt/local/man/man1/djpeg.1
/opt/local/man/man1/jpegtran.1
/opt/local/man/man1/rdjpgcom.1
/opt/local/man/man1/wrjpgcom.1

img/lcms-1.14

preparation
curl -RO -C - http://www.littlecms.com/lcms-1.14.tar.gz
tar xvzf lcms-1.14.tar.gz
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local --with-jpeg --with-tiff --with-zlib --without-python 
make 
installed
/opt/local/bin/icc2ps
/opt/local/bin/icclink
/opt/local/bin/icctrans
/opt/local/bin/jpegicc
/opt/local/bin/tifficc
/opt/local/bin/wtpt
/opt/local/include/icc34.h
/opt/local/include/lcms.h
/opt/local/lib/liblcms.1.0.14.dylib
/opt/local/lib/liblcms.1.dylib
/opt/local/lib/liblcms.a
/opt/local/lib/liblcms.dylib
/opt/local/lib/liblcms.la
/opt/local/lib/pkgconfig/lcms.pc
/opt/local/man/man1/icc2ps.1
/opt/local/man/man1/icclink.1
/opt/local/man/man1/jpegicc.1
/opt/local/man/man1/tifficc.1
/opt/local/man/man1/wtpt.1

img/libpng-1.2.8

preparation
curl -RO -C - http://ring.atr.jp/archives/graphics/ImageMagick/delegates/libpng-1.2.8.tar.bz2
tar xvjf libpng-1.2.8.tar.bz2
build
ln -s scripts/makefile.darwin Makefile
make prefix=/opt/local ZLIBLIB=/usr/lib ZLIBINC=/usr/include

installation
make prefix=/opt/local install 
installed
/opt/local/bin/libpng-config
/opt/local/bin/libpng12-config
/opt/local/include/libpng
/opt/local/include/libpng12/png.h
/opt/local/include/libpng12/pngconf.h
/opt/local/include/png.h
/opt/local/include/pngconf.h
/opt/local/lib/libpng.3.1.2.8.dylib
/opt/local/lib/libpng.3.dylib
/opt/local/lib/libpng.a
/opt/local/lib/libpng.dylib
/opt/local/lib/libpng12.0.1.2.8.dylib
/opt/local/lib/libpng12.0.dylib
/opt/local/lib/libpng12.a
/opt/local/lib/libpng12.dylib
/opt/local/lib/pkgconfig/libpng.pc
/opt/local/lib/pkgconfig/libpng12.pc
/opt/local/man/man3/libpng.3
/opt/local/man/man3/libpngpf.3
/opt/local/man/man5/png.5

img/tiff-3.7.3

preparation
curl -RO -C - http://ring.atr.jp/archives/graphics/ImageMagick/delegates/tiff-3.7.3.tar.gz
tar xvzf tiff-3.7.3.tar.gz
build
./configure --prefix=/opt/local --with-zlib-include-dir=/usr/include --with-zlib-lib-dir=/usr/lib --with-jpeg-include-dir=/opt/local/include --with-jpeg-lib-dir=/opt/local/lib --with-apple-opengl-framework 
make 
installed
/opt/local/bin/bmp2tiff
/opt/local/bin/fax2ps
/opt/local/bin/fax2tiff
/opt/local/bin/gif2tiff
/opt/local/bin/pal2rgb
/opt/local/bin/ppm2tiff
/opt/local/bin/ras2tiff
/opt/local/bin/raw2tiff
/opt/local/bin/rgb2ycbcr
/opt/local/bin/thumbnail
/opt/local/bin/tiff2bw
/opt/local/bin/tiff2pdf
/opt/local/bin/tiff2ps
/opt/local/bin/tiff2rgba
/opt/local/bin/tiffcmp
/opt/local/bin/tiffcp
/opt/local/bin/tiffdither
/opt/local/bin/tiffdump
/opt/local/bin/tiffgt
/opt/local/bin/tiffinfo
/opt/local/bin/tiffmedian
/opt/local/bin/tiffset
/opt/local/bin/tiffsplit
/opt/local/include/tiff.h
/opt/local/include/tiffconf.h
/opt/local/include/tiffio.h
/opt/local/include/tiffio.hxx
/opt/local/include/tiffvers.h
/opt/local/lib/libtiff.3.7.3.dylib
/opt/local/lib/libtiff.3.dylib
/opt/local/lib/libtiff.a
/opt/local/lib/libtiff.dylib
/opt/local/lib/libtiff.la
/opt/local/lib/libtiffxx.3.7.3.dylib
/opt/local/lib/libtiffxx.3.dylib
/opt/local/lib/libtiffxx.a
/opt/local/lib/libtiffxx.dylib
/opt/local/lib/libtiffxx.la
/opt/local/man/man1/bmp2tiff.1
/opt/local/man/man1/fax2ps.1
/opt/local/man/man1/fax2tiff.1
/opt/local/man/man1/gif2tiff.1
/opt/local/man/man1/pal2rgb.1
/opt/local/man/man1/ppm2tiff.1
/opt/local/man/man1/ras2tiff.1
/opt/local/man/man1/raw2tiff.1
/opt/local/man/man1/rgb2ycbcr.1
/opt/local/man/man1/sgi2tiff.1
/opt/local/man/man1/thumbnail.1
/opt/local/man/man1/tiff2bw.1
/opt/local/man/man1/tiff2pdf.1
/opt/local/man/man1/tiff2ps.1
/opt/local/man/man1/tiff2rgba.1
/opt/local/man/man1/tiffcmp.1
/opt/local/man/man1/tiffcp.1
/opt/local/man/man1/tiffdither.1
/opt/local/man/man1/tiffdump.1
/opt/local/man/man1/tiffgt.1
/opt/local/man/man1/tiffinfo.1
/opt/local/man/man1/tiffmedian.1
/opt/local/man/man1/tiffset.1
/opt/local/man/man1/tiffsplit.1
/opt/local/man/man1/tiffsv.1
/opt/local/man/man3/libtiff.3tiff
:

input/Canna37p3

preparation
curl -RO -C - http://keihanna.dl.sourceforge.jp/canna/9565/Canna37p3.tar.bz2
tar xvjf Canna37p3.tar.bz2
(cd Canna37p3; patch -b -z.org -p0 < ../Canna37p3-sakuya.patch)
build
xmkmf 
make canna 
patch
--- ./canna/widedef.h.org	2003-12-28 02:15:20.000000000 +0900
+++ ./canna/widedef.h	2005-07-23 01:53:04.000000000 +0900
@@ -32,7 +32,7 @@
 #endif
 
 #if (defined(__FreeBSD__) && __FreeBSD_version < 500000) \
-    || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
+    || defined(__NetBSD__) || defined(__OpenBSD__)/* || defined(__APPLE__)*/
 # include <machine/ansi.h>
 #endif
 
--- ./Canna.conf.org	2004-05-20 00:48:47.000000000 +0900
+++ ./Canna.conf	2005-07-23 01:53:28.000000000 +0900
@@ -109,7 +109,7 @@
 # define DefErrDir $(cannaPrefix)/log
 # define DefLibCannaDir $(cannaExecPrefix)/lib
 #else 
-# define DefCannaPrefix /usr/local/canna
+# define DefCannaPrefix /opt/local/canna
 # ifdef ObsoleteInstallDir
 #  define DefErrDir /usr/spool/canna
 #  define DefLibCannaDir /usr/lib
@@ -169,8 +169,8 @@
 #define ModernElfLink NO /* experimental */
 
 
-cannaOwner = bin
-cannaGroup = bin
+cannaOwner = nobody
+cannaGroup = nobody
 
 #ifdef InstallAsUser
 cannaOwnerGroup =
installed
/opt/local/canna/bin/addwords
/opt/local/canna/bin/canlisp
/opt/local/canna/bin/cannacheck
/opt/local/canna/bin/cannastat
/opt/local/canna/bin/catdic
/opt/local/canna/bin/chkconc
/opt/local/canna/bin/chmoddic
/opt/local/canna/bin/cpdic
/opt/local/canna/bin/crfreq
/opt/local/canna/bin/crxdic
/opt/local/canna/bin/crxgram
/opt/local/canna/bin/cshost
/opt/local/canna/bin/ctow
/opt/local/canna/bin/delwords
/opt/local/canna/bin/dicar
/opt/local/canna/bin/dpbindic
/opt/local/canna/bin/dpromdic
/opt/local/canna/bin/dpxdic
/opt/local/canna/bin/forcpp
/opt/local/canna/bin/forsort
/opt/local/canna/bin/kpdic
/opt/local/canna/bin/lsdic
/opt/local/canna/bin/mergeword
/opt/local/canna/bin/mkbindic
/opt/local/canna/bin/mkdic
/opt/local/canna/bin/mkromdic
/opt/local/canna/bin/mvdic
/opt/local/canna/bin/rmdic
/opt/local/canna/bin/splitword
/opt/local/canna/bin/syncdic
/opt/local/canna/bin/wtoc
/opt/local/canna/include/canna/jrkanji.h
/opt/local/canna/include/canna/keydef.h
/opt/local/canna/include/canna/mfdef.h
/opt/local/canna/include/canna/pubconf.h
/opt/local/canna/include/canna/RK.h
/opt/local/canna/include/canna/sysdep.h
/opt/local/canna/lib/libcanna.1.2.dylib
/opt/local/canna/lib/libcanna.1.dylib
/opt/local/canna/lib/libcanna.a
/opt/local/canna/lib/libcanna.dylib
/opt/local/canna/lib/libcanna16.1.2.dylib
/opt/local/canna/lib/libcanna16.1.dylib
/opt/local/canna/lib/libcanna16.a
/opt/local/canna/lib/libcanna16.dylib
/opt/local/canna/lib/libRKC.1.2.dylib
/opt/local/canna/lib/libRKC.1.dylib
/opt/local/canna/lib/libRKC.a
/opt/local/canna/lib/libRKC.dylib
/opt/local/canna/lib/libRKC16.1.2.dylib
/opt/local/canna/lib/libRKC16.1.dylib
/opt/local/canna/lib/libRKC16.a
/opt/local/canna/lib/libRKC16.dylib
/opt/local/canna/man/ja/man1/addwords.1
/opt/local/canna/man/ja/man1/cannacheck.1
/opt/local/canna/man/ja/man1/cannakill.1
/opt/local/canna/man/ja/man1/cannaserver.1
/opt/local/canna/man/ja/man1/cannastat.1
/opt/local/canna/man/ja/man1/catdic.1
/opt/local/canna/man/ja/man1/chmoddic.1
/opt/local/canna/man/ja/man1/cpdic.1
/opt/local/canna/man/ja/man1/cshost.1
/opt/local/canna/man/ja/man1/ctow.1
/opt/local/canna/man/ja/man1/delwords.1
:
host_configuration
if false; then
if [ ! -f /System/Library/LaunchDaemons/jp.sourceforge.cannaserver.plist ]; then
  cat <<EOF > /System/Library/LaunchDaemons/jp.sourceforge.cannaserver.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Disabled</key>
	<true/>
	<key>Label</key>
	<string>jp.sourceforge.cannaserver</string>
	<key>OnDemand</key>
	<false/>
	<key>Program</key>
	<string>/opt/local/canna/sbin/cannaserver</string>
	<key>ProgramArguments</key>
	<array>
		<string>cannaserver</string>
		<string>-u</string>
		<string>nobody</string>
		<string>-g</string>
		<string>nobody</string>
		<string>-inet</string>
	</array>
	<key>ServiceIPC</key>
	<false/>
</dict>
</plist>
EOF
fi
#launchctl load -w /System/Library/LaunchDaemons/jp.sourceforge.cannaserver.plist
else
[ ! -d /System/Library/StartupItems/CannaServer ] && \
mkdir /System/Library/StartupItems/CannaServer
if [ ! -f /System/Library/StartupItems/CannaServer/CannaServer ]; then
  cat <<EOF > /System/Library/StartupItems/CannaServer/CannaServer
#!/bin/sh

##
# Canna Server
##

. /etc/rc.common

StartService ()
{

	[ -S /tmp/.iroha_unix/IROHA ] && /opt/local/canna/sbin/cannakill
	rm -f /tmp/.iroha_unix/IROHA
	touch /var/log/CANNA0msgs
	chown nobody /var/log/CANNA0msgs
	chgrp nobody /var/log/CANNA0msgs
	/opt/local/canna/sbin/cannaserver -u nobody -g nobody -inet
}

StopService ()
{
	/opt/local/canna/sbin/cannakill
}

RestartService () { StopService; StartService; }

RunService "\$1"
EOF
  chmod +x /System/Library/StartupItems/CannaServer/CannaServer
fi
if [ ! -f /System/Library/StartupItems/CannaServer/StartupParameters.plist ]; then
  cat <<EOF > /System/Library/StartupItems/CannaServer/StartupParameters.plist
{
  Description     = "Canna Server";
  Provides        = ("Canna Server");
}
EOF
fi
#/System/Library/StartupItems/CannaServer/CannaServer start
fi

input/FreeWnn-20030620

preparation
#cvs -d:pserver:anonymous@cvs.sourceforge.jp:/cvsroot/freewnn login
#cvs -d:pserver:anonymous@cvs.sourceforge.jp:/cvsroot/freewnn co FreeWnn
[ ! -d FreeWnn-20030620 ] && mkdir FreeWnn-20030620
(cd FreeWnn; tar cf - .) | (cd FreeWnn-20030620; tar xvf -)
tar cvjf FreeWnn-20030620.tar.bz2 FreeWnn-20030620
build
./configure --prefix=/opt/local --with-libwrap
make WNNOWNER=nobody
installation
make WNNOWNER=nobody install install.man
installed
/opt/local/bin/cWnn4/catod
/opt/local/bin/cWnn4/catof
/opt/local/bin/cWnn4/cdtoa
/opt/local/bin/cWnn4/cserver
/opt/local/bin/cWnn4/cwddel
/opt/local/bin/cWnn4/cwdreg
/opt/local/bin/cWnn4/cwnnkill
/opt/local/bin/cWnn4/cwnnstat
/opt/local/bin/cWnn4/cwnntouch
/opt/local/bin/cWnn4/tserver
/opt/local/bin/kWnn4/katod
/opt/local/bin/kWnn4/katof
/opt/local/bin/kWnn4/kdtoa
/opt/local/bin/kWnn4/kserver
/opt/local/bin/kWnn4/kwddel
/opt/local/bin/kWnn4/kwdreg
/opt/local/bin/kWnn4/kwnnkill
/opt/local/bin/kWnn4/kwnnstat
/opt/local/bin/kWnn4/kwnntouch
/opt/local/bin/Wnn4/atod
/opt/local/bin/Wnn4/atof
/opt/local/bin/Wnn4/dtoa
/opt/local/bin/Wnn4/jserver
/opt/local/bin/Wnn4/oldatonewa
/opt/local/bin/Wnn4/wddel
/opt/local/bin/Wnn4/wdreg
/opt/local/bin/Wnn4/wnnkill
/opt/local/bin/Wnn4/wnnstat
/opt/local/bin/Wnn4/wnntouch
/opt/local/include/cwnn/commonhd.h
/opt/local/include/cwnn/cplib.h
/opt/local/include/cwnn/jllib.h
/opt/local/include/cwnn/jslib.h
/opt/local/include/cwnn/msg.h
/opt/local/include/cwnn/rk_spclval.h
/opt/local/include/cwnn/wnnerror.h
/opt/local/include/kwnn/commonhd.h
/opt/local/include/kwnn/cplib.h
/opt/local/include/kwnn/jllib.h
/opt/local/include/kwnn/jslib.h
/opt/local/include/kwnn/msg.h
/opt/local/include/kwnn/rk_spclval.h
/opt/local/include/kwnn/wnnerror.h
/opt/local/include/wnn/commonhd.h
/opt/local/include/wnn/config.h
/opt/local/include/wnn/cplib.h
/opt/local/include/wnn/jlib.h
/opt/local/include/wnn/jllib.h
/opt/local/include/wnn/jslib.h
/opt/local/include/wnn/msg.h
/opt/local/include/wnn/rk_spclval.h
/opt/local/include/wnn/wnn_config.h
/opt/local/include/wnn/wnnerror.h
/opt/local/lib/libcwnn.0.0.0.dylib
/opt/local/lib/libcwnn.0.dylib
/opt/local/lib/libcwnn.a
/opt/local/lib/libcwnn.dylib
/opt/local/lib/libcwnn.la
/opt/local/lib/libjd.0.0.0.dylib
/opt/local/lib/libjd.0.dylib
/opt/local/lib/libjd.a
/opt/local/lib/libjd.dylib
/opt/local/lib/libjd.la
/opt/local/lib/libkwnn.0.0.0.dylib
:
host_configuration
if false; then
if [ ! -f /System/Library/LaunchDaemons/org.freewnn.jserver.plist ]; then
  cat <<EOF > /System/Library/LaunchDaemons/org.freewnn.jserver.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Disabled</key>
	<true/>
	<key>Label</key>
	<string>org.freewnn.jserver</string>
	<key>OnDemand</key>
	<false/>
	<key>Program</key>
	<string>/opt/local/bin/Wnn4/jserver</string>
	<key>ProgramArguments</key>
	<array>
		<string>jserver</string>
	</array>
	<key>ServiceIPC</key>
	<false/>
</dict>
</plist>
EOF
fi
#launchctl load -w /System/Library/LaunchDaemons/org.freewnn.jserver.plist
else
[ ! -d /System/Library/StartupItems/FreeWnnJServer ] && \
mkdir /System/Library/StartupItems/FreeWnnJServer
if [ ! -f /System/Library/StartupItems/FreeWnnJServer/FreeWnnJServer ]; then
  cat <<EOF > /System/Library/StartupItems/FreeWnnJServer/FreeWnnJServer
#!/bin/sh

##
# FreeWnn JServer
##

. /etc/rc.common

StartService ()
{
	/opt/local/bin/Wnn4/jserver
}

StopService ()
{
	/opt/local/bin/Wnn4/wnnkill localhost
}

RestartService () { StopService; StartService; }

RunService "\$1"
EOF
  chmod +x /System/Library/StartupItems/FreeWnnJServer/FreeWnnJServer
fi
if [ ! -f /System/Library/StartupItems/FreeWnnJServer/StartupParameters.plist ]; then
  cat <<EOF > /System/Library/StartupItems/FreeWnnJServer/StartupParameters.plist
{
  Description     = "FreeWnn JServer";
  Provides        = ("FreeWnn JServer");
}
EOF
fi
#/System/Library/StartupItems/FreeWnnJServer/FreeWnnJServer start
fi

input/anthy-6700b

preparation
curl -RO -C - http://osdn.dl.sourceforge.jp/anthy/15414/anthy-6700b.tar.gz
tar xvzf anthy-6700b.tar.gz
build
./configure --prefix=/opt/local
env PATH=/opt/local/bin:$PATH make
installed
/opt/local/bin/anthy-agent
/opt/local/bin/anthy-dic-tool
/opt/local/etc/anthy-conf
/opt/local/include/anthy/anthy.h
/opt/local/include/anthy/dicutil.h
/opt/local/include/anthy/input.h
/opt/local/lib/libanthy.0.1.0.dylib
/opt/local/lib/libanthy.0.dylib
/opt/local/lib/libanthy.a
/opt/local/lib/libanthy.dylib
/opt/local/lib/libanthy.la
/opt/local/lib/libanthydic.0.1.0.dylib
/opt/local/lib/libanthydic.0.dylib
/opt/local/lib/libanthydic.a
/opt/local/lib/libanthydic.dylib
/opt/local/lib/libanthydic.la
/opt/local/lib/libanthyinput.0.0.0.dylib
/opt/local/lib/libanthyinput.0.dylib
/opt/local/lib/libanthyinput.a
/opt/local/lib/libanthyinput.dylib
/opt/local/lib/libanthyinput.la
/opt/local/lib/pkgconfig/anthy.pc
/opt/local/share/anthy/a.depword
/opt/local/share/anthy/ajv.depword
/opt/local/share/anthy/anthy.dic
/opt/local/share/anthy/av.depword
/opt/local/share/anthy/conjugate.depword
/opt/local/share/anthy/conjugate.table
/opt/local/share/anthy/dic-tool-usage.txt
/opt/local/share/anthy/fix.depword
/opt/local/share/anthy/indepword.txt
/opt/local/share/anthy/master.depword
/opt/local/share/anthy/noun-variant.depword
/opt/local/share/anthy/noun.depword
/opt/local/share/anthy/typetab
/opt/local/share/anthy/v.depword
/opt/local/share/emacs/site-lisp/anthy/anthy-azik.el
/opt/local/share/emacs/site-lisp/anthy/anthy-azik.elc
/opt/local/share/emacs/site-lisp/anthy/anthy-conf.el
/opt/local/share/emacs/site-lisp/anthy/anthy-conf.elc
/opt/local/share/emacs/site-lisp/anthy/anthy-dic.el
/opt/local/share/emacs/site-lisp/anthy/anthy-dic.elc
/opt/local/share/emacs/site-lisp/anthy/anthy-isearch.el
/opt/local/share/emacs/site-lisp/anthy/anthy-isearch.elc
/opt/local/share/emacs/site-lisp/anthy/anthy-kyuri.el
/opt/local/share/emacs/site-lisp/anthy/anthy-kyuri.elc
/opt/local/share/emacs/site-lisp/anthy/anthy.el
/opt/local/share/emacs/site-lisp/anthy/anthy.elc
/opt/local/share/emacs/site-lisp/anthy/leim-list.el

input/tamago-20020909

preparation
#cvs -d:pserver:anonymous@cvs.m17n.org:/cvs/tamago login
#cvs -d:pserver:anonymous@cvs.m17n.org:/cvs/tamago co tamago
curl -RO -C - http://www.meadowy.org/~shirai/elips/egg-anthy.tar.gz
[ ! -d tamago-20020909 ] && mkdir tamago-20020909
(cd tamago && tar cf - .) | (cd tamago-20020909 && tar xvf -)
tar cvjf tamago-20020909.tar.bz2 tamago-20020909
tar xvzf egg-anthy.tar.gz
mv egg-anthy-20050510/* tamago-20020909/egg && rm -rf egg-anthy-20050510
build
./configure --prefix=/opt/local
env PATH=/opt/local/bin:$PATH make
installation
env PATH=/opt/local/bin:$PATH make install
installed
/opt/local/share/emacs/site-lisp/egg/egg/anthy.el
/opt/local/share/emacs/site-lisp/egg/egg/anthy.elc
/opt/local/share/emacs/site-lisp/egg/egg/anthyipc.el
/opt/local/share/emacs/site-lisp/egg/egg/anthyipc.elc
/opt/local/share/emacs/site-lisp/egg/egg/canna.el
/opt/local/share/emacs/site-lisp/egg/egg/canna.elc
/opt/local/share/emacs/site-lisp/egg/egg/cannarpc.el
/opt/local/share/emacs/site-lisp/egg/egg/cannarpc.elc
/opt/local/share/emacs/site-lisp/egg/egg/sj3.el
/opt/local/share/emacs/site-lisp/egg/egg/sj3.elc
/opt/local/share/emacs/site-lisp/egg/egg/sj3rpc.el
/opt/local/share/emacs/site-lisp/egg/egg/sj3rpc.elc
/opt/local/share/emacs/site-lisp/egg/egg/wnn.el
/opt/local/share/emacs/site-lisp/egg/egg/wnn.elc
/opt/local/share/emacs/site-lisp/egg/egg/wnnrpc.el
/opt/local/share/emacs/site-lisp/egg/egg/wnnrpc.elc
/opt/local/share/emacs/site-lisp/egg/egg-cnv.el
/opt/local/share/emacs/site-lisp/egg/egg-cnv.elc
/opt/local/share/emacs/site-lisp/egg/egg-com.el
/opt/local/share/emacs/site-lisp/egg/egg-com.elc
/opt/local/share/emacs/site-lisp/egg/egg-edep.el
/opt/local/share/emacs/site-lisp/egg/egg-edep.elc
/opt/local/share/emacs/site-lisp/egg/egg-mlh.el
/opt/local/share/emacs/site-lisp/egg/egg-mlh.elc
/opt/local/share/emacs/site-lisp/egg/egg-sim.el
/opt/local/share/emacs/site-lisp/egg/egg-sim.elc
/opt/local/share/emacs/site-lisp/egg/egg.el
/opt/local/share/emacs/site-lisp/egg/egg.elc
/opt/local/share/emacs/site-lisp/egg/eggrc
/opt/local/share/emacs/site-lisp/egg/its/ascii.el
/opt/local/share/emacs/site-lisp/egg/its/ascii.elc
/opt/local/share/emacs/site-lisp/egg/its/aynu.el
/opt/local/share/emacs/site-lisp/egg/its/aynu.elc
/opt/local/share/emacs/site-lisp/egg/its/bixing.el
/opt/local/share/emacs/site-lisp/egg/its/bixing.elc
/opt/local/share/emacs/site-lisp/egg/its/erpin.el
/opt/local/share/emacs/site-lisp/egg/its/erpin.elc
/opt/local/share/emacs/site-lisp/egg/its/greek.el
/opt/local/share/emacs/site-lisp/egg/its/greek.elc
/opt/local/share/emacs/site-lisp/egg/its/hangul.el
/opt/local/share/emacs/site-lisp/egg/its/hangul.elc
/opt/local/share/emacs/site-lisp/egg/its/hankata.el
/opt/local/share/emacs/site-lisp/egg/its/hankata.elc
/opt/local/share/emacs/site-lisp/egg/its/hira.el
/opt/local/share/emacs/site-lisp/egg/its/hira.elc
/opt/local/share/emacs/site-lisp/egg/its/jeonkak.el
/opt/local/share/emacs/site-lisp/egg/its/jeonkak.elc
/opt/local/share/emacs/site-lisp/egg/its/kata.el
/opt/local/share/emacs/site-lisp/egg/its/kata.elc
/opt/local/share/emacs/site-lisp/egg/its/pinyin.el
/opt/local/share/emacs/site-lisp/egg/its/pinyin.elc
/opt/local/share/emacs/site-lisp/egg/its/quanjiao.el
/opt/local/share/emacs/site-lisp/egg/its/quanjiao.elc
/opt/local/share/emacs/site-lisp/egg/its/thai.el
/opt/local/share/emacs/site-lisp/egg/its/thai.elc
/opt/local/share/emacs/site-lisp/egg/its/zenkaku.el
/opt/local/share/emacs/site-lisp/egg/its/zenkaku.elc
/opt/local/share/emacs/site-lisp/egg/its/zhuyin.el
/opt/local/share/emacs/site-lisp/egg/its/zhuyin.elc
/opt/local/share/emacs/site-lisp/egg/its-keydef.el
/opt/local/share/emacs/site-lisp/egg/its-keydef.elc
/opt/local/share/emacs/site-lisp/egg/its.el
/opt/local/share/emacs/site-lisp/egg/its.elc
/opt/local/share/emacs/site-lisp/egg/leim-list.el
:

input/uim-0.4.7

preparation
curl -RO -C - http://uim.freedesktop.org/releases/uim-0.4.7.tar.gz
tar xvzf uim-0.4.7.tar.gz
build
env\
	PATH=/opt/local/bin:$PATH\
	CPPFLAGS='-I/opt/local/include -I/opt/local/canna/include'\
	LDFLAGS='-L/opt/local/lib -L/opt/local/canna/lib'\
	./configure --prefix=/opt/local\
	--with-m17nlib\
	--without-scim\
	--with-anthy\
	--with-canna\
	--without-prime\
	--with-x\
	--with-xft\
	--without-gtk2\
	--without-gnome2\
	--without-qt\
	--with-eb\
;
make
installed
/opt/local/bin/uim-fep
/opt/local/bin/uim-fep-tick
/opt/local/bin/uim-helper-server
/opt/local/bin/uim-sh
/opt/local/bin/uim-xim
/opt/local/include/uim/plugin.h
/opt/local/include/uim/uim-compat-scm.h
/opt/local/include/uim/uim-custom.h
/opt/local/include/uim/uim-helper.h
/opt/local/include/uim/uim-im-switcher.h
/opt/local/include/uim/uim-scm.h
/opt/local/include/uim/uim-util.h
/opt/local/include/uim/uim.h
/opt/local/lib/libuim-custom.0.0.1.dylib
/opt/local/lib/libuim-custom.0.dylib
/opt/local/lib/libuim-custom.a
/opt/local/lib/libuim-custom.dylib
/opt/local/lib/libuim-custom.la
/opt/local/lib/libuim.0.0.1.dylib
/opt/local/lib/libuim.0.dylib
/opt/local/lib/libuim.a
/opt/local/lib/libuim.dylib
/opt/local/lib/libuim.la
/opt/local/lib/pkgconfig/uim.pc
/opt/local/lib/uim/plugin/libuim-anthy.a
/opt/local/lib/uim/plugin/libuim-anthy.la
/opt/local/lib/uim/plugin/libuim-anthy.so
/opt/local/lib/uim/plugin/libuim-canna.a
/opt/local/lib/uim/plugin/libuim-canna.la
/opt/local/lib/uim/plugin/libuim-canna.so
/opt/local/lib/uim/plugin/libuim-custom-enabler.a
/opt/local/lib/uim/plugin/libuim-custom-enabler.la
/opt/local/lib/uim/plugin/libuim-custom-enabler.so
/opt/local/lib/uim/plugin/libuim-skk.a
/opt/local/lib/uim/plugin/libuim-skk.la
/opt/local/lib/uim/plugin/libuim-skk.so
/opt/local/man/man1/uim-xim.1
/opt/local/share/applications/uim.desktop
/opt/local/share/uim/action.scm
/opt/local/share/uim/anthy-custom.scm
/opt/local/share/uim/anthy-key-custom.scm
/opt/local/share/uim/anthy.scm
/opt/local/share/uim/canna-custom.scm
/opt/local/share/uim/canna-key-custom.scm
/opt/local/share/uim/canna.scm
/opt/local/share/uim/custom-rt.scm
/opt/local/share/uim/custom.scm
/opt/local/share/uim/default.scm
/opt/local/share/uim/direct.scm
/opt/local/share/uim/generic-custom.scm
/opt/local/share/uim/generic-key-custom.scm
/opt/local/share/uim/generic.scm
/opt/local/share/uim/hangul.scm
/opt/local/share/uim/hangul2.scm
/opt/local/share/uim/hangul3.scm
/opt/local/share/uim/i18n.scm
/opt/local/share/uim/im-custom.scm
/opt/local/share/uim/im.scm
/opt/local/share/uim/init.scm
/opt/local/share/uim/installed-modules.scm
/opt/local/share/uim/ipa-x-sampa.scm
/opt/local/share/uim/japanese-azik.scm
/opt/local/share/uim/japanese-kana.scm
/opt/local/share/uim/japanese.scm
:

lang/pdf/xpdf-3.01

preparation
wget -N ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.01.tar.gz
tar xvzf xpdf-3.01.tar.gz
build
env 'CXX=g++ -I/opt/local/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include' 'CPPFLAGS=-I/opt/local/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include' 'LDFLAGS=-L/opt/local/lib -L/usr/X11R6/lib' ./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/pdffonts
/opt/local/bin/pdfimages
/opt/local/bin/pdfinfo
/opt/local/bin/pdftoppm
/opt/local/bin/pdftops
/opt/local/bin/pdftotext
/opt/local/bin/xpdf
/opt/local/etc/xpdfrc
/opt/local/man/man1/pdffonts.1
/opt/local/man/man1/pdfimages.1
/opt/local/man/man1/pdfinfo.1
/opt/local/man/man1/pdftoppm.1
/opt/local/man/man1/pdftops.1
/opt/local/man/man1/pdftotext.1
/opt/local/man/man1/xpdf.1
/opt/local/man/man5/xpdfrc.5

lang/pdf/xpdf-chinese-simplified

preparation
wget -N ftp://ftp.foolabs.com/pub/xpdf/xpdf-chinese-simplified-2004-jul-27.tar.gz
tar xvzf xpdf-chinese-simplified-2004-jul-27.tar.gz
installation
mkdir -p /opt/local/share/xpdf/chinese-simplified && cp Adobe-GB1.cidToUnicode EUC-CN.unicodeMap GBK.unicodeMap ISO-2022-CN.unicodeMap /opt/local/share/xpdf/chinese-simplified 
installed
/opt/local/share/xpdf/chinese-simplified/Adobe-GB1.cidToUnicode
/opt/local/share/xpdf/chinese-simplified/EUC-CN.unicodeMap
/opt/local/share/xpdf/chinese-simplified/GBK.unicodeMap
/opt/local/share/xpdf/chinese-simplified/ISO-2022-CN.unicodeMap

lang/pdf/xpdf-chinese-traditional

preparation
wget -N ftp://ftp.foolabs.com/pub/xpdf/xpdf-chinese-traditional-2004-jul-27.tar.gz
tar xvzf xpdf-chinese-traditional-2004-jul-27.tar.gz
installation
mkdir -p /opt/local/share/xpdf/chinese-traditional && cp Adobe-CNS1.cidToUnicode Big5.unicodeMap Big5ascii.unicodeMap /opt/local/share/xpdf/chinese-traditional 
installed
/opt/local/share/xpdf/chinese-traditional/Adobe-CNS1.cidToUnicode
/opt/local/share/xpdf/chinese-traditional/Big5.unicodeMap
/opt/local/share/xpdf/chinese-traditional/Big5ascii.unicodeMap

lang/pdf/xpdf-japanese

preparation
wget -N ftp://ftp.foolabs.com/pub/xpdf/xpdf-japanese-2004-jul-27.tar.gz
tar xvzf xpdf-japanese-2004-jul-27.tar.gz
installation
mkdir -p /opt/local/share/xpdf/japanese && cp Adobe-Japan1.cidToUnicode EUC-JP.unicodeMap ISO-2022-JP.unicodeMap Shift-JIS.unicodeMap /opt/local/share/xpdf/japanese 
installed
/opt/local/share/xpdf/japanese/Adobe-Japan1.cidToUnicode
/opt/local/share/xpdf/japanese/EUC-JP.unicodeMap
/opt/local/share/xpdf/japanese/ISO-2022-JP.unicodeMap
/opt/local/share/xpdf/japanese/Shift-JIS.unicodeMap

lang/pdf/xpdf-korean

preparation
wget -N ftp://ftp.foolabs.com/pub/xpdf/xpdf-korean-2005-jul-07.tar.gz
tar xvzf xpdf-korean-2005-jul-07.tar.gz
installation
mkdir -p /opt/local/share/xpdf/korean && cp Adobe-Korea1.cidToUnicode ISO-2022-KR.unicodeMap /opt/local/share/xpdf/korean 
installed
/opt/local/share/xpdf/korean/Adobe-Korea1.cidToUnicode
/opt/local/share/xpdf/korean/ISO-2022-KR.unicodeMap

lang/ps/ghostscript-7.07

preparation
curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/ghostscript/ghostscript-7.07.tar.bz2
curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/ghostscript/ghostscript-fonts-std-8.11.tar.gz
curl -RO -C - http://tagoh.jp/junk/ghostscript-7.07-bigposttable.patch
curl -RO -C - http://tagoh.jp/junk/ghostscript-7.07-gsublookuptable.patch
curl -RO -C - http://tagoh.jp/junk/ghostscript-7.07-coverage-glyphcount.patch
curl -RO -C - http://www.aihara.co.jp/~taiji/gyve/tmp/fix_rename_font_gs_cidfn.ps.patch
curl -RO -C - http://www.aihara.co.jp/~taiji/gyve/tmp/fix_cidfontname_Encoding_CIDToGIDMap_DW_W.patch
curl -RO -C - http://www.aihara.co.jp/~taiji/gyve/tmp/modify_ps2pdfwr.patch
curl -RO -C - http://www.aihara.co.jp/~taiji/gyve/tmp/ghostscript-7.07-bigcmaptable.patch
curl -RO -C - http://www.aihara.co.jp/~taiji/gyve/tmp/ghostscript-7.07-noglyph-gid0.patch
curl -RO -C - http://www.aihara.co.jp/~taiji/gyve/tmp/fix_cidfonttype2_Adobe-CNS1-4.patch
curl -RO -C - http://www.aihara.co.jp/~taiji/gyve/tmp/ghostscript-7.07-seekCFFtable.patch
curl -RO -C - http://www.aihara.co.jp/~taiji/gyve/tmp/ghostscript-7.07-readFDSelect.patch
curl -RO -C - http://www.aihara.co.jp/~taiji/gyve/tmp/ghostscript-7.07-write_GSubrs.patch
curl -RO -C - http://www.aihara.co.jp/~taiji/gyve/tmp/ghostscript-7.07-nosyoffsetcheck.patch
curl -RO -C - http://www.aihara.co.jp/~taiji/gyve/tmp/fix_cidfonttype2_Adobe-Japan1-6.patch
curl -RO -C - http://www.aihara.co.jp/~taiji/gyve/tmp/modify_ps2pdfwr-20050921.patch
curl -RO -C - http://www.aihara.co.jp/~taiji/gyve/tmp/ghostscript-7.07-examples_cjk-V.patch
curl -RO -C - http://www.aihara.co.jp/~taiji/gyve/tmp/ghostscript-7.07-write_DW2.patch
#curl -RO -C - http://www.aihara.co.jp/~taiji/gyve/tmp/trash/ghostscript-7.07-type1exec_bbox-nouse_FontBBox_as_Metrics2.patch
#curl -O -C - ftp://ftp.gyve.org/pub/gs-cjk/adobe-cmaps-200211.tar.gz
curl -O -C - ftp://ftp.gyve.org/pub/gs-cjk/adobe-cmaps-200406.tar.gz
curl -O -C - ftp://ftp.gyve.org/pub/gs-cjk/acro5-cmaps-2001.tar.gz
tar xvjf ghostscript-7.07.tar.bz2
(cd ghostscript-7.07
patch -b -p1 -z.orig < ../ghostscript-7.07-bigposttable.patch
patch -b -p1 -z.orig < ../ghostscript-7.07-gsublookuptable.patch
patch -b -p1 -z.orig < ../ghostscript-7.07-coverage-glyphcount.patch
patch -b -p0 -z.orig < ../fix_rename_font_gs_cidfn.ps.patch
patch -b -p0 -z.orig < ../fix_cidfontname_Encoding_CIDToGIDMap_DW_W.patch
(cd lib && patch -b -p0 -z.orig < ../../modify_ps2pdfwr.patch)
patch -b -p0 -z.orig < ../ghostscript-7.07-bigcmaptable.patch
patch -b -p0 -z.orig < ../ghostscript-7.07-noglyph-gid0.patch
patch -b -p0 -z.orig < ../fix_cidfonttype2_Adobe-CNS1-4.patch
patch -b -p0 -z.orig < ../ghostscript-7.07-seekCFFtable.patch
patch -b -p0 -z.orig < ../ghostscript-7.07-readFDSelect.patch
patch -b -p0 -z.orig < ../ghostscript-7.07-write_GSubrs.patch
patch -b -p0 -z.orig < ../ghostscript-7.07-nosyoffsetcheck.patch
patch -b -p0 -z.orig < ../fix_cidfonttype2_Adobe-Japan1-6.patch
(cd lib && patch -b -p0 -z.orig < ../../modify_ps2pdfwr-20050921.patch)
patch -b -p0 -z.orig < ../ghostscript-7.07-examples_cjk-V.patch
patch -b -p0 -z.orig < ../ghostscript-7.07-write_DW2.patch
#patch -b -p0 -z.orig < ../ghostscript-7.07-type1exec_bbox-nouse_FontBBox_as_Metrics2.patch
patch -b -p0 -z.org < ../ghostscript-7.07-sakuya.patch
)
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local/gs7.07 --with-ijs 
make CC='gcc -I/opt/local/include -L/opt/local/lib'
patch
--- ./lib/CIDFnmap.ARP.org	2002-04-02 23:47:42.000000000 +0900
+++ ./lib/CIDFnmap.ARP	2005-11-10 15:02:33.000000000 +0900
@@ -25,10 +25,10 @@
 
 % Adobe-CNS1
 
-/ZenKai-Medium		(bkai00mp.ttf)		;
-/ShanHeiSun-Light	(bsmi00lp.ttf)		;
+/ZenKai-Medium		(/opt/local/X11R6/lib/X11/fonts/truetype/bkai00mp.ttf)		;
+/ShanHeiSun-Light	(/opt/local/X11R6/lib/X11/fonts/truetype/bsmi00lp.ttf)		;
 
 % Adobe-GB1
 
-/BousungEG-Light-GB	(gbsn00lp.ttf)		;
-/GBZenKai-Medium	(gkai00mp.ttf)		;
+/BousungEG-Light-GB	(/opt/local/X11R6/lib/X11/fonts/truetype/gbsn00lp.ttf)		;
+/GBZenKai-Medium	(/opt/local/X11R6/lib/X11/fonts/truetype/gkai00mp.ttf)		;
--- ./lib/CIDFnmap.Bae.org	2002-04-02 23:47:42.000000000 +0900
+++ ./lib/CIDFnmap.Bae	2005-11-10 15:02:33.000000000 +0900
@@ -25,7 +25,7 @@
 
 % Adobe-Korea1
 
-/Baekmuk-Batang		(batang.ttf)		;
-/Baekmuk-Dotum		(dotum.ttf)		;
-/Baekmuk-Gulim		(gulim.ttf)		;
-/Baekmuk-Headline	(hline.ttf)		;
+/Baekmuk-Batang		(/opt/local/X11R6/lib/X11/fonts/truetype/batang.ttf)		;
+/Baekmuk-Dotum		(/opt/local/X11R6/lib/X11/fonts/truetype/dotum.ttf)		;
+/Baekmuk-Gulim		(/opt/local/X11R6/lib/X11/fonts/truetype/gulim.ttf)		;
+/Baekmuk-Headline	(/opt/local/X11R6/lib/X11/fonts/truetype/hline.ttf)		;
--- ./lib/CIDFnmap.CJK.org	2002-04-02 23:47:42.000000000 +0900
+++ ./lib/CIDFnmap.CJK	2005-09-16 04:32:43.000000000 +0900
@@ -24,38 +24,46 @@
 % Fallback aliases for CJK PDF files
 %
 %/Adobe-CNS1		/MOESung-Regular	; % CIDFnmap.Ore
-%/Adobe-CNS1		/ShanHeiSun-Light	; % CIDFnmap.ARP
+/Adobe-CNS1		/ShanHeiSun-Light	; % CIDFnmap.ARP
 %/Adobe-CNS1		/ming			; % CIDFnmap.Sol
 %/Adobe-CNS1		/MingLiU		; % CIDFnmap.Win
 %/Adobe-CNS1		/SimSun-18030-Adobe-CNS1	; % CIDFnmap.Win
+%/Adobe-CNS1		/SimSun-Adobe-CNS1	; % CIDFnmap.OSX
 
 %/Adobe-GB1		/BousungEG-Light-GB	; % CIDFnmap.ARP
 %/Adobe-GB1		/zycjksun		; % CIDFnmap.Sol
 %/Adobe-GB1		/SimSun			; % CIDFnmap.Win
+/Adobe-GB1		/STSong-Regular		; % CIDFnmap.OSX
 
 %/Adobe-Japan1		/WadaMin-Regular	; % CIDFnmap.Ore
 %/Adobe-Japan1		/HG-MinchoL		; % CIDFnmap.Sol
+%/Adobe-Japan1		/IPAMincho		; % CIDFnmap.IPA
 %/Adobe-Japan1		/Kochi-Mincho		; % CIDFnmap.Koc
-%/Adobe-Japan1		/MS-Mincho		; % CIDFnmap.Win
+%/Adobe-Japan1		/Sazanami-Mincho-Regular	; % CIDFnmap.Saz
+%/Adobe-Japan1		/MS-Mincho		; % CIDFnmap.Win|.OSX
+/Adobe-Japan1		/HiraMinPro-W3		; % CIDFnmap.OSX
 
 %/Adobe-Japan2		/WadaMin-RegularH	; % CIDFnmap.Ore
 %/Adobe-Japan2		/HeiseiMin-W3H		; % CIDFnmap.Sol
-%/Adobe-Japan2		/MS-Mincho-Adobe-Japan2		; % CIDFnmap.Win
+/Adobe-Japan2		/MS-Mincho-Adobe-Japan2		; % CIDFnmap.Win|.OSX
 
 %/Adobe-Korea1		/Munhwa-Regular		; % CIDFnmap.Ore
 %/Adobe-Korea1		/Baekmuk-Batang		; % CIDFnmap.Bae
 %/Adobe-Korea1		/Myeongjo		; % CIDFnmap.Sol
-%/Adobe-Korea1		/Batang			; % CIDFnmap.Win
+/Adobe-Korea1		/Batang			; % CIDFnmap.Win|.OSX
 
 %
 % Convenient aliases for PS files on Traditional Chinese PostScript printer
 %
 %/MSung-Light		/MOESung-Regular	; % CIDFnmap.Ore
 %/MSung-Light		/SimSun-18030-Adobe-CNS1	; % CIDFnmap.Win
-%/MSung-Medium		/ShanHeiSun-Light	; % CIDFnmap.ARP
+%/MSung-Light		/SimSun-Adobe-CNS1	; % CIDFnmap.OSX
+/MSung-Medium		/ShanHeiSun-Light	; % CIDFnmap.ARP
 %/MHei-Medium		/ShanHeiSun-Light	; % CIDFnmap.ARP
 %/MHei-Medium		/hei			; % CIDFnmap.Sol
-%/MKai-Medium		/ZenKai-Medium		; % CIDFnmap.ARP
+%/MHei-Medium		/STHeiti-Regular-Adobe-CNS1	; % CIDFnmap.OSX
+%/MHei-Medium		/STHeiti-Light-Adobe-CNS1	; % CIDFnmap.OSX
+/MKai-Medium		/ZenKai-Medium		; % CIDFnmap.ARP
 %/MKai-Medium		/kai			; % CIDFnmap.Sol
 
 %
@@ -63,11 +71,14 @@
 %
 %/STSong-Light		/BousungEG-Light-GB	; % CIDFnmap.ARP
 %/STSong-Light		/zycjksun		; % CIDFnmap.Sol
-%/STSong-Light		/SimSun			; % CIDFnmap.Win
+%/STSong-Light		/SimSun			; % CIDFnmap.Win|.OSX
+%/STSong-Light		/STSong-Regular		; % CIDFnmap.OSX
 %/STFangsong-Light	/zycjkfangs		; % CIDFnmap.Sol
-%/STFangsong-Light	/SimSun			; % CIDFnmap.Win
+%/STFangsong-Light	/SimSun			; % CIDFnmap.Win|.OSX
+/STFangsong-Light	/STFangsong-Regular	; % CIDFnmap.OSX
 %/STHeiti-Regular	/zycjkhei		; % CIDFnmap.Sol
 %/STHeiti-Regular	/SimHei			; % CIDFnmap.Win
+%/STHeiti-Regular	/LiHei-Pro-Medium	; % CIDFnmap.OSX
 %/STKaiti-Regular	/GBZenKai-Medium	; % CIDFnmap.ARP
 %/STKaiti-Regular	/zycjkkai		; % CIDFnmap.Sol
 
@@ -76,22 +87,29 @@
 %
 %/Ryumin-Light		/WadaMin-Regular	; % CIDFnmap.Ore
 %/Ryumin-Light		/HG-MinchoL		; % CIDFnmap.Sol
+%/Ryumin-Light		/IPAMincho		; % CIDFnmap.IPA
 %/Ryumin-Light		/Kochi-Mincho		; % CIDFnmap.Koc
-%/Ryumin-Light		/MS-Mincho		; % CIDFnmap.Win
+%/Ryumin-Light		/Sazanami-Mincho-Regular	; % CIDFnmap.Saz
+%/Ryumin-Light		/MS-Mincho		; % CIDFnmap.Win|.OSX
+/Ryumin-Light		/HiraMinPro-W3		; % CIDFnmap.OSX
 %/GothicBBB-Medium	/WadaGo-Bold		; % CIDFnmap.Ore
 %/GothicBBB-Medium	/HG-GothicB		; % CIDFnmap.Sol
+%/GothicBBB-Medium	/IPAGothic		; % CIDFnmap.IPA
 %/GothicBBB-Medium	/Kochi-Gothic		; % CIDFnmap.Koc
-%/GothicBBB-Medium	/MS-Gothic		; % CIDFnmap.Win
+%/GothicBBB-Medium	/Sazanami-Gothic-Regular	; % CIDFnmap.Saz
+%/GothicBBB-Medium	/MS-Gothic		; % CIDFnmap.Win|.OSX
+/GothicBBB-Medium	/HiraKakuPro-W3		; % CIDFnmap.OSX
 %/HeiseiMin-W3		/MS-Mincho		; % CIDFnmap.Win
 %/HeiseiKakuGo-W5	/MS-Gothic		; % CIDFnmap.Win
 
+/WadaMin-RegularH	/Adobe-Japan2		;
 %/HeiseiMin-W3H		/WadaMin-RegularH	; % CIDFnmap.Ore
-%/HeiseiMin-W3H		/MS-Mincho-Adobe-Japan2	; % CIDFnmap.Win
+/HeiseiMin-W3H		/MS-Mincho-Adobe-Japan2	; % CIDFnmap.Win|.OSX
 %/HeiseiKakuGo-W5H	/WadaMaruGo-RegularH	; % CIDFnmap.Ore
-%/HeiseiKakuGo-W5H	/MS-Gothic-Adobe-Japan2	; % CIDFnmap.Win
+/HeiseiKakuGo-W5H	/MS-Gothic-Adobe-Japan2	; % CIDFnmap.Win|.OSX
 
-%/KozMin-Regular	/MS-Mincho		; % CIDFnmap.Win
-%/KozMinPro-Regular	/MS-PMincho		; % CIDFnmap.Win
+%/KozGoPro-Medium	/MS-Gothic		; % CIDFnmap.Win|.OSX
+%/KozMinPro-Regular	/MS-Mincho		; % CIDFnmap.Win|.OSX
 
 %
 % Convenient aliases for PS files on Korean PostScript printer
@@ -101,15 +119,15 @@
 %/HYGoThic-Medium	/Gothic			; % CIDFnmap.Sol
 %/HYGoThic-Medium	/Dotum			; % CIDFnmap.Win
 %/HYGungSo-Bold		/Gungsuh		; % CIDFnmap.Win
-%/HYKHeadLine-Bold	/Baekmuk-Headline	; % CIDFnmap.Bae
-%/HYKHeadLine-Medium	/Baekmuk-Headline	; % CIDFnmap.Bae
+/HYKHeadLine-Bold	/Baekmuk-Headline	; % CIDFnmap.Bae
+/HYKHeadLine-Medium	/Baekmuk-Headline	; % CIDFnmap.Bae
 %/HYSMyeongJo-Medium	/Munhwa-Regular		; % CIDFnmap.Ore
 %/HYSMyeongJo-Medium	/Baekmuk-Batang		; % CIDFnmap.Bae
 %/HYSMyeongJo-Medium	/Myeongjo		; % CIDFnmap.Sol
-%/HYSMyeongJo-Medium	/Batang			; % CIDFnmap.Win
+%/HYSMyeongJo-Medium	/Batang			; % CIDFnmap.Win|.OSX
 %/HYRGoThic-Medium	/Baekmuk-Gulim		; % CIDFnmap.Bae
 %/HYRGoThic-Medium	/RoundedGothic		; % CIDFnmap.Sol
-%/HYRGoThic-Medium	/Gulim			; % CIDFnmap.Win
+/HYRGoThic-Medium	/Gulim			; % CIDFnmap.Win|.OSX
 
 %
 % Convenient aliases for PS files on Traditional Chinese Acrobat Distiller
--- ./lib/CIDFnmap.IPA.org	2005-11-10 15:02:33.000000000 +0900
+++ ./lib/CIDFnmap.IPA	2005-09-17 16:06:58.000000000 +0900
@@ -0,0 +1,30 @@
+%!
+% Copyright (C) 2005 Taiji Yamada and gs-cjk project
+%
+% This file is part of GNU Ghostscript.
+%
+% GNU Ghostscript is distributed in the hope that it will be useful, but
+% WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility
+% to anyone for the consequences of using it or for whether it serves any
+% particular purpose or works at all, unless he says so in writing. Refer
+% to the GNU General Public License for full details.
+%
+% Everyone is granted permission to copy, modify and redistribute GNU
+% Ghostscript, but only under the conditions described in the GNU General
+% Public License.  A copy of this license is supposed to have been given
+% to you along with GNU Ghostscript so you can know your rights and
+% responsibilities.  It should be in a file named COPYING.  Among other
+% things, the copyright notice and this notice must be preserved on all
+% copies.
+
+% CID fontmap for IPA truetype fonts
+
+%
+% IPA Mincho and Gothic - TrueType
+% URL: http://opfc.sourceforge.jp/
+%
+/IPAGothic	(/opt/local/X11R6/lib/X11/fonts/truetype/ipag.ttf)	;
+/IPAMincho	(/opt/local/X11R6/lib/X11/fonts/truetype/ipam.ttf)	;
+/IPAPGothic	(/opt/local/X11R6/lib/X11/fonts/truetype/ipagp.ttf)	;
+/IPAPMincho	(/opt/local/X11R6/lib/X11/fonts/truetype/ipamp.ttf)	;
+/IPAUIGothic	(/opt/local/X11R6/lib/X11/fonts/truetype/ipagui.ttf)	;
--- ./lib/CIDFnmap.Ore.org	2002-04-02 23:47:42.000000000 +0900
+++ ./lib/CIDFnmap.Ore	2005-09-16 00:11:44.000000000 +0900
@@ -43,6 +43,7 @@
 
 % Adobe-Korea1
 
+/Munhwa-Bold			(Munhwa-Bold)			;
 /Munhwa-Regular			(Munhwa-Regular)		;
 /MunhwaGothic-Bold		(MunhwaGothic-Bold)		;
 /MunhwaGothic-Regular		(MunhwaGothic-Regular)		;
@@ -51,3 +52,13 @@
 /MunhwaGungSeoHeulim-Bold	(MunhwaGungSeoHeulim-Bold)	;
 /MunhwaGungSeoHeulim-Light	(MunhwaGungSeoHeulim-Light)	;
 /MunhwaHoonMin-Regular		(MunhwaHoonMin-Regular)	        ;
+
+/MunhwaGothicStd-Bold		(/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/MunhwaGothicStd-Bold.otf)			;
+/MunhwaGothicStd-Regular	(/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/MunhwaGothicStd-Regular.otf)		;
+/MunhwaHoonminStd-Regular	(/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/MunhwaHoonminStd-Regular.otf)		;
+/MunhwaMyungjoStd-Bold		(/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/MunhwaMyungjoStd-Bold.otf)		;
+/MunhwaMyungjoStd-Regular	(/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/MunhwaMyungjoStd-Regular.otf)		;
+/MunhwaScriptFreestyleStd-Bold	(/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/MunhwaScriptFreestyleStd-Bold.otf)	;
+/MunhwaScriptFreestyleStd-Light	(/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/MunhwaScriptFreestyleStd-Light.otf)	;
+/MunhwaScriptStd-Bold		(/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/MunhwaScriptStd-Bold.otf)			;
+/MunhwaScriptStd-Light		(/opt/local/gs7.07/share/ghostscript/Resource/CIDFont/MunhwaScriptStd-Light.otf)		;
--- ./lib/CIDFnmap.org	2002-04-02 23:47:42.000000000 +0900
+++ ./lib/CIDFnmap	2005-09-15 04:45:07.000000000 +0900
@@ -135,14 +135,18 @@
 % in particular, you must leave at least one space or tab between each
 % field in the entry.  
 
-%(CIDFnmap.Ore) .runlibfile
-%(CIDFnmap.ARP) .runlibfile
-%(CIDFnmap.Bae) .runlibfile
+(CIDFnmap.Ore) .runlibfile
+
+(CIDFnmap.ARP) .runlibfile
+(CIDFnmap.Bae) .runlibfile
+(CIDFnmap.IPA) .runlibfile
 %(CIDFnmap.Koc) .runlibfile
+(CIDFnmap.Saz) .runlibfile
 %(CIDFnmap.Sol) .runlibfile
 %(CIDFnmap.Win) .runlibfile
+(CIDFnmap.OSX) .runlibfile
 
-%(CIDFnmap.CJK) .runlibfile
+(CIDFnmap.CJK) .runlibfile
 
 % native CIDFontName (BIG5) in traditional Chinese
 %(CIDFnmap.b5) .runlibfile
--- ./lib/CIDFnmap.OSX.org	2005-11-10 15:11:51.000000000 +0900
+++ ./lib/CIDFnmap.OSX	2005-09-17 18:11:46.000000000 +0900
@@ -0,0 +1,52 @@
+
+% Adobe-CNS1
+
+/PMingLiU	(/Applications/Office 2004 for Mac Test Drive/Office/Fonts/PMingLiU.ttf)	;
+
+/SimSun-Adobe-CNS1	(/Applications/Office 2004 for Mac Test Drive/Office/Fonts/SimSun.ttf)	/Adobe-CNS1-Unicode	;
+
+% Can't handle format 12
+%/LiHeiPro-Medium	(/opt/local/X11R6/lib/X11/fonts/truetype/LiHeiPro.ttf)		/Adobe-CNS1-Unicode	;
+%/LiSongPro-Light	(/opt/local/X11R6/lib/X11/fonts/truetype/LiSongPro.ttf)	/Adobe-CNS1-Unicode	;
+
+/STHeiti-Regular-Adobe-CNS1	(/opt/local/X11R6/lib/X11/fonts/truetype/STHeiti.ttf)		/Adobe-CNS1-Unicode	;
+/STHeiti-Light-Adobe-CNS1	(/opt/local/X11R6/lib/X11/fonts/truetype/STXihei.ttf)		/Adobe-CNS1-Unicode	;
+/STFangsong-Regular-Adobe-CNS1	(/opt/local/X11R6/lib/X11/fonts/truetype/STFangsong.ttf)	/Adobe-CNS1-Unicode	;
+/STSong-Regular-Adobe-CNS1	(/opt/local/X11R6/lib/X11/fonts/truetype/STSong.ttf)		/Adobe-CNS1-Unicode	;
+/STKaiti-Regular-Adobe-CNS1	(/opt/local/X11R6/lib/X11/fonts/truetype/STKaiti.ttf)		/Adobe-CNS1-Unicode	;
+
+% Adobe-GB1
+
+/SimSun		(/Applications/Office 2004 for Mac Test Drive/Office/Fonts/SimSun.ttf)		;
+
+/STHeiti-Regular	(/opt/local/X11R6/lib/X11/fonts/truetype/STHeiti.ttf)		/Adobe-GB1-Unicode	;
+/STHeiti-Light		(/opt/local/X11R6/lib/X11/fonts/truetype/STXihei.ttf)		/Adobe-GB1-Unicode	;
+/STFangsong-Regular	(/opt/local/X11R6/lib/X11/fonts/truetype/STFangsong.ttf)	/Adobe-GB1-Unicode	;
+/STSong-Regular		(/opt/local/X11R6/lib/X11/fonts/truetype/STSong.ttf)		/Adobe-GB1-Unicode	;
+/STKaiti-Regular	(/opt/local/X11R6/lib/X11/fonts/truetype/STKaiti.ttf)		/Adobe-GB1-Unicode	;
+
+% Adobe-Japan1
+
+/MS-Gothic	(/opt/local/X11R6/lib/X11/fonts/truetype/msgothic.ttf)	;
+/MS-PGothic	(/opt/local/X11R6/lib/X11/fonts/truetype/mspgothic.ttf)	;
+/MS-Mincho	(/opt/local/X11R6/lib/X11/fonts/truetype/msmincho.ttf)	;
+/MS-PMincho	(/opt/local/X11R6/lib/X11/fonts/truetype/mspmincho.ttf)	;
+
+/HiraKakuPro-W3	(/opt/local/X11R6/lib/X11/fonts/opentype/HiraKakuPro-W3.otf)	;
+/HiraKakuPro-W6	(/opt/local/X11R6/lib/X11/fonts/opentype/HiraKakuPro-W6.otf)	;
+/HiraKakuStd-W8	(/opt/local/X11R6/lib/X11/fonts/opentype/HiraKakuStd-W8.otf)	;
+/HiraMaruPro-W4	(/opt/local/X11R6/lib/X11/fonts/opentype/HiraMaruPro-W4.otf)	;
+/HiraMinPro-W3	(/opt/local/X11R6/lib/X11/fonts/opentype/HiraMinPro-W3.otf)	;
+/HiraMinPro-W6	(/opt/local/X11R6/lib/X11/fonts/opentype/HiraMinPro-W6.otf)	;
+
+% Adobe-Japan2
+
+/MS-Gothic-Adobe-Japan2		(/opt/local/X11R6/lib/X11/fonts/truetype/msgothic.ttf)		/Adobe-Japan2	;
+/MS-PGothic-Adobe-Japan2	(/opt/local/X11R6/lib/X11/fonts/truetype/mspgothic.ttf)		/Adobe-Japan2	;
+/MS-Mincho-Adobe-Japan2		(/opt/local/X11R6/lib/X11/fonts/truetype/msmincho.ttf)		/Adobe-Japan2	;
+/MS-PMincho-Adobe-Japan2	(/opt/local/X11R6/lib/X11/fonts/truetype/mspmincho.ttf)		/Adobe-Japan2	;
+
+% Adobe-Korea1
+
+/Batang	(/Applications/Office 2004 for Mac Test Drive/Office/Fonts/Batang.ttf)	;
+/Gulim	(/Applications/Office 2004 for Mac Test Drive/Office/Fonts/Gulim.ttf)	;
--- ./lib/CIDFnmap.Saz.org	2005-11-10 15:02:33.000000000 +0900
+++ ./lib/CIDFnmap.Saz	2005-09-17 15:57:10.000000000 +0900
@@ -0,0 +1,27 @@
+%!
+% Copyright (C) 2005 Taiji Yamada and gs-cjk project
+%
+% This file is part of GNU Ghostscript.
+%
+% GNU Ghostscript is distributed in the hope that it will be useful, but
+% WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility
+% to anyone for the consequences of using it or for whether it serves any
+% particular purpose or works at all, unless he says so in writing. Refer
+% to the GNU General Public License for full details.
+%
+% Everyone is granted permission to copy, modify and redistribute GNU
+% Ghostscript, but only under the conditions described in the GNU General
+% Public License.  A copy of this license is supposed to have been given
+% to you along with GNU Ghostscript so you can know your rights and
+% responsibilities.  It should be in a file named COPYING.  Among other
+% things, the copyright notice and this notice must be preserved on all
+% copies.
+
+% CID fontmap for Sazanami truetype fonts
+
+%
+% Sazanami Mincho and Gothic - TrueType
+% URL: http://sourceforge.jp/projects/efont/files/
+%
+/Sazanami-Gothic-Regular	(/opt/local/X11R6/lib/X11/fonts/truetype/sazanami-gothic.ttf)	;
+/Sazanami-Mincho-Regular	(/opt/local/X11R6/lib/X11/fonts/truetype/sazanami-mincho.ttf)	;
--- ./lib/gs_res.ps.org	2003-04-12 23:02:38.000000000 +0900
+++ ./lib/gs_res.ps	2005-11-10 15:02:33.000000000 +0900
@@ -246,8 +246,8 @@
   /pssystemparams 10 dict readonly def
 } if
 pssystemparams begin
-  /FontResourceDir (/Resource/Font/) readonly .forcedef	% pssys'params is r-o
-  /GenericResourceDir (/Resource/) readonly .forcedef	% pssys'params is r-o
+  /FontResourceDir (/opt/local/gs7.07/share/ghostscript/Resource/Font/) readonly .forcedef	% pssys'params is r-o
+  /GenericResourceDir (/opt/local/gs7.07/share/ghostscript/Resource/) readonly .forcedef	% pssys'params is r-o
   /GenericResourcePathSep (/) readonly .forcedef	% pssys'params is r-o
 end
 end
--- ./src/unixinst.mak.org	2003-01-17 09:49:05.000000000 +0900
+++ ./src/unixinst.mak	2005-11-10 15:16:54.000000000 +0900
@@ -66,8 +66,8 @@
 	-mkdir -p $(gsdatadir)/lib
 	$(SH) -c 'for f in \
 Fontmap Fontmap.GS \
-CIDFnmap CIDFnmap.Ore CIDFnmap.ARP CIDFnmap.Bae CIDFnmap.Koc \
-CIDFnmap.Sol CIDFnmap.Win \
+CIDFnmap CIDFnmap.Ore CIDFnmap.ARP CIDFnmap.Bae CIDFnmap.IPA CIDFnmap.Koc CIDFnmap.Saz \
+CIDFnmap.Sol CIDFnmap.Win CIDFnmap.OSX \
 CIDFnmap.CJK \
 CIDFnmap.b5 CIDFnmap.gb CIDFnmap.ksx CIDFnmap.sj \
 ht_ccsto.ps \
installation
make install
if [ ! -d /opt/local/gs7.07/share/ghostscript/fonts ]; then
  tar -C /opt/local/gs7.07/share/ghostscript -xvzf ../ghostscript-fonts-std-8.11.tar.gz
fi
if [ ! -d /opt/local/gs7.07/share/ghostscript/Resource ]; then
  mkdir /opt/local/gs7.07/share/ghostscript/Resource
  tar -C /opt/local/gs7.07/share/ghostscript/Resource -xvzf ../acro5-cmaps-2001.tar.gz
#  tar -C /opt/local/gs7.07/share/ghostscript/Resource -xvzf ../adobe-cmaps-200211.tar.gz
  tar -C /opt/local/gs7.07/share/ghostscript/Resource -xvzf ../adobe-cmaps-200406.tar.gz
fi
installed
/opt/local/gs7.07/bin/bdftops
/opt/local/gs7.07/bin/dvipdf
/opt/local/gs7.07/bin/eps2eps
/opt/local/gs7.07/bin/fixmswrd.pl
/opt/local/gs7.07/bin/font2c
/opt/local/gs7.07/bin/gs
/opt/local/gs7.07/bin/gsbj
/opt/local/gs7.07/bin/gsdj
/opt/local/gs7.07/bin/gsdj500
/opt/local/gs7.07/bin/gslj
/opt/local/gs7.07/bin/gslp
/opt/local/gs7.07/bin/gsnd
/opt/local/gs7.07/bin/lprsetup.sh
/opt/local/gs7.07/bin/pdf2dsc
/opt/local/gs7.07/bin/pdf2ps
/opt/local/gs7.07/bin/pdfopt
/opt/local/gs7.07/bin/pf2afm
/opt/local/gs7.07/bin/pfbtopfa
/opt/local/gs7.07/bin/pj-gs.sh
/opt/local/gs7.07/bin/printafm
/opt/local/gs7.07/bin/ps2ascii
/opt/local/gs7.07/bin/ps2epsi
/opt/local/gs7.07/bin/ps2pdf
/opt/local/gs7.07/bin/ps2pdf12
/opt/local/gs7.07/bin/ps2pdf13
/opt/local/gs7.07/bin/ps2pdf14
/opt/local/gs7.07/bin/ps2pdfwr
/opt/local/gs7.07/bin/ps2ps
/opt/local/gs7.07/bin/pv.sh
/opt/local/gs7.07/bin/sysvlp.sh
/opt/local/gs7.07/bin/unix-lpr.sh
/opt/local/gs7.07/bin/wftopfa
/opt/local/gs7.07/man/de/man1/ansi2knr.1
/opt/local/gs7.07/man/de/man1/dvipdf.1
/opt/local/gs7.07/man/de/man1/eps2eps.1
/opt/local/gs7.07/man/de/man1/font2c.1
/opt/local/gs7.07/man/de/man1/gsbj.1
/opt/local/gs7.07/man/de/man1/gsdj.1
/opt/local/gs7.07/man/de/man1/gsdj500.1
/opt/local/gs7.07/man/de/man1/gslj.1
/opt/local/gs7.07/man/de/man1/gsnd.1
/opt/local/gs7.07/man/de/man1/pdf2dsc.1
/opt/local/gs7.07/man/de/man1/pdf2ps.1
/opt/local/gs7.07/man/de/man1/pdfopt.1
/opt/local/gs7.07/man/de/man1/printafm.1
/opt/local/gs7.07/man/de/man1/ps2ascii.1
/opt/local/gs7.07/man/de/man1/ps2pdf.1
/opt/local/gs7.07/man/de/man1/ps2pdf12.1
/opt/local/gs7.07/man/de/man1/ps2pdf13.1
/opt/local/gs7.07/man/de/man1/ps2ps.1
/opt/local/gs7.07/man/de/man1/wftopfa.1
/opt/local/gs7.07/man/man1/ansi2knr.1
/opt/local/gs7.07/man/man1/dvipdf.1
/opt/local/gs7.07/man/man1/eps2eps.1
/opt/local/gs7.07/man/man1/font2c.1
/opt/local/gs7.07/man/man1/gs.1
/opt/local/gs7.07/man/man1/gsbj.1
/opt/local/gs7.07/man/man1/gsdj.1
/opt/local/gs7.07/man/man1/gsdj500.1
/opt/local/gs7.07/man/man1/gslj.1
/opt/local/gs7.07/man/man1/gslp.1
/opt/local/gs7.07/man/man1/gsnd.1
/opt/local/gs7.07/man/man1/pdf2dsc.1
/opt/local/gs7.07/man/man1/pdf2ps.1
:
data_installed
/opt/local/gs7.07/share/ghostscript/fonts/a010013l.afm
/opt/local/gs7.07/share/ghostscript/fonts/a010013l.pfb
/opt/local/gs7.07/share/ghostscript/fonts/a010013l.pfm
/opt/local/gs7.07/share/ghostscript/fonts/a010015l.afm
/opt/local/gs7.07/share/ghostscript/fonts/a010015l.pfb
/opt/local/gs7.07/share/ghostscript/fonts/a010015l.pfm
/opt/local/gs7.07/share/ghostscript/fonts/a010033l.afm
/opt/local/gs7.07/share/ghostscript/fonts/a010033l.pfb
/opt/local/gs7.07/share/ghostscript/fonts/a010033l.pfm
/opt/local/gs7.07/share/ghostscript/fonts/a010035l.afm
/opt/local/gs7.07/share/ghostscript/fonts/a010035l.pfb
/opt/local/gs7.07/share/ghostscript/fonts/a010035l.pfm
/opt/local/gs7.07/share/ghostscript/fonts/b018012l.afm
/opt/local/gs7.07/share/ghostscript/fonts/b018012l.pfb
/opt/local/gs7.07/share/ghostscript/fonts/b018012l.pfm
/opt/local/gs7.07/share/ghostscript/fonts/b018015l.afm
/opt/local/gs7.07/share/ghostscript/fonts/b018015l.pfb
/opt/local/gs7.07/share/ghostscript/fonts/b018015l.pfm
/opt/local/gs7.07/share/ghostscript/fonts/b018032l.afm
/opt/local/gs7.07/share/ghostscript/fonts/b018032l.pfb
/opt/local/gs7.07/share/ghostscript/fonts/b018032l.pfm
/opt/local/gs7.07/share/ghostscript/fonts/b018035l.afm
/opt/local/gs7.07/share/ghostscript/fonts/b018035l.pfb
/opt/local/gs7.07/share/ghostscript/fonts/b018035l.pfm
/opt/local/gs7.07/share/ghostscript/fonts/c059013l.afm
/opt/local/gs7.07/share/ghostscript/fonts/c059013l.pfb
/opt/local/gs7.07/share/ghostscript/fonts/c059016l.afm
/opt/local/gs7.07/share/ghostscript/fonts/c059016l.pfb
/opt/local/gs7.07/share/ghostscript/fonts/c059033l.afm
/opt/local/gs7.07/share/ghostscript/fonts/c059033l.pfb
/opt/local/gs7.07/share/ghostscript/fonts/c059036l.afm
/opt/local/gs7.07/share/ghostscript/fonts/c059036l.pfb
/opt/local/gs7.07/share/ghostscript/fonts/ChangeLog
/opt/local/gs7.07/share/ghostscript/fonts/COPYING
/opt/local/gs7.07/share/ghostscript/fonts/d050000l.afm
/opt/local/gs7.07/share/ghostscript/fonts/d050000l.pfb
/opt/local/gs7.07/share/ghostscript/fonts/fonts.dir
/opt/local/gs7.07/share/ghostscript/fonts/fonts.scale
/opt/local/gs7.07/share/ghostscript/fonts/n019003l.afm
/opt/local/gs7.07/share/ghostscript/fonts/n019003l.pfb
/opt/local/gs7.07/share/ghostscript/fonts/n019003l.pfm
/opt/local/gs7.07/share/ghostscript/fonts/n019004l.afm
/opt/local/gs7.07/share/ghostscript/fonts/n019004l.pfb
/opt/local/gs7.07/share/ghostscript/fonts/n019004l.pfm
/opt/local/gs7.07/share/ghostscript/fonts/n019023l.afm
/opt/local/gs7.07/share/ghostscript/fonts/n019023l.pfb
/opt/local/gs7.07/share/ghostscript/fonts/n019023l.pfm
/opt/local/gs7.07/share/ghostscript/fonts/n019024l.afm
/opt/local/gs7.07/share/ghostscript/fonts/n019024l.pfb
/opt/local/gs7.07/share/ghostscript/fonts/n019024l.pfm
/opt/local/gs7.07/share/ghostscript/fonts/n019043l.afm
/opt/local/gs7.07/share/ghostscript/fonts/n019043l.pfb
/opt/local/gs7.07/share/ghostscript/fonts/n019044l.afm
/opt/local/gs7.07/share/ghostscript/fonts/n019044l.pfb
/opt/local/gs7.07/share/ghostscript/fonts/n019063l.afm
/opt/local/gs7.07/share/ghostscript/fonts/n019063l.pfb
/opt/local/gs7.07/share/ghostscript/fonts/n019064l.afm
/opt/local/gs7.07/share/ghostscript/fonts/n019064l.pfb
/opt/local/gs7.07/share/ghostscript/fonts/n019064l.pfm
/opt/local/gs7.07/share/ghostscript/fonts/n021003l.afm
/opt/local/gs7.07/share/ghostscript/fonts/n021003l.pfb
/opt/local/gs7.07/share/ghostscript/fonts/n021003l.pfm
/opt/local/gs7.07/share/ghostscript/fonts/n021004l.afm
/opt/local/gs7.07/share/ghostscript/fonts/n021004l.pfb
:

lang/ps/ghostscript-8.52

build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local/gs8.52 --with-ijs --with-jbig2dec --with-jasper 
make 
installed
/opt/local/gs8.52/bin/bdftops
/opt/local/gs8.52/bin/dumphint
/opt/local/gs8.52/bin/dvipdf
/opt/local/gs8.52/bin/eps2eps
/opt/local/gs8.52/bin/fixmswrd.pl
/opt/local/gs8.52/bin/font2c
/opt/local/gs8.52/bin/gs
/opt/local/gs8.52/bin/gsbj
/opt/local/gs8.52/bin/gsdj
/opt/local/gs8.52/bin/gsdj500
/opt/local/gs8.52/bin/gslj
/opt/local/gs8.52/bin/gslp
/opt/local/gs8.52/bin/gsnd
/opt/local/gs8.52/bin/lprsetup.sh
/opt/local/gs8.52/bin/pdf2dsc
/opt/local/gs8.52/bin/pdf2ps
/opt/local/gs8.52/bin/pdfopt
/opt/local/gs8.52/bin/pf2afm
/opt/local/gs8.52/bin/pfbtopfa
/opt/local/gs8.52/bin/printafm
/opt/local/gs8.52/bin/ps2ascii
/opt/local/gs8.52/bin/ps2epsi
/opt/local/gs8.52/bin/ps2pdf
/opt/local/gs8.52/bin/ps2pdf12
/opt/local/gs8.52/bin/ps2pdf13
/opt/local/gs8.52/bin/ps2pdf14
/opt/local/gs8.52/bin/ps2pdfwr
/opt/local/gs8.52/bin/ps2ps
/opt/local/gs8.52/bin/pv.sh
/opt/local/gs8.52/bin/unix-lpr.sh
/opt/local/gs8.52/bin/wftopfa
/opt/local/gs8.52/man/de/man1/dvipdf.1
/opt/local/gs8.52/man/de/man1/eps2eps.1
/opt/local/gs8.52/man/de/man1/font2c.1
/opt/local/gs8.52/man/de/man1/gsnd.1
/opt/local/gs8.52/man/de/man1/pdf2dsc.1
/opt/local/gs8.52/man/de/man1/pdf2ps.1
/opt/local/gs8.52/man/de/man1/pdfopt.1
/opt/local/gs8.52/man/de/man1/printafm.1
/opt/local/gs8.52/man/de/man1/ps2ascii.1
/opt/local/gs8.52/man/de/man1/ps2pdf.1
/opt/local/gs8.52/man/de/man1/ps2pdf12.1
/opt/local/gs8.52/man/de/man1/ps2pdf13.1
/opt/local/gs8.52/man/de/man1/ps2ps.1
/opt/local/gs8.52/man/de/man1/wftopfa.1
/opt/local/gs8.52/man/man1/dvipdf.1
/opt/local/gs8.52/man/man1/eps2eps.1
/opt/local/gs8.52/man/man1/font2c.1
/opt/local/gs8.52/man/man1/gs.1
/opt/local/gs8.52/man/man1/gslp.1
/opt/local/gs8.52/man/man1/gsnd.1
/opt/local/gs8.52/man/man1/pdf2dsc.1
/opt/local/gs8.52/man/man1/pdf2ps.1
/opt/local/gs8.52/man/man1/pdfopt.1
/opt/local/gs8.52/man/man1/pf2afm.1
/opt/local/gs8.52/man/man1/pfbtopfa.1
/opt/local/gs8.52/man/man1/printafm.1
/opt/local/gs8.52/man/man1/ps2ascii.1
/opt/local/gs8.52/man/man1/ps2epsi.1
/opt/local/gs8.52/man/man1/ps2pdf.1
/opt/local/gs8.52/man/man1/ps2pdf12.1
/opt/local/gs8.52/man/man1/ps2pdf13.1
/opt/local/gs8.52/man/man1/ps2pdfwr.1
/opt/local/gs8.52/man/man1/ps2ps.1
:
data_installed
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/AdobeMingStd-Light
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/AdobeMingStd-Light-Acro
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/AdobeMyungjoStd-Medium
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/AdobeMyungjoStd-Medium-Acro
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/AdobeSongStd-Light
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/AdobeSongStd-Light-Acro
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/HeiseiKakuGo-W5-Acro
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/HeiseiKakuGo-W5-AcroSub
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/HeiseiMin-W3-Acro
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/HeiseiMin-W3-AcroSub
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/HiraKakuPro-W3
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/HiraKakuPro-W6
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/HiraKakuStd-W8
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/HiraMaruPro-W4
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/HiraMinPro-W3
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/HiraMinPro-W6
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/HYGoThic-Medium-Acro
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/HYSMyeongJo-Medium-Acro
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/KozGoPro-Medium
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/KozGoPro-Medium-Acro
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/KozGoStd-Medium-Sub
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/KozMinPro-Regular-Acro
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/KozMinProVI-Regular
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/KozMinStd-Regular-Sub
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/MHei-Medium-Acro
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/MOEKai-Regular
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/MOESung-Regular
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/MSung-Light-Acro
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/Munhwa-Bold
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/Munhwa-Regular
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/MunhwaGothic-Bold
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/MunhwaGothic-Regular
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/MunhwaGothicStd-Bold
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/MunhwaGothicStd-Regular
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/MunhwaGungSeo-Bold
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/MunhwaGungSeo-Light
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/MunhwaGungSeoHeulim-Bold
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/MunhwaGungSeoHeulim-Light
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/MunhwaHoonMin-Regular
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/MunhwaHoonminStd-Regular
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/MunhwaMyungjoStd-Bold
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/MunhwaMyungjoStd-Regular
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/MunhwaScriptFreestyleStd-Bold
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/MunhwaScriptFreestyleStd-Light
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/MunhwaScriptStd-Bold
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/MunhwaScriptStd-Light
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/STSong-Light-Acro
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/WadaGo-Bold
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/WadaMaruGo-Regular
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/WadaMaruGo-RegularH
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/WadaMin-Bold
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/WadaMin-Regular
/opt/local/gs8.52/share/ghostscript/8.52/Resource/CIDFont/WadaMin-RegularH
/opt/local/gs8.52/share/ghostscript/fonts

libs/gc6.5

preparation
curl -RO -C - http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc6.5.tar.gz
tar xvzf gc6.5.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/include/gc/gc.h
/opt/local/include/gc/gc_alloc.h
/opt/local/include/gc/gc_allocator.h
/opt/local/include/gc/gc_amiga_redirects.h
/opt/local/include/gc/gc_backptr.h
/opt/local/include/gc/gc_config_macros.h
/opt/local/include/gc/gc_cpp.h
/opt/local/include/gc/gc_gcj.h
/opt/local/include/gc/gc_inl.h
/opt/local/include/gc/gc_inline.h
/opt/local/include/gc/gc_local_alloc.h
/opt/local/include/gc/gc_mark.h
/opt/local/include/gc/gc_pthread_redirects.h
/opt/local/include/gc/gc_typed.h
/opt/local/include/gc/leak_detector.h
/opt/local/include/gc/new_gc_alloc.h
/opt/local/include/gc/weakpointer.h
/opt/local/include/gc.h
/opt/local/include/gc_config_macros.h
/opt/local/include/gc_local_alloc.h
/opt/local/include/gc_pthread_redirects.h
/opt/local/include/gc_typed.h
/opt/local/include/leak_detector.h
/opt/local/lib/libgc.1.0.2.dylib
/opt/local/lib/libgc.1.dylib
/opt/local/lib/libgc.a
/opt/local/lib/libgc.dylib
/opt/local/lib/libgc.la
/opt/local/share/gc/barrett_diagram
/opt/local/share/gc/debugging.html
/opt/local/share/gc/gc.man
/opt/local/share/gc/gcdescr.html
/opt/local/share/gc/gcinterface.html
/opt/local/share/gc/leak.html
/opt/local/share/gc/README
/opt/local/share/gc/README.amiga
/opt/local/share/gc/README.arm.cross
/opt/local/share/gc/README.autoconf
/opt/local/share/gc/README.changes
/opt/local/share/gc/README.contributors
/opt/local/share/gc/README.cords
/opt/local/share/gc/README.darwin
/opt/local/share/gc/README.DGUX386
/opt/local/share/gc/README.dj
/opt/local/share/gc/README.environment
/opt/local/share/gc/README.ews4800
/opt/local/share/gc/README.hp
/opt/local/share/gc/README.linux
/opt/local/share/gc/README.Mac
/opt/local/share/gc/README.MacOSX
/opt/local/share/gc/README.macros
/opt/local/share/gc/README.OS2
/opt/local/share/gc/README.rs6000
/opt/local/share/gc/README.sgi
/opt/local/share/gc/README.solaris2
/opt/local/share/gc/README.uts
/opt/local/share/gc/README.win32
/opt/local/share/gc/scale.html
/opt/local/share/gc/simple_example.html
/opt/local/share/gc/tree.html

libs/t1lib-5.1.0

preparation
wget -N ftp://ftp.foolabs.com/pub/xpdf/t1lib-5.1.0.tar.gz
tar xvzf t1lib-5.1.0.tar.gz
(cd t1lib-5.1.0 && patch -p0 < ../t1lib-5.1.0-sakuya.patch)
build
./configure --prefix=/opt/local 
make 
patch
--- ./lib/Makefile.in~	2005-05-02 07:01:57.000000000 +0900
+++ ./lib/Makefile.in	2005-09-24 13:06:16.000000000 +0900
@@ -129,7 +129,7 @@
 	$(LIBTOOL) --mode=link \
 		$(CC) -o $@ $(TYPE1_OBJS) $(T1LIB_OBJS) \
 	         -version-info @T1LIB_LT_CURRENT@:@T1LIB_LT_REVISION@:@T1LIB_LT_AGE@ \
-		 -no-undefined -rpath $(libdir)
+		 -rpath $(libdir)
 	cp t1lib/t1lib.h .
 
 
@@ -137,7 +137,7 @@
 	$(LIBTOOL) --mode=link \
 		$(CC) -o $@ $(T1LIBX_OBJS) \
 	         -version-info @T1LIB_LT_CURRENT@:@T1LIB_LT_REVISION@:@T1LIB_LT_AGE@ \
-		 -no-undefined -rpath $(libdir)
+		 -rpath $(libdir)
 	cp t1lib/t1libx.h .
 
 
installed
/opt/local/bin/type1afm
/opt/local/bin/xglyph
/opt/local/include/t1lib.h
/opt/local/include/t1libx.h
/opt/local/lib/libt1.5.1.0.dylib
/opt/local/lib/libt1.5.dylib
/opt/local/lib/libt1.a
/opt/local/lib/libt1.dylib
/opt/local/lib/libt1.la
/opt/local/lib/libt1x.5.1.0.dylib
/opt/local/lib/libt1x.5.dylib
/opt/local/lib/libt1x.a
/opt/local/lib/libt1x.dylib
/opt/local/lib/libt1x.la
/opt/local/share/t1lib/doc/t1lib_doc.pdf
/opt/local/share/t1lib/doc/t1lib_doc.ps
/opt/local/share/t1lib/t1lib.config

media/cdrtools-2.01.01a01

preparation
curl -RO -C - http://crashrecovery.org/oss-dvd/cdrtools-2.01.01a01-ossdvd.patch.bz2
curl -RO -C - http://crashrecovery.org/oss-dvd/cdrtools-2.01.01a01-encrypt-1.0rc1.diff.gz
curl -O -C - ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-2.01.01a01.tar.bz2
tar xvjf cdrtools-2.01.01a01.tar.bz2
mv cdrtools-2.01.01 cdrtools-2.01.01a01
(cd cdrtools-2.01.01a01; bzcat ../cdrtools-2.01.01a01-ossdvd.patch.bz2 | patch -p1; gzcat ../cdrtools-2.01.01a01-encrypt-1.0rc1.diff.gz | patch -p1; patch -p0 < ../cdrtools-2.01.01a01-sakuya.patch)
build
make INS_BASE=/opt/local DEFINSUSR=root DEFINSGRP=wheel
patch
--- ./cdda2wav/cdda2wav.c.org	2004-08-25 00:06:14.000000000 +0900
+++ ./cdda2wav/cdda2wav.c	2005-08-24 06:13:28.000000000 +0900
@@ -124,6 +124,10 @@
 #endif
 #include "defaults.h"
 
+#if defined(__APPLE__) && defined(__MACH__)
+#undef _POSIX_PRIORITY_SCHEDULING 
+#endif
+
 int main				__PR((int argc, char **argv));
 static void RestrictPlaybackRate	__PR((long newrate));
 static void output_indices		__PR((FILE *fp, index_list *p, unsigned trackstart));
--- ./cdrecord/cdrecord.c.org	2005-08-24 05:09:56.000000000 +0900
+++ ./cdrecord/cdrecord.c	2005-08-24 06:12:40.000000000 +0900
@@ -72,6 +72,10 @@
 #endif
 #endif
 
+#if defined(__APPLE__) && defined(__MACH__)
+#undef _POSIX_PRIORITY_SCHEDULING 
+#endif
+
 #if WORDS_BIGENDIAN		/* on-the-fly encryption */
 # define xcpu_to_le32(x) ({u_int32_t __x=(x);((u_int32_t)((((u_int32_t)(__x)&(u_int32_t)0x000000ffUL)<<24)|(((u_int32_t)(__x)&(u_int32_t)0x0000ff00UL)<<8)|(((u_int32_t)(__x)&(u_int32_t)0x00ff0000UL)>>8)|(((u_int32_t)(__x)&(u_int32_t)0xff000000UL)>>24)));})
 #else
@@ -195,7 +199,7 @@
 u_int32_t       devSect2 = 0;
 u_int32_t       devSect3 = 0;
 u_int32_t	iv[8];
-int	encrypt = 0;
+int	encrypt_flag = 0;
 char	*encpass = NULL;
 char	*encpasshex = NULL;
 char 	*encpassfile = NULL;
@@ -2273,7 +2277,7 @@
 		}
 		count = get_buf(f, trackp, startsec, &bp, bytes_to_read);
 	
-		if ((encrypt) && (encstyleset > 0)) {
+		if ((encrypt_flag) && (encstyleset > 0)) {
 			isblockvalid = div (count,512);
 			if (isblockvalid.rem) {
 				comerr("cannot encrypt - incompatible blocksize ... :-( \n");
@@ -3390,7 +3394,7 @@
 	int	reset = 0;
 	int	doabort = 0;
 	int	overburn = 0;
-	// int	encrypt = 0;
+	// int	encrypt_flag = 0;
 	// char	*encpass="";
 	int	ignsize = 0;
 	int	useinfo = 0;
@@ -3469,7 +3473,7 @@
 		 */
 		if ((ga_ret = getargs(&cac, &cav, opts,
 				&help, &version, &checkdrive, &prcap,
-				&inq, &scanbus, &reset, &doabort, &overburn, &encrypt, encpassp, encpasshexp, encpassfilep, encstylep, &ignsize,
+				&inq, &scanbus, &reset, &doabort, &overburn, &encrypt_flag, encpassp, encpasshexp, encpassfilep, encstylep, &ignsize,
 				&useinfo,
 				devp, timeoutp, &driver, &driveropts, &setdropts,
 				getllnum, &tracksize,
@@ -3524,7 +3528,7 @@
 				*flagsp |= F_ABORT;
 			if (overburn)
 				*flagsp |= F_OVERBURN;
-			if (encrypt)
+			if (encrypt_flag)
 				*flagsp |= F_ENCRYPT;
 			if (ignsize)
 				*flagsp |= F_IGNSIZE;
@@ -4085,7 +4089,7 @@
 	//	2 -> old / compatible style, aes-256-cbc, plain "hash", plain IV (linux >2.4.22 cryptoloop compatible)
 	
 	// check for encryption parameters
-	if (encrypt) {
+	if (encrypt_flag) {
 	
 		// if no encstyle specified, use default, otherwise select 
 		if (!*encstylep) encstyleset = 1; else {
--- ./cdrecord/drv_mmc.c.org	2005-08-24 05:08:29.000000000 +0900
+++ ./cdrecord/drv_mmc.c	2005-08-24 06:18:38.000000000 +0900
@@ -1109,7 +1109,7 @@
 	return (0);
 }
 
-LOCAL int
+EXPORT int
 check_writemodes_mdvd(scgp, dp)
 	SCSI	*scgp;
 	cdr_t	*dp;
installation
make INS_BASE=/opt/local DEFINSUSR=root DEFINSGRP=wheel install 
installed
/opt/local/bin/cdda2wav
/opt/local/bin/cdrecord
/opt/local/bin/devdump
/opt/local/bin/isodebug
/opt/local/bin/isodump
/opt/local/bin/isoinfo
/opt/local/bin/isovfy
/opt/local/bin/mkhybrid
/opt/local/bin/mkisofs
/opt/local/bin/readcd
/opt/local/bin/scgcheck
/opt/local/bin/skel
/opt/local/include/align.h
/opt/local/include/avoffset.h
/opt/local/lib/libdeflt.a
/opt/local/lib/libedc_ecc.a
/opt/local/lib/libfile.a
/opt/local/lib/libhfs.a
/opt/local/lib/libparanoia.a
/opt/local/lib/librscg.a
/opt/local/lib/libscg.a
/opt/local/lib/libschily.a
/opt/local/lib/libunls.a
/opt/local/man/man1/cdda2ogg.1
/opt/local/man/man1/cdda2wav.1
/opt/local/man/man1/cdrecord.1
/opt/local/man/man1/readcd.1
/opt/local/man/man1/scgcheck.1
/opt/local/man/man5/makefiles.5
/opt/local/man/man5/makerules.5
/opt/local/man/man8/isoinfo.8
/opt/local/man/man8/mkhybrid.8
/opt/local/man/man8/mkisofs.8
/opt/local/sbin/rscsi

net/emacs-w3m-1.4.4

preparation
curl -RO -C - http://emacs-w3m.namazu.org/emacs-w3m-1.4.4.tar.gz
tar xvzf emacs-w3m-1.4.4.tar.gz
build
env PATH=/opt/local/bin:/usr/X11R6/bin:/bin:/sbin:/usr/bin:/usr/sbin ./configure --prefix=/opt/local --with-emacs=emacs --without-attic --without-xml
make
installation
env PATH=/opt/local/bin:/usr/X11R6/bin:/bin:/sbin:/usr/bin:/usr/sbin make install install-icons30 
installed
/opt/local/info/emacs-w3m-ja.info
/opt/local/info/emacs-w3m-ja.info-1
/opt/local/info/emacs-w3m-ja.info-2
/opt/local/info/emacs-w3m-ja.info-3
/opt/local/info/emacs-w3m-ja.info-4
/opt/local/info/emacs-w3m.info
/opt/local/share/emacs/22.0.50/etc/images/w3m/antenna-up.xpm
/opt/local/share/emacs/22.0.50/etc/images/w3m/back-disabled.xpm
/opt/local/share/emacs/22.0.50/etc/images/w3m/back-up.xpm
/opt/local/share/emacs/22.0.50/etc/images/w3m/copy-up.xpm
/opt/local/share/emacs/22.0.50/etc/images/w3m/db-history-up.xpm
/opt/local/share/emacs/22.0.50/etc/images/w3m/forward-disabled.xpm
/opt/local/share/emacs/22.0.50/etc/images/w3m/forward-up.xpm
/opt/local/share/emacs/22.0.50/etc/images/w3m/history-up.xpm
/opt/local/share/emacs/22.0.50/etc/images/w3m/home-up.xpm
/opt/local/share/emacs/22.0.50/etc/images/w3m/image-up.xpm
/opt/local/share/emacs/22.0.50/etc/images/w3m/open-up.xpm
/opt/local/share/emacs/22.0.50/etc/images/w3m/parent-disabled.xpm
/opt/local/share/emacs/22.0.50/etc/images/w3m/parent-up.xpm
/opt/local/share/emacs/22.0.50/etc/images/w3m/reload-up.xpm
/opt/local/share/emacs/22.0.50/etc/images/w3m/search-up.xpm
/opt/local/share/emacs/22.0.50/etc/images/w3m/spinner.gif
/opt/local/share/emacs/22.0.50/etc/images/w3m/state-00.xpm
/opt/local/share/emacs/22.0.50/etc/images/w3m/state-01.xpm
/opt/local/share/emacs/22.0.50/etc/images/w3m/state-10.xpm
/opt/local/share/emacs/22.0.50/etc/images/w3m/state-11.xpm
/opt/local/share/emacs/22.0.50/etc/images/w3m/weather-up.xpm
/opt/local/share/emacs/site-lisp/w3m/ChangeLog
/opt/local/share/emacs/site-lisp/w3m/ChangeLog.1
/opt/local/share/emacs/site-lisp/w3m/mew-w3m.el
/opt/local/share/emacs/site-lisp/w3m/mew-w3m.elc
/opt/local/share/emacs/site-lisp/w3m/mime-w3m.el
/opt/local/share/emacs/site-lisp/w3m/octet.el
/opt/local/share/emacs/site-lisp/w3m/w3m-antenna.el
/opt/local/share/emacs/site-lisp/w3m/w3m-antenna.elc
/opt/local/share/emacs/site-lisp/w3m/w3m-bitmap.el
/opt/local/share/emacs/site-lisp/w3m/w3m-bookmark.el
/opt/local/share/emacs/site-lisp/w3m/w3m-bookmark.elc
/opt/local/share/emacs/site-lisp/w3m/w3m-bug.el
/opt/local/share/emacs/site-lisp/w3m/w3m-bug.elc
/opt/local/share/emacs/site-lisp/w3m/w3m-ccl.el
/opt/local/share/emacs/site-lisp/w3m/w3m-ccl.elc
/opt/local/share/emacs/site-lisp/w3m/w3m-cookie.el
/opt/local/share/emacs/site-lisp/w3m/w3m-cookie.elc
/opt/local/share/emacs/site-lisp/w3m/w3m-dtree.el
/opt/local/share/emacs/site-lisp/w3m/w3m-dtree.elc
/opt/local/share/emacs/site-lisp/w3m/w3m-e19.el
/opt/local/share/emacs/site-lisp/w3m/w3m-e20.el
/opt/local/share/emacs/site-lisp/w3m/w3m-e21.el
/opt/local/share/emacs/site-lisp/w3m/w3m-e21.elc
/opt/local/share/emacs/site-lisp/w3m/w3m-favicon.el
/opt/local/share/emacs/site-lisp/w3m/w3m-favicon.elc
/opt/local/share/emacs/site-lisp/w3m/w3m-filter.el
/opt/local/share/emacs/site-lisp/w3m/w3m-filter.elc
/opt/local/share/emacs/site-lisp/w3m/w3m-form.el
/opt/local/share/emacs/site-lisp/w3m/w3m-form.elc
/opt/local/share/emacs/site-lisp/w3m/w3m-fsf.el
/opt/local/share/emacs/site-lisp/w3m/w3m-fsf.elc
/opt/local/share/emacs/site-lisp/w3m/w3m-hist.el
/opt/local/share/emacs/site-lisp/w3m/w3m-hist.elc
/opt/local/share/emacs/site-lisp/w3m/w3m-image.el
/opt/local/share/emacs/site-lisp/w3m/w3m-image.elc
/opt/local/share/emacs/site-lisp/w3m/w3m-lnum.el
/opt/local/share/emacs/site-lisp/w3m/w3m-lnum.elc
:

net/mew-4.2.52

preparation
#curl -RO -C - http://www.mew.org/Release/mew-4.2.52.tar.gz
curl -RO -C - http://www.ring.gr.jp/archives/elisp/Mew/beta/mew-4.2.52.tar.gz
tar xvzf mew-4.2.52.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/incm
/opt/local/bin/mewcat
/opt/local/bin/mewdecode
/opt/local/bin/mewencode
/opt/local/bin/mewl
/opt/local/info/mew.info
/opt/local/info/mew.info-1
/opt/local/info/mew.info-2
/opt/local/info/mew.info-3
/opt/local/info/mew.info-4
/opt/local/man/man1/incm.1
/opt/local/man/man1/mewcat.1
/opt/local/man/man1/mewdecode.1
/opt/local/man/man1/mewencode.1
/opt/local/man/man1/mewl.1
/opt/local/share/emacs/site-lisp/mew/etc/etc/COLOR
/opt/local/share/emacs/site-lisp/mew/etc/etc/mew-curr.xpm
/opt/local/share/emacs/site-lisp/mew/etc/etc/mew-folder.xpm
/opt/local/share/emacs/site-lisp/mew/etc/etc/mew-inc2.xpm
/opt/local/share/emacs/site-lisp/mew/etc/etc/mew-kill.xpm
/opt/local/share/emacs/site-lisp/mew/etc/etc/mew-Plain.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-attach.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Audio.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Blank.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-cite.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-External.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Folder.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-forward.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Image.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-inc.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-lock.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-next.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Octet-Stream.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-pgp-enc.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-pgp-sigenc.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-pgp-sign.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Postscript.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-prev.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-queue.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-refile.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-reply.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Rfc822.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-send.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-sep.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-show.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Text.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Unknown.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-Video.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-write.xpm
/opt/local/share/emacs/site-lisp/mew/etc/mew-yank.xpm
/opt/local/share/emacs/site-lisp/mew/etc/Mew.img
/opt/local/share/emacs/site-lisp/mew/etc/Mew.png
/opt/local/share/emacs/site-lisp/mew/etc/Mew.xbm
/opt/local/share/emacs/site-lisp/mew/etc/Mew.xpm
/opt/local/share/emacs/site-lisp/mew/mew-addrbook.el
/opt/local/share/emacs/site-lisp/mew/mew-addrbook.elc
/opt/local/share/emacs/site-lisp/mew/mew-attach.el
/opt/local/share/emacs/site-lisp/mew/mew-attach.elc
/opt/local/share/emacs/site-lisp/mew/mew-auth.el
/opt/local/share/emacs/site-lisp/mew/mew-auth.elc
/opt/local/share/emacs/site-lisp/mew/mew-blvs.el
/opt/local/share/emacs/site-lisp/mew/mew-blvs.elc
/opt/local/share/emacs/site-lisp/mew/mew-bq.el
/opt/local/share/emacs/site-lisp/mew/mew-bq.elc
:

net/w3m-0.5.1

preparation
curl -RO -C - http://keihanna.dl.sourceforge.net/sourceforge/w3m/w3m-0.5.1.tar.gz
tar xvzf w3m-0.5.1.tar.gz
build
./configure --prefix=/opt/local\
  --enable-m17n\
   --enable-unicode\
  --enable-color\
  --enable-image=x11\
  --disable-xface\
  --enable-keymap=w3m\
  --enable-menu\
  --enable-mouse\
  --enable-history\
  --enable-alarm\
  --enable-cookie\
  --enable-digest-auth\
  --enable-nntp\
  --disable-dict\
  --enable-help-cgi\
  --enable-external-uri-loader\
   --disable-w3mmailer\
  --enable-ipv6\
   --enable-sslverify\
\
  --with-imagelib=imlib\
  --without-migemo\
  --with-gc=/opt/local\
;
make
installed
/opt/local/bin/w3m
/opt/local/bin/w3mman
/opt/local/libexec/w3m/cgi-bin/dirlist.cgi
/opt/local/libexec/w3m/cgi-bin/multipart.cgi
/opt/local/libexec/w3m/cgi-bin/w3mbookmark
/opt/local/libexec/w3m/cgi-bin/w3mhelp.cgi
/opt/local/libexec/w3m/cgi-bin/w3mhelperpanel
/opt/local/libexec/w3m/cgi-bin/w3mmail.cgi
/opt/local/libexec/w3m/cgi-bin/w3mman2html.cgi
/opt/local/libexec/w3m/inflate
/opt/local/libexec/w3m/w3mimgdisplay
/opt/local/libexec/w3m/xface2xpm
/opt/local/man/ja/man1/w3m.1
/opt/local/man/man1/w3m.1
/opt/local/man/man1/w3mman.1
/opt/local/share/w3m/w3mhelp-funcdesc.en.pl
/opt/local/share/w3m/w3mhelp-funcdesc.ja.pl
/opt/local/share/w3m/w3mhelp-funcname.pl
/opt/local/share/w3m/w3mhelp.html

net/wget-1.10

preparation
curl -O -C - ftp://sunsite.sut.ac.jp/pub/archives/gnu/wget/wget-1.10.tar.gz
tar xvzf wget-1.10.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/wget
/opt/local/etc/wgetrc
/opt/local/info/wget.info
/opt/local/man/man1/wget.1

science/gnuplot-20050901

preparation
#cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gnuplot login
#cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gnuplot co gnuplot
[ ! -d gnuplot-20050901 ] && mkdir gnuplot-20050901
(cd gnuplot && tar cf - .) | (cd gnuplot-20050901 && tar xvf -)
tar cvjf gnuplot-20050901.tar.bz2 gnuplot-20050901
build
./prepare 
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/gnuplot
/opt/local/info/gnuplot.info
/opt/local/libexec/gnuplot/4.1/gnuplot_x11
/opt/local/man/man1/gnuplot.1
/opt/local/share/emacs/site-lisp/gnuplot-gui.el
/opt/local/share/emacs/site-lisp/gnuplot-gui.elc
/opt/local/share/emacs/site-lisp/gnuplot.el
/opt/local/share/emacs/site-lisp/gnuplot.elc
/opt/local/share/emacs/site-lisp/info-look.20.2.el
/opt/local/share/emacs/site-lisp/info-look.20.3.el
/opt/local/share/gnuplot/4.1/gnuplot.gih

secure/clamav-0.87.1

preparation
verify_digest(){	# $0 method file string
  case "$1" in
  *)
    DIGEST=`echo "$1" | tr a-z A-Z`
    [ "$DIGEST($2)= $3" = "`openssl $1 $2`" ]
    ;;
  esac
}
verify_signature(){	# $0 url|id sig
  case "$1" in
  0x*)
    gpg --recv-keys "$1" && gpg --verify "$2"
    ;;
  *)
    curl "$1" | gpg --import && gpg --verify "$2"
    ;;
  esac
}
error_out(){	# $0 message ...
  echo "$@" 1>&2
  exit 1
}

curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/clamav/clamav-0.87.1.tar.gz
curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/clamav/clamav-0.87.1.tar.gz.sig
verify_signature http://www.clamav.net/gpg/tkojm.gpg clamav-0.87.1.tar.gz.sig || error_out "$0: stopped at line $LINENO"

tar xvzf clamav-0.87.1.tar.gz
build
env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local/clamav 
make 
patch
--- ./etc/clamd.conf~	2005-06-24 05:03:04.000000000 +0900
+++ ./etc/clamd.conf	2005-11-11 20:04:58.000000000 +0900
@@ -5,13 +5,14 @@
 
 
 # Comment or remove the line below.
-Example
+#Example
 
 # Uncomment this option to enable logging.
 # LogFile must be writable for the user running daemon.
 # A full path is required.
 # Default: disabled
 #LogFile /tmp/clamd.log
+LogFile /tmp/clamd.log
 
 # By default the log file is locked for writing - the lock protects against
 # running clamd multiple times (if want to run another clamd, please
@@ -55,6 +56,7 @@
 # daemon (main thread).
 # Default: disabled
 #PidFile /var/run/clamd.pid
+PidFile /tmp/clamd.pid
 
 # Optional path to the global temporary directory.
 # Default: system specific (usually /tmp or /var/tmp).
@@ -63,6 +65,7 @@
 # Path to the database directory.
 # Default: hardcoded (depends on installation options)
 #DatabaseDirectory /var/lib/clamav
+DatabaseDirectory /opt/local/clamav/share/clamav
 
 # The daemon works in a local OR a network mode. Due to security reasons we
 # recommend the local mode.
@@ -142,6 +145,7 @@
 # Run as a selected user (clamd must be started by root).
 # Default: disabled
 #User clamav
+User clamav
 
 # Initialize supplementary group access (clamd must be started by root).
 # Default: disabled
--- ./etc/freshclam.conf~	2005-09-16 07:27:13.000000000 +0900
+++ ./etc/freshclam.conf	2005-11-11 20:08:23.000000000 +0900
@@ -6,16 +6,18 @@
 
 
 # Comment or remove the line below.
-Example
+#Example
 
 # Path to the database directory.
 # WARNING: It must match clamd.conf's directive!
 # Default: hardcoded (depends on installation options)
 #DatabaseDirectory /var/lib/clamav
+DatabaseDirectory /opt/local/clamav/share/clamav
 
 # Path to the log file (make sure it has proper permissions)
 # Default: disabled
 #UpdateLogFile /var/log/freshclam.log
+UpdateLogFile /tmp/freshclam.log
 
 # Enable verbose logging.
 # Default: disabled
@@ -33,11 +35,13 @@
 # This option allows you to save the process identifier of the daemon
 # Default: disabled
 #PidFile /var/run/freshclam.pid
+PidFile /tmp/freshclam.pid
 
 # By default when started freshclam drops privileges and switches to the
 # "clamav" user. This directive allows you to change the database owner.
 # Default: clamav (may depend on installation options)
 #DatabaseOwner clamav
+DatabaseOwner clamav
 
 # Initialize supplementary group access (freshclam must be started by root).
 # Default: disabled
@@ -53,6 +57,7 @@
 # code. See http://www.iana.org/cctld/cctld-whois.htm for the full list.
 # Default: There is no default, which results in an error when running freshclam
 #DatabaseMirror db.XY.clamav.net
+DatabaseMirror db.jp.clamav.net
 
 # database.clamav.net is a round-robin record which points to our most 
 # reliable mirrors. It's used as a fall back in case db.XY.clamav.net is 
installed
/opt/local/clamav/bin/clamav-config
/opt/local/clamav/bin/clamdscan
/opt/local/clamav/bin/clamscan
/opt/local/clamav/bin/freshclam
/opt/local/clamav/bin/sigtool
/opt/local/clamav/etc/clamd.conf
/opt/local/clamav/etc/freshclam.conf
/opt/local/clamav/include/clamav.h
/opt/local/clamav/lib/libclamav.1.0.16.dylib
/opt/local/clamav/lib/libclamav.1.dylib
/opt/local/clamav/lib/libclamav.a
/opt/local/clamav/lib/libclamav.dylib
/opt/local/clamav/lib/libclamav.la
/opt/local/clamav/lib/pkgconfig/libclamav.pc
/opt/local/clamav/man/man1/clamdscan.1
/opt/local/clamav/man/man1/clamscan.1
/opt/local/clamav/man/man1/freshclam.1
/opt/local/clamav/man/man1/sigtool.1
/opt/local/clamav/man/man5/clamd.conf.5
/opt/local/clamav/man/man5/freshclam.conf.5
/opt/local/clamav/man/man8/clamav-milter.8
/opt/local/clamav/man/man8/clamd.8
/opt/local/clamav/sbin/clamd
/opt/local/clamav/share/clamav/daily.cvd
/opt/local/clamav/share/clamav/main.cvd
host_configuration
[ ! -d /System/Library/StartupItems/Clamd ] && \
mkdir /System/Library/StartupItems/Clamd
if [ ! -f /System/Library/StartupItems/Clamd/Clamd ]; then
  cat <<EOF > /System/Library/StartupItems/Clamd/Clamd
#!/bin/sh

##
# ClamAV Server
##

. /etc/rc.common

StartService ()
{
	/opt/local/clamav/bin/freshclam -d
	/opt/local/clamav/sbin/clamd
}

StopService ()
{
	killall -9 freshclam
	killall -9 clamd
}

RestartService () { StopService; StartService; }

RunService "\$1"
EOF
  chmod +x /System/Library/StartupItems/Clamd/Clamd
fi
if [ ! -f /System/Library/StartupItems/Clamd/StartupParameters.plist ]; then
  cat <<EOF > /System/Library/StartupItems/Clamd/StartupParameters.plist
{
  Description     = "ClamAV Server";
  Provides        = ("ClamAV Server");
}
EOF
fi
#/System/Library/StartupItems/Clamd/Clamd start

secure/gmp-4.1.4

preparation
verify_digest(){	# $0 method file string
  case "$1" in
  *)
    DIGEST=`echo "$1" | tr a-z A-Z`
    [ "$DIGEST($2)= $3" = "`openssl $1 $2`" ]
    ;;
  esac
}
verify_signature(){	# $0 url|id sig
  case "$1" in
  0x*)
    gpg --recv-keys "$1" && gpg --verify "$2"
    ;;
  *)
    curl "$1" | gpg --import && gpg --verify "$2"
    ;;
  esac
}
error_out(){	# $0 message ...
  echo "$@" 1>&2
  exit 1
}

curl -RO -C - http://ftp.sunet.se/pub/gnu/gmp/gmp-4.1.4.tar.bz2
cat <<EOF > gmp-4.1.4.tar.bz2.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)

iD8DBQBBUekNXW1H39uJn0YRAsITAKCqG1UODqC48AnALpp2Lw7ZkmnIOACbBPJA
1KtUQffxjgTUF3eUJc2IFY4=
=UIYw
-----END PGP SIGNATURE-----
EOF
verify_signature 0xDB899F46 gmp-4.1.4.tar.bz2.asc || error_out "$0: stopped at line $LINENO"

tar xvjf gmp-4.1.4.tar.bz2
build
./configure --prefix=/opt/local 
make 
make check
installed
/opt/local/include/gmp.h
/opt/local/info/gmp.info
/opt/local/info/gmp.info-1
/opt/local/info/gmp.info-2
/opt/local/lib/libgmp.3.3.3.dylib
/opt/local/lib/libgmp.3.dylib
/opt/local/lib/libgmp.a
/opt/local/lib/libgmp.dylib
/opt/local/lib/libgmp.la

secure/gnupg-1.4.2

preparation
verify_digest(){	# $0 method file string
  case "$1" in
  *)
    DIGEST=`echo "$1" | tr a-z A-Z`
    [ "$DIGEST($2)= $3" = "`openssl $1 $2`" ]
    ;;
  esac
}
verify_signature(){	# $0 url|id sig
  case "$1" in
  0x*)
    gpg --recv-keys "$1" && gpg --verify "$2"
    ;;
  *)
    curl "$1" | gpg --import && gpg --verify "$2"
    ;;
  esac
}
error_out(){	# $0 message ...
  echo "$@" 1>&2
  exit 1
}

wget -N ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.2.tar.bz2
wget -N ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.2.tar.bz2.sig
verify_digest sha1 gnupg-1.4.2.tar.bz2 "6eda5b090f9f1ac0da5e8b545e2667220a0e89ca" || error_out "$0: stopped at line $LINENO"

tar xvjf gnupg-1.4.2.tar.bz2
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/gpg
/opt/local/bin/gpgsplit
/opt/local/bin/gpgv
/opt/local/info/gpg.info
/opt/local/info/gpgv.info
/opt/local/lib/charset.alias
/opt/local/libexec/gnupg/gpgkeys_finger
/opt/local/libexec/gnupg/gpgkeys_hkp
/opt/local/libexec/gnupg/gpgkeys_http
/opt/local/libexec/gnupg/gpgkeys_ldap
/opt/local/man/man1/gpg.1
/opt/local/man/man1/gpg.ru.1
/opt/local/man/man1/gpgv.1
/opt/local/man/man7/gnupg.7
/opt/local/share/gnupg/FAQ
/opt/local/share/gnupg/faq.html
/opt/local/share/gnupg/options.skel
/opt/local/share/locale/be/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/ca/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/cs/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/da/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/de/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/el/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/en@boldquot/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/en@quot/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/eo/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/es/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/et/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/fi/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/fr/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/gl/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/hu/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/id/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/it/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/ja/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/locale.alias
/opt/local/share/locale/pl/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/pt/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/pt_BR/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/ro/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/ru/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/sk/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/sv/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/tr/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/zh_CN/LC_MESSAGES/gnupg.mo
/opt/local/share/locale/zh_TW/LC_MESSAGES/gnupg.mo

terms/dialog-1.0-20050306

preparation
curl -O -C - ftp://invisible-island.net/dialog/dialog-1.0-20050306.tgz
tar xvzf dialog-1.0-20050306.tgz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/dialog
/opt/local/man/man1/dialog.1

terms/mlterm-2.9.2

preparation
curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/mlterm/mlterm-2.9.2.tar.gz
tar xvzf mlterm-2.9.2.tar.gz
build
./configure --prefix=/opt/local\
	--with-x\
	--disable-anti-alias\
	--with-type-engines=xcore\
	--enable-uim\
;
make
installed
/opt/local/bin/mlcc
/opt/local/bin/mlclient
/opt/local/bin/mlterm
/opt/local/etc/mlterm/aafont
/opt/local/etc/mlterm/color
/opt/local/etc/mlterm/font
/opt/local/etc/mlterm/key
/opt/local/etc/mlterm/main
/opt/local/etc/mlterm/taafont
/opt/local/etc/mlterm/termcap
/opt/local/etc/mlterm/tfont
/opt/local/etc/mlterm/vaafont
/opt/local/etc/mlterm/vfont
/opt/local/etc/mlterm/xim
/opt/local/lib/libkik.10.0.0.dylib
/opt/local/lib/libkik.10.dylib
/opt/local/lib/libkik.a
/opt/local/lib/libkik.dylib
/opt/local/lib/libkik.la
/opt/local/lib/libmkf.13.0.0.dylib
/opt/local/lib/libmkf.13.dylib
/opt/local/lib/libmkf.a
/opt/local/lib/libmkf.dylib
/opt/local/lib/libmkf.la
/opt/local/lib/mlterm/libathena.a
/opt/local/lib/mlterm/libathena.la
/opt/local/lib/mlterm/libathena.so
/opt/local/lib/mlterm/libim-kbd.a
/opt/local/lib/mlterm/libim-kbd.la
/opt/local/lib/mlterm/libim-kbd.so
/opt/local/lib/mlterm/libmotif.a
/opt/local/lib/mlterm/libmotif.la
/opt/local/lib/mlterm/libmotif.so
/opt/local/lib/mlterm/libmozmodern.a
/opt/local/lib/mlterm/libmozmodern.la
/opt/local/lib/mlterm/libmozmodern.so
/opt/local/lib/mlterm/libnext.a
/opt/local/lib/mlterm/libnext.la
/opt/local/lib/mlterm/libnext.so
/opt/local/lib/mlterm/libsample.a
/opt/local/lib/mlterm/libsample.la
/opt/local/lib/mlterm/libsample.so
/opt/local/lib/mlterm/libsample2.a
/opt/local/lib/mlterm/libsample2.la
/opt/local/lib/mlterm/libsample2.so
/opt/local/man/man1/mlclient.1
/opt/local/man/man1/mlterm.1

text/aspell-0.60.3

preparation
curl -RO -C - http://www.ring.gr.jp/archives/GNU/aspell/aspell-0.60.3.tar.gz
tar xvzf aspell-0.60.3.tar.gz
build
./configure --prefix=/opt/local 
make 
patch
--- ./scripts/ispell~	2004-10-27 02:12:17.000000000 +0900
+++ ./scripts/ispell	2005-08-13 18:09:59.000000000 +0900
@@ -8,6 +8,8 @@
 
 command=""
 
+export LANG= LC_ALL=
+
 for p 
 do
   case $p in 
--- ./scripts/spell~	2005-01-11 18:56:33.000000000 +0900
+++ ./scripts/spell	2005-08-13 18:08:57.000000000 +0900
@@ -2,5 +2,5 @@
 
 # aspell list mimicks the standard unix spell program, roughly.
 
-cat "$@" | aspell list --mode=none | sort -u
+cat "$@" | env LANG= LC_ALL= aspell list --mode=none | sort -u
 
installation
make install && cp scripts/ispell scripts/spell /opt/local/bin 
(cd /opt/local/bin; ln -sf ../lib/aspell-0.60/spell .; ln -sf ../lib/aspell-0.60/ispell .)
installed
/opt/local/bin/aspell
/opt/local/bin/aspell-import
/opt/local/bin/ispell
/opt/local/bin/precat
/opt/local/bin/preunzip
/opt/local/bin/prezip
/opt/local/bin/prezip-bin
/opt/local/bin/pspell-config
/opt/local/bin/run-with-aspell
/opt/local/bin/spell
/opt/local/bin/word-list-compress
/opt/local/include/aspell.h
/opt/local/include/pspell/pspell.h
/opt/local/info/aspell-dev.info
/opt/local/info/aspell.info
/opt/local/lib/aspell-0.60/ccpp.amf
/opt/local/lib/aspell-0.60/comment.amf
/opt/local/lib/aspell-0.60/context-filter.info
/opt/local/lib/aspell-0.60/context-filter.la
/opt/local/lib/aspell-0.60/context-filter.so
/opt/local/lib/aspell-0.60/cp1250.cmap
/opt/local/lib/aspell-0.60/cp1250.cset
/opt/local/lib/aspell-0.60/cp1251.cmap
/opt/local/lib/aspell-0.60/cp1251.cset
/opt/local/lib/aspell-0.60/cp1252.cmap
/opt/local/lib/aspell-0.60/cp1252.cset
/opt/local/lib/aspell-0.60/cp1253.cmap
/opt/local/lib/aspell-0.60/cp1253.cset
/opt/local/lib/aspell-0.60/cp1254.cmap
/opt/local/lib/aspell-0.60/cp1254.cset
/opt/local/lib/aspell-0.60/cp1255.cmap
/opt/local/lib/aspell-0.60/cp1255.cset
/opt/local/lib/aspell-0.60/cp1256.cmap
/opt/local/lib/aspell-0.60/cp1256.cset
/opt/local/lib/aspell-0.60/cp1257.cmap
/opt/local/lib/aspell-0.60/cp1257.cset
/opt/local/lib/aspell-0.60/cp1258.cmap
/opt/local/lib/aspell-0.60/cp1258.cset
/opt/local/lib/aspell-0.60/dvorak.kbd
/opt/local/lib/aspell-0.60/email-filter.info
/opt/local/lib/aspell-0.60/email-filter.la
/opt/local/lib/aspell-0.60/email-filter.so
/opt/local/lib/aspell-0.60/email.amf
/opt/local/lib/aspell-0.60/html-filter.info
/opt/local/lib/aspell-0.60/html.amf
/opt/local/lib/aspell-0.60/iso-8859-1.cmap
/opt/local/lib/aspell-0.60/iso-8859-1.cset
/opt/local/lib/aspell-0.60/iso-8859-10.cmap
/opt/local/lib/aspell-0.60/iso-8859-10.cset
/opt/local/lib/aspell-0.60/iso-8859-11.cmap
/opt/local/lib/aspell-0.60/iso-8859-11.cset
/opt/local/lib/aspell-0.60/iso-8859-13.cmap
/opt/local/lib/aspell-0.60/iso-8859-13.cset
/opt/local/lib/aspell-0.60/iso-8859-14.cmap
/opt/local/lib/aspell-0.60/iso-8859-14.cset
/opt/local/lib/aspell-0.60/iso-8859-15.cmap
/opt/local/lib/aspell-0.60/iso-8859-15.cset
/opt/local/lib/aspell-0.60/iso-8859-16.cmap
/opt/local/lib/aspell-0.60/iso-8859-16.cset
/opt/local/lib/aspell-0.60/iso-8859-2.cmap
/opt/local/lib/aspell-0.60/iso-8859-2.cset
/opt/local/lib/aspell-0.60/iso-8859-3.cmap
/opt/local/lib/aspell-0.60/iso-8859-3.cset
/opt/local/lib/aspell-0.60/iso-8859-4.cmap
:

text/aspell6-en-6.0-0

preparation
curl -RO -C - http://www.ring.gr.jp/archives/GNU/aspell/dict/en/aspell6-en-6.0-0.tar.bz2
tar xvjf aspell6-en-6.0-0.tar.bz2
build
./configure 
installation
make install 
installed
/opt/local/lib/aspell-0.60/american-w_accents.alias
/opt/local/lib/aspell-0.60/american-wo_accents.alias
/opt/local/lib/aspell-0.60/american.alias
/opt/local/lib/aspell-0.60/british-ise-w_accents.alias
/opt/local/lib/aspell-0.60/british-ise-wo_accents.alias
/opt/local/lib/aspell-0.60/british-ise.alias
/opt/local/lib/aspell-0.60/british-ize-w_accents.alias
/opt/local/lib/aspell-0.60/british-ize-wo_accents.alias
/opt/local/lib/aspell-0.60/british-ize.alias
/opt/local/lib/aspell-0.60/british-w_accents.alias
/opt/local/lib/aspell-0.60/british-wo_accents.alias
/opt/local/lib/aspell-0.60/british.alias
/opt/local/lib/aspell-0.60/canadian-w_accents.alias
/opt/local/lib/aspell-0.60/canadian-wo_accents.alias
/opt/local/lib/aspell-0.60/canadian.alias
/opt/local/lib/aspell-0.60/en-common.rws
/opt/local/lib/aspell-0.60/en-variant_0.multi
/opt/local/lib/aspell-0.60/en-variant_0.rws
/opt/local/lib/aspell-0.60/en-variant_1.multi
/opt/local/lib/aspell-0.60/en-variant_1.rws
/opt/local/lib/aspell-0.60/en-variant_2.multi
/opt/local/lib/aspell-0.60/en-variant_2.rws
/opt/local/lib/aspell-0.60/en-w_accents.multi
/opt/local/lib/aspell-0.60/en-wo_accents.multi
/opt/local/lib/aspell-0.60/en.dat
/opt/local/lib/aspell-0.60/en.multi
/opt/local/lib/aspell-0.60/en_affix.dat
/opt/local/lib/aspell-0.60/en_CA-w_accents-only.rws
/opt/local/lib/aspell-0.60/en_CA-w_accents.multi
/opt/local/lib/aspell-0.60/en_CA-wo_accents-only.rws
/opt/local/lib/aspell-0.60/en_CA-wo_accents.multi
/opt/local/lib/aspell-0.60/en_CA.multi
/opt/local/lib/aspell-0.60/en_GB-ise-w_accents-only.rws
/opt/local/lib/aspell-0.60/en_GB-ise-w_accents.multi
/opt/local/lib/aspell-0.60/en_GB-ise-wo_accents-only.rws
/opt/local/lib/aspell-0.60/en_GB-ise-wo_accents.multi
/opt/local/lib/aspell-0.60/en_GB-ise.multi
/opt/local/lib/aspell-0.60/en_GB-ize-w_accents-only.rws
/opt/local/lib/aspell-0.60/en_GB-ize-w_accents.multi
/opt/local/lib/aspell-0.60/en_GB-ize-wo_accents-only.rws
/opt/local/lib/aspell-0.60/en_GB-ize-wo_accents.multi
/opt/local/lib/aspell-0.60/en_GB-ize.multi
/opt/local/lib/aspell-0.60/en_GB-w_accents.multi
/opt/local/lib/aspell-0.60/en_GB-wo_accents.multi
/opt/local/lib/aspell-0.60/en_GB.multi
/opt/local/lib/aspell-0.60/en_phonet.dat
/opt/local/lib/aspell-0.60/en_US-w_accents-only.rws
/opt/local/lib/aspell-0.60/en_US-w_accents.multi
/opt/local/lib/aspell-0.60/en_US-wo_accents-only.rws
/opt/local/lib/aspell-0.60/en_US-wo_accents.multi
/opt/local/lib/aspell-0.60/en_US.multi
/opt/local/lib/aspell-0.60/english-variant_0.alias
/opt/local/lib/aspell-0.60/english-variant_1.alias
/opt/local/lib/aspell-0.60/english-variant_2.alias
/opt/local/lib/aspell-0.60/english-w_accents.alias
/opt/local/lib/aspell-0.60/english-wo_accents.alias
/opt/local/lib/aspell-0.60/english.alias

text/nkf205

preparation
curl -RO -C - http://osdn.dl.sourceforge.jp/nkf/15302/nkf205.tar.gz
tar xvzf nkf205.tar.gz
build
make 
installation
cp nkf /opt/local/bin
cp nkf.1 /opt/local/man/man1
installed
/opt/local/bin/nkf
/opt/local/man/man1/nkf.1

text/ptetex3/ptetex3-20050811

preparation
curl -RO -C - http://www.ring.gr.jp/pub/text/CTAN/systems/unix/teTeX/3.0/distrib/tetex-src-3.0.tar.gz
curl -RO -C - http://www.ring.gr.jp/pub/text/CTAN/systems/unix/teTeX/3.0/distrib/tetex-texmf-3.0.tar.gz
curl -RO -C - http://tutimura.ath.cx/~nob/tex/ptetex/ptetex3/ptetex3-20050811.tar.gz
curl -RO -C - http://tutimura.ath.cx/~nob/tex/ptetex/ptetex-cmap/ptetex-cmap-20050607.tar.gz
tar xvzf ptetex3-20050811.tar.gz
tar xvzf ptetex-cmap-20050607.tar.gz
(cd ptetex3-20050811; patch -p0 -b -z.org < ../ptetex3-20050811-sakuya.patch)
patch
--- ./1check-archive.sh.org	2005-08-11 14:48:37.000000000 +0900
+++ ./1check-archive.sh	2005-09-01 12:13:21.000000000 +0900
@@ -10,7 +10,7 @@
     echo ""
     echo "Those variables may make unexpected effect. Please unset."
     echo ""
-    exit 1
+#    exit 1
 fi
 
 if test -d ~/.texmf -o -d ~/.texmf-var -o -d ~/.texmf-config ; then
--- ./6font-search.sh.org	2005-08-06 01:20:25.000000000 +0900
+++ ./6font-search.sh	2005-09-01 12:13:21.000000000 +0900
@@ -41,13 +41,15 @@
 	    \#*) continue;;
 	esac
 	test -h "$1/$LINK" && continue
+	DIR=`echo "$DIR" | sed 's/ /?/g'`
 	for f in `eval echo $DIR`; do
 	    test -f "$f" -o -d "$f" || continue
 	    echo ""
 	    echo "[$f]"
 	    ls -F "$f"
 	    echo "exec 'ln -sf \"$f\" \"$1/$LINK\"' ? [y/N] "
-	    yesno || continue
+#	    yesno || continue
+	    true || continue
 	    mkdir -p "$1"
 	    ln -sf "$f" "$1/$LINK"
 	done
@@ -80,7 +82,7 @@
 Acrobat4    /usr{,/local,/sfw}{,/lib}/Acrobat4/Resource/CMap
 Acrobat5    /usr{,/local,/sfw}{,/lib}/Acrobat5/Resource/Font
 Acrobat7    /usr{,/local,/sfw}{,/lib}{,/Adobe}/Acrobat7.0/Resource/CMap
-ghostscript /usr{,/local,/sfw}/{share,lib}/ghostscript/Resource/CMap
+ghostscript {/usr,/opt}{,/local,/sfw}{,gs7.07}/{share,lib}/ghostscript/Resource/CMap
 openwinja   /usr/openwin/lib/locale/ja/X11/Resource/CMap
 openwinko   /usr/openwin/lib/locale/ko/X11/Resource/CMap
 openwinzh   /usr/openwin/lib/locale/zh/X11/Resource/CMap
@@ -91,21 +93,19 @@
 ### リンク名  検索ディレクトリ/ファイル
 X11      /usr/X11R6/lib/X11/fonts/TrueType
 x11      /usr/X11R6/lib/X11/fonts/truetype
-X11TTF   /usr/X11R6/lib/X11/fonts/TTF
+X11TTF   /opt/local/X11R6/lib/X11/fonts/truetype
 openwin  /usr/openwin/lib/locale/ja/X11/fonts/TT
 EOF
 
-mksymlink $OPENTYPE <<EOF
+LC_ALL=ja_JP.UTF-8
+cat <<EOF | iconv -f EUC-JP -t UTF-8-MAC | mksymlink $OPENTYPE
 ### リンク名  検索ディレクトリ/ファイル
-# for test (空白を含むファイル)
-hoge "/tmp/hoge?hoge"
-# for MacOS X
-HiraMinPro-W3.otf  "/System/Library/Fonts/??????????????????????Pro?W3.otf"
-HiraMinPro-W6.otf  "/System/Library/Fonts/??????????????????????Pro?W6.otf"
-HiraKakuPro-W3.otf "/System/Library/Fonts/?????????????????????????Pro?W3.otf"
-HiraKakuPro-W6.otf "/System/Library/Fonts/?????????????????????????Pro?W6.otf"
-HiraKakuStd-W8.otf "/System/Library/Fonts/?????????????????????????Std?W8.otf"
-HiraMaruPro-W4.otf "/System/Library/Fonts/?????????????????????????Pro?W4.otf"
+HiraMinPro-W3.otf "/System/Library/Fonts/ヒラギノ明朝 Pro W3.otf"
+HiraMinPro-W6.otf "/System/Library/Fonts/ヒラギノ明朝 Pro W6.otf"
+HiraKakuPro-W3.otf "/System/Library/Fonts/ヒラギノ角ゴ Pro W3.otf"
+HiraKakuPro-W6.otf "/System/Library/Fonts/ヒラギノ角ゴ Pro W6.otf"
+HiraKakuStd-W8.otf "/System/Library/Fonts/ヒラギノ角ゴ Std W8.otf"
+HiraMaruPro-W4.otf "/System/Library/Fonts/ヒラギノ丸ゴ Pro W4.otf"
 EOF
 
 echo ""
--- ./common.sh.org	2005-08-08 12:40:29.000000000 +0900
+++ ./common.sh	2005-09-01 12:25:26.000000000 +0900
@@ -112,7 +112,7 @@
 	echo "'$1' is already exist."
 	echo "Please 'rm -rf $1'."
 	echo ""
-	exit 1
+#	exit 1
     fi
 }
 
--- ./my_option.org	2005-09-01 12:13:21.000000000 +0900
+++ ./my_option	2005-09-01 12:13:21.000000000 +0900
@@ -0,0 +1,9 @@
+MD5CHECK=md5check
+CPPFLAGS="-I/opt/local/include"
+LDFLAGS="-L/opt/local/lib"
+CONF_OPTION="$CONF_OPTION --enable-shared"
+CONF_OPTION="$CONF_OPTION --with-system-zlib"
+CONF_OPTION="$CONF_OPTION --with-system-pnglib"
+CONF_OPTION="$CONF_OPTION --with-system-ncurses"
+#CONF_OPTION="$CONF_OPTION --with-system-gd"
+CONF_OPTION="$CONF_OPTION --enable-freetype"
installation
ln -sf ../tetex-* .
#MAKEFLAGS="PREFIX=/opt/local/ptetex3 SRC_DIR=`pwd`"
MAKEFLAGS="PREFIX=/opt/local SRC_DIR=`pwd` TEX_DIR=/opt/local/ptetex3 DATA_DIR=/opt/local/ptetex3/share"
make $MAKEFLAGS all otf font babel
(cd ../ptetex-cmap-20050607; make $MAKEFLAGS)
make $MAKEFLAGS test
env PATH=/opt/local/ptetex3/bin:$PATH updmap-sys --nomkmap --disable otf-noEmbedFont.map
env PATH=/opt/local/ptetex3/bin:$PATH updmap-sys --enable KanjiMap otf-hiraginox.map
installed
/opt/local/ptetex3/bin/a2ping
/opt/local/ptetex3/bin/afm2tfm
/opt/local/ptetex3/bin/aleph
/opt/local/ptetex3/bin/allcm
/opt/local/ptetex3/bin/allec
/opt/local/ptetex3/bin/allneeded
/opt/local/ptetex3/bin/bibtex
/opt/local/ptetex3/bin/ctangle
/opt/local/ptetex3/bin/ctie
/opt/local/ptetex3/bin/cweave
/opt/local/ptetex3/bin/dmp
/opt/local/ptetex3/bin/dvi2fax
/opt/local/ptetex3/bin/dvicopy
/opt/local/ptetex3/bin/dvigif
/opt/local/ptetex3/bin/dvihp
/opt/local/ptetex3/bin/dvilj
/opt/local/ptetex3/bin/dvilj2p
/opt/local/ptetex3/bin/dvilj4
/opt/local/ptetex3/bin/dvilj4l
/opt/local/ptetex3/bin/dvilj6
/opt/local/ptetex3/bin/dvipdfm
/opt/local/ptetex3/bin/dvipdfmx
/opt/local/ptetex3/bin/dvipdft
/opt/local/ptetex3/bin/dvipng
/opt/local/ptetex3/bin/dvips
/opt/local/ptetex3/bin/dvired
/opt/local/ptetex3/bin/dvitomp
/opt/local/ptetex3/bin/dvitype
/opt/local/ptetex3/bin/e2pall
/opt/local/ptetex3/bin/ebb
/opt/local/ptetex3/bin/epstopdf
/opt/local/ptetex3/bin/etex
/opt/local/ptetex3/bin/fdf2tan
/opt/local/ptetex3/bin/fdf2tex
/opt/local/ptetex3/bin/fmtutil
/opt/local/ptetex3/bin/fmtutil-sys
/opt/local/ptetex3/bin/fontinst
/opt/local/ptetex3/bin/gftodvi
/opt/local/ptetex3/bin/gftopk
/opt/local/ptetex3/bin/gftype
/opt/local/ptetex3/bin/gsftopk
/opt/local/ptetex3/bin/info
/opt/local/ptetex3/bin/infokey
/opt/local/ptetex3/bin/install-info
/opt/local/ptetex3/bin/jbibtex
/opt/local/ptetex3/bin/jmpost
/opt/local/ptetex3/bin/kpseaccess
/opt/local/ptetex3/bin/kpsepath
/opt/local/ptetex3/bin/kpsereadlink
/opt/local/ptetex3/bin/kpsestat
/opt/local/ptetex3/bin/kpsetool
/opt/local/ptetex3/bin/kpsewhere
/opt/local/ptetex3/bin/kpsewhich
/opt/local/ptetex3/bin/kpsexpand
/opt/local/ptetex3/bin/lambda
/opt/local/ptetex3/bin/lamed
/opt/local/ptetex3/bin/latex
/opt/local/ptetex3/bin/mag
/opt/local/ptetex3/bin/makeindex
/opt/local/ptetex3/bin/makeinfo
/opt/local/ptetex3/bin/makempx
/opt/local/ptetex3/bin/makempy
/opt/local/ptetex3/bin/mendex
/opt/local/ptetex3/bin/mf
:
data_installed
/opt/local/ptetex3/include/kpathsea/absolute.h
/opt/local/ptetex3/include/kpathsea/c-ctype.h
/opt/local/ptetex3/include/kpathsea/c-dir.h
/opt/local/ptetex3/include/kpathsea/c-errno.h
/opt/local/ptetex3/include/kpathsea/c-fopen.h
/opt/local/ptetex3/include/kpathsea/c-limits.h
/opt/local/ptetex3/include/kpathsea/c-memstr.h
/opt/local/ptetex3/include/kpathsea/c-minmax.h
/opt/local/ptetex3/include/kpathsea/c-namemx.h
/opt/local/ptetex3/include/kpathsea/c-pathch.h
/opt/local/ptetex3/include/kpathsea/c-pathmx.h
/opt/local/ptetex3/include/kpathsea/c-proto.h
/opt/local/ptetex3/include/kpathsea/c-stat.h
/opt/local/ptetex3/include/kpathsea/c-std.h
/opt/local/ptetex3/include/kpathsea/c-unistd.h
/opt/local/ptetex3/include/kpathsea/c-vararg.h
/opt/local/ptetex3/include/kpathsea/cnf.h
/opt/local/ptetex3/include/kpathsea/concatn.h
/opt/local/ptetex3/include/kpathsea/config.h
/opt/local/ptetex3/include/kpathsea/db.h
/opt/local/ptetex3/include/kpathsea/debug.h
/opt/local/ptetex3/include/kpathsea/default.h
/opt/local/ptetex3/include/kpathsea/expand.h
/opt/local/ptetex3/include/kpathsea/fn.h
/opt/local/ptetex3/include/kpathsea/fontmap.h
/opt/local/ptetex3/include/kpathsea/getopt.h
/opt/local/ptetex3/include/kpathsea/hash.h
/opt/local/ptetex3/include/kpathsea/kpathsea.h
/opt/local/ptetex3/include/kpathsea/lib.h
/opt/local/ptetex3/include/kpathsea/line.h
/opt/local/ptetex3/include/kpathsea/magstep.h
/opt/local/ptetex3/include/kpathsea/pathsearch.h
/opt/local/ptetex3/include/kpathsea/proginit.h
/opt/local/ptetex3/include/kpathsea/progname.h
/opt/local/ptetex3/include/kpathsea/readable.h
/opt/local/ptetex3/include/kpathsea/str-list.h
/opt/local/ptetex3/include/kpathsea/str-llist.h
/opt/local/ptetex3/include/kpathsea/systypes.h
/opt/local/ptetex3/include/kpathsea/tex-file.h
/opt/local/ptetex3/include/kpathsea/tex-glyph.h
/opt/local/ptetex3/include/kpathsea/tex-hush.h
/opt/local/ptetex3/include/kpathsea/tex-make.h
/opt/local/ptetex3/include/kpathsea/tilde.h
/opt/local/ptetex3/include/kpathsea/truncate.h
/opt/local/ptetex3/include/kpathsea/types.h
/opt/local/ptetex3/include/kpathsea/variable.h
/opt/local/ptetex3/include/kpathsea/xopendir.h
/opt/local/ptetex3/include/kpathsea/xstat.h
/opt/local/ptetex3/info/dvips.info
/opt/local/ptetex3/info/kpathsea.info
/opt/local/ptetex3/info/latex.info
/opt/local/ptetex3/info/texi2html.info
/opt/local/ptetex3/info/texi2html.info-1
/opt/local/ptetex3/info/texi2html.info-2
/opt/local/ptetex3/info/texi2html.info-3
/opt/local/ptetex3/info/web2c.info
/opt/local/ptetex3/man/man1/afm2tfm.1
/opt/local/ptetex3/man/man1/allcm.1
/opt/local/ptetex3/man/man1/allneeded.1
/opt/local/ptetex3/man/man1/ctie.1
/opt/local/ptetex3/man/man1/dvi2fax.1
/opt/local/ptetex3/man/man1/dvihp.1
/opt/local/ptetex3/man/man1/dvilj.1
/opt/local/ptetex3/man/man1/dvipdfm.1
:

viewers/lv451

preparation
curl -RO -C - http://www.ff.iij4u.or.jp/~nrt/freeware/lv451.tar.gz
tar xvzf lv451.tar.gz
build
./src/configure --prefix=/opt/local 
make 
installed
/opt/local/bin/lgrep
/opt/local/bin/lv
/opt/local/lib/lv/lv.hlp
/opt/local/man/man1/lv.1

widgets/lesstif-0.94.4

preparation
curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/lesstif/lesstif-0.94.4.tar.bz2
tar xvjf lesstif-0.94.4.tar.bz2
build
./configure --prefix=/opt/local --without-freetype-includes --without-freetype-lib --without-freetype-config
make 
installed
/opt/local/bin/motif-config
/opt/local/bin/mwm
/opt/local/bin/mxmkmf
/opt/local/bin/uil
/opt/local/bin/xmbind
/opt/local/include/Dt/Print.h
/opt/local/include/Mrm/MrmAppl.h
/opt/local/include/Mrm/MrmDecls.h
/opt/local/include/Mrm/MrmPrivate.h
/opt/local/include/Mrm/MrmPublic.h
/opt/local/include/uil/Uil.h
/opt/local/include/uil/UilDBDef.h
/opt/local/include/uil/UilDef.h
/opt/local/include/uil/UilSymDef.h
/opt/local/include/uil/UilSymGl.h
/opt/local/include/uil/XmAppl.uil
/opt/local/include/Xm/AccTextT.h
/opt/local/include/Xm/ActivatableT.h
/opt/local/include/Xm/ArrowB.h
/opt/local/include/Xm/ArrowBG.h
/opt/local/include/Xm/ArrowBGP.h
/opt/local/include/Xm/ArrowBP.h
/opt/local/include/Xm/AtomMgr.h
/opt/local/include/Xm/BaseClassP.h
/opt/local/include/Xm/BulletinB.h
/opt/local/include/Xm/BulletinBP.h
/opt/local/include/Xm/CacheP.h
/opt/local/include/Xm/CareVisualT.h
/opt/local/include/Xm/CascadeB.h
/opt/local/include/Xm/CascadeBG.h
/opt/local/include/Xm/CascadeBGP.h
/opt/local/include/Xm/CascadeBP.h
/opt/local/include/Xm/ColorObjP.h
/opt/local/include/Xm/ComboBox.h
/opt/local/include/Xm/ComboBoxP.h
/opt/local/include/Xm/Command.h
/opt/local/include/Xm/CommandP.h
/opt/local/include/Xm/Container.h
/opt/local/include/Xm/ContainerP.h
/opt/local/include/Xm/ContainerT.h
/opt/local/include/Xm/ContItemT.h
/opt/local/include/Xm/CutPaste.h
/opt/local/include/Xm/CutPasteP.h
/opt/local/include/Xm/DesktopP.h
/opt/local/include/Xm/DialogS.h
/opt/local/include/Xm/DialogSavvyT.h
/opt/local/include/Xm/DialogSEP.h
/opt/local/include/Xm/DialogSP.h
/opt/local/include/Xm/Display.h
/opt/local/include/Xm/DisplayP.h
/opt/local/include/Xm/DragC.h
/opt/local/include/Xm/DragCP.h
/opt/local/include/Xm/DragDrop.h
/opt/local/include/Xm/DragIcon.h
/opt/local/include/Xm/DragIconP.h
/opt/local/include/Xm/DragOverS.h
/opt/local/include/Xm/DragOverSP.h
/opt/local/include/Xm/DrawingA.h
/opt/local/include/Xm/DrawingAP.h
/opt/local/include/Xm/DrawnB.h
/opt/local/include/Xm/DrawnBP.h
/opt/local/include/Xm/DrawP.h
/opt/local/include/Xm/DropSMgr.h
/opt/local/include/Xm/DropSMgrP.h
:

wm/bbkeys-0.9.0

preparation
curl -RO -C - http://jaist.dl.sourceforge.net/sourceforge/bbkeys/bbkeys-0.9.0.tar.gz
tar xvzf bbkeys-0.9.0.tar.gz
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/bbkeys
/opt/local/man/man1/bbkeys.1
/opt/local/man/man5/bbkeysrc.5
/opt/local/share/bbkeys/bbkeysrc
/opt/local/share/bbkeys/defaultStyle
/opt/local/share/doc/bbkeys/AUTHORS
/opt/local/share/doc/bbkeys/BUGS
/opt/local/share/doc/bbkeys/ChangeLog
/opt/local/share/doc/bbkeys/LICENSE
/opt/local/share/doc/bbkeys/NEWS
/opt/local/share/doc/bbkeys/README
/opt/local/share/doc/bbkeys/TODO

wm/blackbox-0.70.0

preparation
curl -RO -C - http://keihanna.dl.sourceforge.net/sourceforge/blackboxwm/blackbox-0.70.0.tar.bz2
tar xvjf blackbox-0.70.0.tar.bz2
build
./configure --prefix=/opt/local 
make 
installed
/opt/local/bin/blackbox
/opt/local/bin/bsetbg
/opt/local/bin/bsetroot
/opt/local/bin/bstyleconvert
/opt/local/include/bt/Application.hh
/opt/local/include/bt/Bitmap.hh
/opt/local/include/bt/Color.hh
/opt/local/include/bt/Display.hh
/opt/local/include/bt/EventHandler.hh
/opt/local/include/bt/EWMH.hh
/opt/local/include/bt/Font.hh
/opt/local/include/bt/Image.hh
/opt/local/include/bt/Menu.hh
/opt/local/include/bt/Pen.hh
/opt/local/include/bt/PixmapCache.hh
/opt/local/include/bt/Rect.hh
/opt/local/include/bt/Resource.hh
/opt/local/include/bt/Texture.hh
/opt/local/include/bt/Timer.hh
/opt/local/include/bt/Unicode.hh
/opt/local/include/bt/Util.hh
/opt/local/lib/libbt.a
/opt/local/lib/libbt.la
/opt/local/lib/pkgconfig/libbt.pc
/opt/local/man/man1/blackbox.1
/opt/local/man/man1/bsetbg.1
/opt/local/man/man1/bsetroot.1
/opt/local/share/blackbox/menu
/opt/local/share/blackbox/styles/Blue
/opt/local/share/blackbox/styles/Gray
/opt/local/share/blackbox/styles/Green
/opt/local/share/blackbox/styles/Purple
/opt/local/share/blackbox/styles/Red

wm/blackbox-0.70.0+themes

installation
cp JapaneseTraditionalColorsB JapaneseTraditionalColorsG JapaneseTraditionalColorsO JapaneseTraditionalColorsR JapaneseTraditionalColorsY /opt/local/share/blackbox/styles/ 
installed
/opt/local/share/blackbox/styles/JapaneseTraditionalColorsB
/opt/local/share/blackbox/styles/JapaneseTraditionalColorsG
/opt/local/share/blackbox/styles/JapaneseTraditionalColorsO
/opt/local/share/blackbox/styles/JapaneseTraditionalColorsR
/opt/local/share/blackbox/styles/JapaneseTraditionalColorsY

x11/input/kinput2-v3.1

preparation
curl -O -C - ftp://ftp.sra.co.jp/pub/x11/kinput2/kinput2-v3.1.tar.gz
curl -RO -C - http://canna.sourceforge.jp/canna37patches/kinput2-v3.1-canna37.diff
tar xvzf kinput2-v3.1.tar.gz
(cd kinput2-v3.1; patch -p1 < ../kinput2-v3.1-canna37.diff)
(cd kinput2-v3.1; patch -p0 < ../kinput2-v3.1-sakuya.patch)
build
xmkmf -a 
make 
patch
--- ./Kinput2.conf.org	2002-10-03 18:35:26.000000000 +0900
+++ ./Kinput2.conf	2005-07-23 05:27:54.000000000 +0900
@@ -15,10 +15,10 @@
  **	command line option.
  **/
 
-/* #define UseWnn */	/* define if you are going to use Wnn (v4, v6 or v7) */
+#define UseWnn		/* define if you are going to use Wnn (v4, v6 or v7) */
 /* #define UseWnn6 */	/* define if you are going to use Wnn6 or above */
 #define UseCanna	/* define if you are going to use Canna */
-#define UseSj3		/* define if you are going to use Sj3 */
+/* #define UseSj3 */	/* define if you are going to use Sj3 */
 /* #define UseAtok */	/* define if you are going to use Atok */
 
 
@@ -34,7 +34,7 @@
  * You have to define WnnLibDir if Wnn4 configuration files
  * are not installed in /usr/local/lib/wnn (which is the default).
  */
-/* #define WnnLibDir /some/peculiar/directory/wnn */
+#define WnnLibDir /opt/local/lib/wnn
 
 /* for convenience.. */
 #if defined(UseWnn6) && !defined(UseWnn)
@@ -52,17 +52,17 @@
  * WnnLibDir above.
  */
 XCOMM use installed header files
-XCOMM WNNINCDIR = /usr/X11R6/include/wnn
+WNNINCDIR = /opt/local/include/wnn
 XCOMM use installed library
-XCOMM WNNLIB = -lwnn
+WNNLIB = -L/opt/local/lib -lwnn
 
 /*
  * Or, use library in the source tree..
  */
 XCOMM use library in the source tree
-WNNSRC = $(CONTRIBSRC)/programs/Xsi/Wnn
-WNNINCDIR = $(WNNSRC)/include
-WNNLIB = $(WNNSRC)/jlib/libwnn.a
+XCOMM WNNSRC = $(CONTRIBSRC)/programs/Xsi/Wnn
+XCOMM WNNINCDIR = $(WNNSRC)/include
+XCOMM WNNLIB = $(WNNSRC)/jlib/libwnn.a
 
 
 XCOMM Canna configuration
@@ -78,17 +78,17 @@
  * If you have already installed Canna header files and libraries..
  */
 XCOMM use installed headers/libraries
-XCOMM CANNAINSTDIR = /usr/local/canna
-XCOMM CANNASRC = $(CANNAINSTDIR)/include
-XCOMM CANNALIB = -lcanna16
+CANNAINSTDIR = /opt/local/canna
+CANNASRC = $(CANNAINSTDIR)/include
+CANNALIB = -L$(CANNAINSTDIR)/lib -lcanna16
 
 /*
  * If you have compiled Canna that came with X11R6 (contrib/programs/Canna),
  * but not installed yet..
  */
 XCOMM use headers/libraries in the source tree
-CANNASRC = $(CONTRIBSRC)/programs/Canna32
-CANNALIB = -L$(CANNASRC)/lib/canna16 -lcanna16
+XCOMM CANNASRC = $(CONTRIBSRC)/programs/Canna32
+XCOMM CANNALIB = -L$(CANNASRC)/lib/canna16 -lcanna16
 
 
 XCOMM SJ3 configuration
@@ -110,15 +110,15 @@
  */
 XCOMM use installed header/library
 XCOMM specify the directory where libsj3.h resides as SJ3SRC.
-XCOMM SJ3SRC = /usr/local/include
-XCOMM SJ3LIB = -lsj3lib
+SJ3SRC = /opt/local/include
+SJ3LIB = -L/opt/local/lib -lsj3lib
 
 /*
  * Use compiled library in the source tree..
  */
 XCOMM use library in the source tree
-SJ3SRC = $(CONTRIBSRC)/programs/sj3
-SJ3LIB = $(SJ3SRC)/sj3lib/libsj3lib.a
+XCOMM SJ3SRC = $(CONTRIBSRC)/programs/sj3
+XCOMM SJ3LIB = $(SJ3SRC)/sj3lib/libsj3lib.a
 
 
 XCOMM Atok configuration
installed
/usr/X11R6/bin/kinput2
/usr/X11R6/lib/X11/ccdef/ccdef.kinput2
/usr/X11R6/lib/X11/ccdef/ccdef.kinput2.egg
/usr/X11R6/lib/X11/ccdef/rule.eggfunc
/usr/X11R6/lib/X11/ccdef/rule.func
/usr/X11R6/lib/X11/ccdef/rule.greek
/usr/X11R6/lib/X11/ccdef/rule.hiragana.egg
/usr/X11R6/lib/X11/ccdef/rule.kana
/usr/X11R6/lib/X11/ccdef/rule.kana2
/usr/X11R6/lib/X11/ccdef/rule.katakana.egg
/usr/X11R6/lib/X11/ccdef/rule.kigou.egg
/usr/X11R6/lib/X11/ccdef/rule.roma
/usr/X11R6/lib/X11/ccdef/rule.wnnroma
/usr/X11R6/lib/X11/ccdef/rule.zascii
/usr/X11R6/lib/X11/doc/html/kinput2.1.html
/usr/X11R6/man/man1/kinput2.1
/etc/X11/app-defaults/Kinput2

x11/misc/obsolete/xclip-0.08

preparation
curl -RO -C - http://people.debian.org/~kims/xclip/xclip-0.08.tar.gz
curl -RO -C - http://ftp.debian.org/debian/pool/main/x/xclip/xclip_0.08-4.diff.gz
tar xvzf xclip-0.08.tar.gz
ln -s xclip xclip-0.08
(cd xclip-0.08; gzcat ../xclip_0.08-4.diff.gz | patch -p1)
(cd xclip-0.08; patch -p1 < ../xclip-0.08-sakuya.patch)
build
xmkmf -a 
make 
patch
diff -ruN --exclude=Makefile --exclude=makefile --exclude='*.org' ../xclip-0.08.org/Imakefile ./Imakefile
--- ../xclip-0.08.org/Imakefile	2005-08-16 20:54:23.000000000 +0900
+++ ./Imakefile	2005-08-16 20:57:39.000000000 +0900
@@ -27,6 +27,7 @@
 /* Normal development flags for warnings and debug info
 CFLAGS = -Wall -g
 */
+CFLAGS = -DI18N
 
 SRCS = xclib.c xcprint.c xclip.c
 OBJS = xclib.o xcprint.o xclip.o
diff -ruN --exclude=Makefile --exclude=makefile --exclude='*.org' ../xclip-0.08.org/xclib.c ./xclib.c
--- ../xclip-0.08.org/xclib.c	2005-08-16 20:54:24.000000000 +0900
+++ ./xclib.c	2005-08-16 18:41:09.000000000 +0900
@@ -23,6 +23,10 @@
 #include <string.h>
 #include <X11/Xlib.h>
 #include <X11/Xatom.h>
+#ifndef I18N
+#else
+#include <X11/Xmu/Atoms.h>
+#endif
 #include "xcdef.h"
 #include "xcprint.h"
 #include "xclib.h"
@@ -128,7 +132,11 @@
 			XConvertSelection(
 				dpy,
 				sel,
+#ifndef I18N
 				XA_STRING,
+#else
+				XA_TEXT(dpy),
+#endif
 				pty,
 				win,
 				CurrentTime
@@ -377,7 +385,13 @@
 			/* put the data into an property */
 			if (evt.xselectionrequest.target == targets)
 			{
-				Atom types[2] = { targets, XA_STRING };
+				Atom types[2] = { targets,
+#ifndef I18N
+						  XA_STRING
+#else
+						  XA_TEXT(dpy)
+#endif
+				};
 			
 				/* send data all at once (not using INCR) */
 				XChangeProperty(
@@ -425,7 +439,11 @@
 					dpy,
 					*win,
 					*pty,
+#ifndef I18N
 					XA_STRING,
+#else
+					XA_TEXT(dpy),
+#endif
 					8,
 					PropModeReplace,
 					(unsigned char*) txt,
@@ -506,7 +524,11 @@
 					dpy,
 					*win,
 					*pty,
+#ifndef I18N
 					XA_STRING,
+#else
+					XA_TEXT(dpy),
+#endif
 					8,
 					PropModeReplace,
 					&txt[*pos],
@@ -521,7 +543,11 @@
 					dpy,
 					*win,
 					*pty,
+#ifndef I18N
 					XA_STRING,
+#else
+					XA_TEXT(dpy),
+#endif
 					8,
 					PropModeReplace,
 					0,
diff -ruN --exclude=Makefile --exclude=makefile --exclude='*.org' ../xclip-0.08.org/xclip.c ./xclip.c
--- ../xclip-0.08.org/xclip.c	2005-08-16 20:54:24.000000000 +0900
+++ ./xclip.c	2005-08-16 19:30:23.000000000 +0900
@@ -25,6 +25,11 @@
 #include <X11/Xlib.h>
 #include <X11/Xatom.h>
 #include <X11/Xmu/Atoms.h>
+#ifndef I18N
+#else
+#include <locale.h>
+#include <X11/Xutil.h>
+#endif
 #include "xcdef.h"
 #include "xcprint.h"
 #include "xclib.h"
@@ -491,6 +496,16 @@
 	/* Declare variables */
 	Window win;			/* Window */
 
+#ifndef I18N
+#else
+	if (!setlocale(LC_ALL, ""))
+		fprintf(stderr, "cannot setlocal(LC_ALL,\"\")\n");
+	else if (!XSupportsLocale())
+		fprintf(stderr, "does not support locale by XSupportsLocale()\n");
+	else if (!XSetLocaleModifiers(""))
+		fprintf(stderr, "cannot XSetLocaleModifiers(\"\")\n");
+#endif
+
 	/* set up option table. I can't figure out a better way than this to
 	 * do it while sticking to pure ANSI C. The option and specifier
 	 * members have a type of volatile char *, so they need to be allocated
installed
/usr/X11R6/bin/xclip
/usr/X11R6/lib/X11/doc/html/xclip.1.html
/usr/X11R6/man/man1/xclip.1

x11/sys/xon-2005

installation
cp xon /opt/local/bin 
installed
/opt/local/bin/xon

x11/terms/kterm-6.2.0

preparation
curl -O -C - ftp://ftp.ring.gr.jp/pub/X/opengroup/contrib/applications/kterm-6.2.0.tar.gz
curl -RO -C - http://www.st.rim.or.jp/~hanataka/kterm-6.2.0.ext03.patch.gz
tar xvzf kterm-6.2.0.tar.gz
(cd kterm-6.2.0; gzcat ../kterm-6.2.0.ext03.patch.gz | patch -p1)
build
xmkmf -a 
installed
/usr/X11R6/bin/kterm
/usr/X11R6/lib/X11/doc/html/kterm.1.html
/usr/X11R6/man/man1/kterm.1
/etc/X11/app-defaults/KTerm

x11/text/mgdiff-1.0-i18n

preparation
curl -O -C - ftp://ftp.nectec.or.th/pub/linux-distributions/Debian/pool/main/m/mgdiff/mgdiff_1.0.orig.tar.gz
tar xvzf mgdiff_1.0.orig.tar.gz
ln -s mgdiff-1.0.orig mgdiff-1.0-i18n
(cd mgdiff-1.0-i18n; patch -p0 < ../mgdiff-1.0-i18n-sakuya.patch)
build
xmkmf -a 
make 
patch
--- ./files.c.org	1994-05-19 11:01:06.000000000 +0900
+++ ./files.c	2005-08-01 06:44:27.000000000 +0900
@@ -90,10 +90,14 @@
     bytes = read (fd, (void *) buffer, 1024);
     (void) close (fd);
 
+#ifdef I18N
+    return 1;
+#else
     for (i = 0; i < bytes; i++)
 	if (!isascii (buffer[i]))
 	    return (0);
     return (1);
+#endif
 }
 
 /* 
--- ./Imakefile.org	1994-05-19 11:01:00.000000000 +0900
+++ ./Imakefile	2005-08-01 07:11:36.000000000 +0900
@@ -5,10 +5,14 @@
 XCOMM Imakefile,v 2.0 1994/05/19 02:01:00 dan Exp
 
 XMLIB = -lXm
-XCOMM
-XCOMM for Dell SVR4
-XCOMM
-EXTRA_LIBRARIES = -lc -lucb
+
+#if defined(sun)
+DEFINES = -DI18N -I/usr/ucbinclude
+EXTRA_LIBRARIES = -lc -L/usr/ucblib -lucb -lsocket -lnsl
+#else
+DEFINES = -DI18N -I/opt/local/include
+EXTRA_LIBRARIES = -L/opt/local/lib
+#endif
 
 SRCS = mgdiff.c rundiff.c misc.c files.c spawn.c manual.c modal.c legend.c
 OBJS = mgdiff.o rundiff.o misc.o files.o spawn.o manual.o modal.o legend.o
--- ./Imakefile~	2005-08-01 06:44:27.000000000 +0900
+++ ./Imakefile	2005-08-01 07:11:36.000000000 +0900
@@ -10,7 +10,8 @@
 DEFINES = -DI18N -I/usr/ucbinclude
 EXTRA_LIBRARIES = -lc -L/usr/ucblib -lucb -lsocket -lnsl
 #else
-DEFINES = -DI18N
+DEFINES = -DI18N -I/opt/local/include
+EXTRA_LIBRARIES = -L/opt/local/lib
 #endif
 
 SRCS = mgdiff.c rundiff.c misc.c files.c spawn.c manual.c modal.c legend.c
--- ./mgdiff.c.org	1994-09-29 10:56:53.000000000 +0900
+++ ./mgdiff.c	2005-08-01 06:44:27.000000000 +0900
@@ -146,6 +146,9 @@
 static char *diffcmd;
 static char *diffargs;
 
+#ifdef I18N
+static XFontSet fs = NULL;
+#endif
 static int font_height = 10;
 static int font_width;
 static int font_descent;
@@ -307,11 +310,37 @@
 	XtGetApplicationResources (toplevel, &gc_values, resources, XtNumber (resources), NULL, 0);
 
 	xfs = XQueryFont (XtDisplay (w), gc_values.font);
+#ifdef I18N
+	{
+	  char **miss, *def;
+	  int n_miss;
+
+	  fs = XCreateFontSet(XtDisplay(w), "-*-fixed-medium-r-normal--14-*",
+			      &miss, &n_miss, &def);
+	  if (!fs)
+	    XCreateFontSet(XtDisplay(w), XtDefaultFontSet,
+			   &miss, &n_miss, &def);
+	}
+	{
+	  XRectangle ink, log;
+
+	  XmbTextExtents(fs, "W", strlen("W"), &ink, &log);
+
+	  font_descent = 2;
+	  font_width = log.width;
+	  font_height = log.height + 1;
+	  font_mono = 0;
+	  
+	  XmbTextExtents(fs, di->longline, strlen(di->longline), &ink, &log);
+	  font_widestline = log.width;
+	}
+#else
 	font_descent = xfs->descent;
 	font_height = xfs->ascent + xfs->descent;
 	font_width = xfs->max_bounds.width;
 	font_mono = ((xfs->per_char == NULL) || (xfs->min_bounds.width == xfs->max_bounds.width));
 	font_widestline = XTextWidth (xfs, di->longline, strlen (di->longline));
+#endif
 	XFreeFontInfo (NULL, xfs, 1);
 
 	XtVaGetValues (w, XmNbackground, &gc_values.background, NULL);
@@ -462,34 +491,60 @@
 	    if (ths->text != NULL) {
 		if (XRectInRegion (region, 0, stemp - font_height, width, font_height) != RectangleOut) {
 		    if (font_mono) {
+#ifdef I18N
+		      XmbDrawString(XtDisplay(w), XtWindow(w), fs, fore,
+				    0, stemp - font_descent,
+				    &ths->text[j][newss.leftcol],
+				    min(ths->tlen[j] - newss.leftcol, columns));
+#else
 			XDrawString (XtDisplay (w), XtWindow (w),
 				     fore,
 				     0, stemp - font_descent,
 				     &ths->text[j][newss.leftcol],
 				     min (ths->tlen[j] - newss.leftcol, columns));
+#endif
 		    }
 		    else {
+#ifdef I18N
+		      XmbDrawString(XtDisplay(w), XtWindow(w), fs, fore,
+				    -newss.leftcol, stemp - font_descent,
+				    ths->text[j], ths->tlen[j]);
+#else
 			XDrawString (XtDisplay (w), XtWindow (w),
 				     fore,
 				     -newss.leftcol, stemp - font_descent,
 				     ths->text[j], ths->tlen[j]);
+#endif
 		    }
 		}
 	    }
 	    else if (oth->text != NULL) {
 		if (XRectInRegion (region, 0, stemp - font_height, width, font_height) != RectangleOut) {
 		    if (font_mono) {
+#ifdef I18N
+		      XmbDrawString(XtDisplay(w), XtWindow(w), fs, fore,
+				    0, stemp - font_descent,
+				    &oth->text[j][newss.leftcol],
+				    min(oth->tlen[j] - newss.leftcol, columns));
+#else
 			XDrawString (XtDisplay (w), XtWindow (w),
 				     fore,
 				     0, stemp - font_descent,
 				     &oth->text[j][newss.leftcol],
 				     min (oth->tlen[j] - newss.leftcol, columns));
+#endif
 		    }
 		    else {
+#ifdef I18N
+		      XmbDrawString(XtDisplay(w), XtWindow(w), fs, fore,
+				    -newss.leftcol, stemp - font_descent,
+				    oth->text[j], oth->tlen[j]);
+#else
 			XDrawString (XtDisplay (w), XtWindow (w),
 				     fore,
 				     -newss.leftcol, stemp - font_descent,
 				     oth->text[j], oth->tlen[j]);
+#endif
 		    }
 		}
 	    }
@@ -1020,6 +1075,10 @@
     
     progname = basename (argv[0]);
 
+#ifdef I18N
+    XtSetLanguageProc( NULL, NULL, NULL );
+#endif
+
     toplevel = XtVaAppInitialize (&app, "Mgdiff", option_table, XtNumber (option_table),
 #if X11R5
 				  &argc,
@@ -1087,7 +1146,7 @@
     else
 	XtAppSetWarningHandler (app, xt_warning_handler);
 
-#if sun
+#ifdef NO_ATEXIT
     (void) on_exit (cleanup_at_exit, NULL);
 #else
     (void) atexit (cleanup_at_exit);
--- ./rundiff.c.org	1994-05-19 11:01:22.000000000 +0900
+++ ./rundiff.c	2005-08-01 06:44:27.000000000 +0900
@@ -524,6 +524,45 @@
 {
     int len, i, tabs, ctrls;
 
+#ifdef I18N
+    /* 
+     * compute length of new string, taking tabs
+     */
+    for (i = 0, len = 0, ctrls = tabs = 0; s[i] != '\0'; i++) {
+      if (isascii (s[i])) {
+	if (s[i] == '\t') {
+	  tabs++;
+	  len += 8;
+	  len /= 8;
+	  len *= 8;
+	} else
+	  len++;
+      } else
+	len++;
+    }
+
+    if (tabs) {
+      char *ret = (char *) calloc (1, len + 1);
+      int j;
+      
+      for (i = 0, j = 0; s[i] != '\0'; i++) {
+	if (isascii (s[i])) {
+	  if (s[i] == '\t') {
+	    ret[j++] = ' ';
+	    while ((j % 8) != 0)
+	      ret[j++] = ' ';
+	  } else
+	    ret[j++] = s[i];
+	} else
+	  ret[j++] = s[i];
+      }
+      *flag = True;
+      return ret;
+    } else {
+      *flag = False;
+      return strdup(s);
+    }
+#else
     /* 
      * compute length of new string, taking tabs and control 
      * characters into account
@@ -587,6 +626,7 @@
 	*flag = False;
 	return (strdup (s));
     }
+#endif
 }
 
 /* 
installed
/usr/X11R6/bin/mgdiff
/usr/X11R6/lib/X11/doc/html/mgdiff.1.html
/usr/X11R6/man/man1/mgdiff.1
/etc/X11/app-defaults/Mgdiff
written by yamada taiji