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

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

standardize some license formatting issues:

  • use - to indicate version, not v, e.g. GPL-2 not GPLv2
  • use lists for multiple options, e.g. {Artistic GPL}
  • perl license is {Artistic GPL}
  • Python license is PSF
  • call the NCSA/UIUC license NCSA
  • libpng/zlib have the same license; call it zlib
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 83385 2011-08-31 01:52:26Z dports@macports.org $
3
4PortSystem      1.0
5
6name            nkf
7version         2.1.1
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    sourceforge_jp:${name}/48945/
20patchfiles      nkf.git-bbb280a04623e073e447add83c6c9a5309c30fd2.patch \
21                nkf.git-d2f185cc2134b370b49b7a52a5e81b9671ecc43e.patch \
22                nkf.git-fbbf52db285384e4938bbe7862cae1df80482960_2.patch \
23                nkf.git-7f18e3086e219cc8a3639ebc7b0e4192001d3174.patch
24checksums       rmd160  06e0dbda6e90502ab4bafe4d44a9d05beed248c5
25
26patch.pre_args  -p1
27
28use_configure   no
29
30variant universal {}
31if {[variant_isset universal]} {
32    set archflags ${configure.universal_cflags}
33} else {
34    set archflags ${configure.cc_archflags}
35}
36
37build.target
38build.args      CC=${configure.cc} CFLAGS="${configure.cflags} ${archflags}"
39
40test.run        yes
41
42use_parallel_build  yes
43
44destroot {
45    xinstall -m 755 ${worksrcpath}/nkf ${destroot}${prefix}/bin
46    xinstall -m 644 ${worksrcpath}/nkf.1 ${destroot}${prefix}/share/man/man1
47}
48
49post-destroot {
50    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
51    xinstall -m 644 ${worksrcpath}/nkf.doc ${destroot}${prefix}/share/doc/${name}
52}
53
54livecheck.type  regex
55livecheck.url   ${homepage}files/
56livecheck.regex ${name}-(\[0-9.a-z\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.