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

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

nkf: version 2.1.3 (2013-11-22)

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