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

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

Untabify.

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