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

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

nkf: version bump to 2.1.0

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 61386 2009-12-10 08:34:15Z takanori@macports.org $
2
3PortSystem      1.0
4
5name            nkf
6version         2.1.0
7categories      textproc japanese
8maintainers     takanori openmaintainer
9description     Network Kanji code conversion Filter
10long_description \
11                Nkf  is  a  yet  another kanji code converter among networks, hosts and \
12                terminals.  It converts input kanji code to designated kanji code  such \
13                as 7-bit JIS, MS-kanji (shifted-JIS), utf-8 or EUC.
14platforms       darwin
15homepage        http://sourceforge.jp/projects/nkf/
16master_sites    sourceforge_jp:${name}/44486/
17checksums       rmd160  77cf750e00fbc6b7b2178a25c152a4ed7b623a35
18
19use_configure   no
20
21build.target
22build.args      CFLAGS="${configure.cflags}"
23
24test.run        yes
25
26use_parallel_build  yes
27
28destroot {
29    xinstall -m 755 ${worksrcpath}/nkf ${destroot}${prefix}/bin
30    xinstall -m 644 ${worksrcpath}/nkf.1 ${destroot}${prefix}/share/man/man1
31}
32
33post-destroot {
34    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
35    xinstall -m 644 ${worksrcpath}/nkf.doc ${destroot}${prefix}/share/doc/${name}
36}
37
38variant universal {
39    build.args  CFLAGS="${configure.cflags} ${configure.universal_cflags}"
40}
41
42livecheck.type  regex
43livecheck.url   ${homepage}files/
44livecheck.regex ${name}-(\[0-9.a-z\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.