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

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

nkf: version 2.1.2

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 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 83942 2011-09-13 13:24:32Z takanori@macports.org $
3
4PortSystem      1.0
5
6name            nkf
7version         2.1.2
8categories      textproc japanese
9maintainers     takanori openmaintainer
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    sourceforge_jp:${name}/53171/
19patchfiles      nkf.git-ecf2a983ff0945462d731afa9b4d7327cfeb9b5a.patch
20checksums       rmd160  91c0d413a70299246591d314d33f45e71eba51a7
21
22patch.pre_args  -p1
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.