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

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

nkf: version 2.1.3 (2012-09-13)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 98013 2012-09-22 03:58:51Z takanori@macports.org $
3
4PortSystem      1.0
5
6name            nkf
7version         2.1.3
8set distversion 2.1.2
9revision        1
10categories      textproc japanese
11maintainers     takanori openmaintainer
12description     Network Kanji code conversion Filter
13long_description \
14                Nkf  is  a  yet  another kanji code converter among networks, hosts and \
15                terminals.  It converts input kanji code to designated kanji code  such \
16                as 7-bit JIS, MS-kanji (shifted-JIS), utf-8 or EUC.
17platforms       darwin
18license         zlib
19homepage        http://sourceforge.jp/projects/nkf/
20master_sites    sourceforge_jp:${name}/53171/
21patchfiles      nkf.git-ecf2a983ff0945462d731afa9b4d7327cfeb9b5a.patch \
22                nkf.git-4e632c30b502e56032a1781e4edf44ec462fe6ad.patch \
23                nkf.git-832e032be763ec6acf1cf13225b0d72f1b867a18.patch \
24                nkf.git-6bbe38e718c98825229bce7ef9f8d236e63c095f.patch \
25                nkf.git-fcc185d621977d87cc50c1561be0aff3924af2ac.patch \
26                nkf.git-50a383c848f1c8c4e107ed68c3e839ff95f275a6.patch
27checksums       rmd160  91c0d413a70299246591d314d33f45e71eba51a7
28
29distname        ${name}-${distversion}
30
31patch.pre_args  -p1
32
33use_configure   no
34
35variant universal {}
36if {[variant_isset universal]} {
37    set archflags ${configure.universal_cflags}
38} else {
39    set archflags ${configure.cc_archflags}
40}
41
42build.target
43build.args      CC=${configure.cc} CFLAGS="${configure.cflags} ${archflags}"
44
45test.run        yes
46
47use_parallel_build  yes
48
49destroot {
50    xinstall -m 755 ${worksrcpath}/nkf ${destroot}${prefix}/bin
51    xinstall -m 644 ${worksrcpath}/nkf.1 ${destroot}${prefix}/share/man/man1
52}
53
54post-destroot {
55    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
56    xinstall -m 644 ${worksrcpath}/nkf.doc ${destroot}${prefix}/share/doc/${name}
57}
58
59livecheck.type  regex
60livecheck.url   ${homepage}files/
61livecheck.version   ${distversion}
62livecheck.regex ${name}-(\[0-9.a-z\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.