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

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

nkf: version 2.1.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 71951 2010-09-28 11:24:28Z takanori@macports.org $
2
3PortSystem      1.0
4
5name            nkf
6version         2.1.1
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}/48945/
17checksums       rmd160  06e0dbda6e90502ab4bafe4d44a9d05beed248c5
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.