source: trunk/dports/textproc/nkf/Portfile @ 75270

Last change on this file since 75270 was 75270, checked in by takanori@…, 9 years ago

nkf:

  • Don't use non-ASCII in nkf_test.pl. (nkf-bug:23228)
  • Fixed broken 'Q-encoded UTF-8' decode function. (nkf-bug:55125)
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 75270 2011-01-19 14:02:20Z takanori@macports.org $
2
3PortSystem      1.0
4
5name            nkf
6version         2.1.1
7revision        1
8categories      textproc japanese
9maintainers     takanori openmaintainer
10description     Network Kanji code conversion Filter
11long_description \
12                Nkf  is  a  yet  another kanji code converter among networks, hosts and \
13                terminals.  It converts input kanji code to designated kanji code  such \
14                as 7-bit JIS, MS-kanji (shifted-JIS), utf-8 or EUC.
15platforms       darwin
16homepage        http://sourceforge.jp/projects/nkf/
17master_sites    sourceforge_jp:${name}/48945/
18patchfiles      nkf.git-bbb280a04623e073e447add83c6c9a5309c30fd2.patch \
19                nkf.git-d2f185cc2134b370b49b7a52a5e81b9671ecc43e.patch \
20                nkf.git-fbbf52db285384e4938bbe7862cae1df80482960_2.patch
21checksums       rmd160  06e0dbda6e90502ab4bafe4d44a9d05beed248c5
22
23patch.pre_args  -p1
24
25use_configure   no
26
27build.target
28build.args      CFLAGS="${configure.cflags}"
29
30test.run        yes
31
32use_parallel_build  yes
33
34destroot {
35    xinstall -m 755 ${worksrcpath}/nkf ${destroot}${prefix}/bin
36    xinstall -m 644 ${worksrcpath}/nkf.1 ${destroot}${prefix}/share/man/man1
37}
38
39post-destroot {
40    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
41    xinstall -m 644 ${worksrcpath}/nkf.doc ${destroot}${prefix}/share/doc/${name}
42}
43
44variant universal {
45    build.args  CFLAGS="${configure.cflags} ${configure.universal_cflags}"
46}
47
48livecheck.type  regex
49livecheck.url   ${homepage}files/
50livecheck.regex ${name}-(\[0-9.a-z\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.