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

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

Add support for livecheck.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 20622 2006-11-09 17:16:06Z takanori@macports.org $
2
3PortSystem        1.0
4name              nkf
5version           2.0.7
6categories        textproc
7maintainers       takanori@macports.org
8description       Network Kanji code conversion Filter
9long_description  Nkf  is  a  yet  another kanji code converter among networks, hosts and \
10                  terminals.  It converts input kanji code to designated kanji code  such \
11                  as 7-bit JIS, MS-kanji (shifted-JIS), utf-8 or EUC.
12platforms         darwin
13set sfjpid        20770
14homepage          http://sourceforge.jp/projects/nkf/
15master_sites      http://keihanna.dl.sourceforge.jp/nkf/${sfjpid}/ \
16                  http://osdn.dl.sourceforge.jp/nkf/${sfjpid}/ \
17                  http://qgpop.dl.sourceforge.jp/nkf/${sfjpid}/
18distfiles         ${name}207.tar.gz
19checksums         md5 af11dcd3fe71d67831c020e3bfd5073b \
20                  sha1 97ee0920a5cd935acd08ca789c7b8c810a594311 \
21                  rmd160 da6eebf7dd59d934eca40f2f6588e97078c8d68a
22
23worksrcdir        ${name}207
24configure         {}
25build.target
26
27destroot          {
28                  xinstall -m 755 ${worksrcpath}/nkf ${destroot}${prefix}/bin
29                  xinstall -m 644 ${worksrcpath}/nkf.1 ${destroot}${prefix}/share/man/man1
30}
31
32post-destroot   {
33                xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
34                xinstall -m 644 ${worksrcpath}/nkf.doc ${destroot}${prefix}/share/doc/${name}
35}
36
37livecheck.check regex
38livecheck.url   ${homepage}
39livecheck.regex ${name} (\[0-9.a-z\]+)
Note: See TracBrowser for help on using the repository browser.