# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 79035 2011-05-30 23:58:22Z takanori@macports.org $ PortSystem 1.0 name nkf version 2.1.1 revision 3 categories textproc japanese maintainers takanori openmaintainer description Network Kanji code conversion Filter long_description \ Nkf is a yet another kanji code converter among networks, hosts and \ terminals. It converts input kanji code to designated kanji code such \ as 7-bit JIS, MS-kanji (shifted-JIS), utf-8 or EUC. platforms darwin license zlib/libpng homepage http://sourceforge.jp/projects/nkf/ master_sites sourceforge_jp:${name}/48945/ patchfiles nkf.git-bbb280a04623e073e447add83c6c9a5309c30fd2.patch \ nkf.git-d2f185cc2134b370b49b7a52a5e81b9671ecc43e.patch \ nkf.git-fbbf52db285384e4938bbe7862cae1df80482960_2.patch \ nkf.git-7f18e3086e219cc8a3639ebc7b0e4192001d3174.patch checksums rmd160 06e0dbda6e90502ab4bafe4d44a9d05beed248c5 patch.pre_args -p1 use_configure no variant universal {} if {[variant_isset universal]} { set archflags ${configure.universal_cflags} } else { set archflags ${configure.cc_archflags} } build.target build.args CC=${configure.cc} CFLAGS="${configure.cflags} ${archflags}" test.run yes use_parallel_build yes destroot { xinstall -m 755 ${worksrcpath}/nkf ${destroot}${prefix}/bin xinstall -m 644 ${worksrcpath}/nkf.1 ${destroot}${prefix}/share/man/man1 } post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 ${worksrcpath}/nkf.doc ${destroot}${prefix}/share/doc/${name} } livecheck.type regex livecheck.url ${homepage}files/ livecheck.regex ${name}-(\[0-9.a-z\]+)\\.tar