source: trunk/dports/textproc/nkf/Portfile

Last change on this file was 151444, checked in by khindenburg@…, 14 months ago

nkf: update to 2.1.4 #52022

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 151444 2016-08-16 14:16:52Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            nkf
7version         2.1.4
8categories      textproc japanese
9maintainers     nomaintainer
10description     Network Kanji code conversion Filter
11long_description \
12                Nkf  is  a  yet  another kanji code converter among networks, hosts and \
13                terminals.  It converts input kanji code to designated kanji code  such \
14                as 7-bit JIS, MS-kanji (shifted-JIS), utf-8 or EUC.
15platforms       darwin
16license         zlib
17homepage        http://sourceforge.jp/projects/nkf/
18master_sites    http://svn.sourceforge.jp/svnroot/macports-jp/distfiles/nkf/ \
19                sourceforge_jp:${name}/59912/
20checksums           rmd160  792a1b41bc65af3bd2109e6d849810ac5c9497b3 \
21                    sha256  b4175070825deb3e98577186502a8408c05921b0c8ff52e772219f9d2ece89cb
22
23use_configure   no
24
25variant universal {}
26if {[variant_isset universal]} {
27    set archflags ${configure.universal_cflags}
28} else {
29    set archflags ${configure.cc_archflags}
30}
31
32build.target
33build.args      CC=${configure.cc} CFLAGS="${configure.cflags} ${archflags}"
34
35test.run        yes
36
37use_parallel_build  yes
38
39destroot {
40    xinstall -m 755 ${worksrcpath}/nkf ${destroot}${prefix}/bin
41    xinstall -m 644 ${worksrcpath}/nkf.1 ${destroot}${prefix}/share/man/man1
42}
43
44post-destroot {
45    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
46    xinstall -m 644 ${worksrcpath}/nkf.doc ${destroot}${prefix}/share/doc/${name}
47}
48
49livecheck.type  regex
50livecheck.url   ${homepage}files/
51livecheck.regex ${name}-(\[0-9.a-z\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.