a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 20623 2006-11-09 17:27:47Z takanori@macports.org $
PortSystem 1.0
name cocot
version 20041220
categories textproc japanese
maintainers takanori@macports.org
description COde COnverter on Tty
long_description ${description}
platforms darwin
homepage http://iwa.ath.cx/software/cygwin/cocot.html
master_sites http://iwa.ath.cx/software/cygwin/
use_bzip2 yes
checksums md5 25f40806da5f822c92b7e2cfcf393bcd \
sha1 779ce3ea268286bf2b577d789355fa568b0683ed \
rmd160 075dd0028eb6ac44229330b037dffbc8fcd13db8
depends_lib port:libiconv
configure.args --with-default-term-code=UTF-8 --with-default-proc-code=EUC-JP
configure.env CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
foreach f {AUTHORS COPYING ChangeLog* INSTALL NEWS README* UNICODE_MEMO} {
eval xinstall -m 644 [glob ${worksrcpath}/${f}] ${destroot}${prefix}/share/doc/${name}
}
}
livecheck.check regex
livecheck.url ${homepage}
livecheck.regex ${name}-(\[0-9.a-z\]+)\\.tar