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

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

Make +universal work.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 26625 2007-07-01 02:48:43Z takanori@macports.org $
2
3PortSystem        1.0
4name              nkf
5version           2.0.7
6categories        textproc japanese
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
24use_configure     no
25build.target
26build.args        CFLAGS="${configure.cflags}"
27
28destroot          {
29                  xinstall -m 755 ${worksrcpath}/nkf ${destroot}${prefix}/bin
30                  xinstall -m 644 ${worksrcpath}/nkf.1 ${destroot}${prefix}/share/man/man1
31}
32
33post-destroot   {
34                xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
35                xinstall -m 644 ${worksrcpath}/nkf.doc ${destroot}${prefix}/share/doc/${name}
36}
37
38variant universal {
39                  build.args    CFLAGS="${configure.cflags} ${configure.universal_cflags}"
40}
41
42livecheck.check regex
43livecheck.url   ${homepage}
44livecheck.regex ${name} (\[0-9.a-z\]+)
Note: See TracBrowser for help on using the repository browser.