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

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

Version bump to 2.0.8b.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 27367 2007-07-31 15:40:07Z takanori@macports.org $
2
3PortSystem      1.0
4name            nkf
5version         2.0.8b
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      26243
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}/
19checksums       md5 1851260a2719629294740783c14ca3d5 \
20                sha1 9587e427173b6c0420284afef19b18b3f905fbaa \
21                rmd160 952698a09f8e28b6385a7b41301e95dc237aa893
22worksrcdir      ${name}-2.0.8
23
24use_configure   no
25build.target
26build.args      CFLAGS="${configure.cflags}"
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.check regex
43livecheck.url   ${homepage}files/
44livecheck.regex ${name}-(\[0-9.a-z\]+)\.tar
Note: See TracBrowser for help on using the repository browser.