source: trunk/dports/textproc/eblook/Portfile @ 65814

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

eblook: fix typo in description

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# $Id: Portfile 65814 2010-04-01 09:20:55Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            eblook
6set ver_main    1.6.1
7set ver_media   20080116
8version         ${ver_main}-media-${ver_media}
9categories      textproc japanese
10maintainers     nomaintainer
11description     Interactive EB interface command for searching words in CD-ROM books.
12long_description \
13                Eblook supports to access CD-ROM books of EB, EBG, EBXA and EPWING \
14                formats which are popular in Japan. Including the media patch.
15platforms       darwin
16homepage        http://green.ribbon.to/~ikazuhiro/lookup/lookup.html#EBLOOK
17distfiles       ${name}-${ver_main}${extract.suffix}:main \
18                ${name}-${ver_main}+media-${ver_media}.patch.gz:media
19master_sites    http://openlab.jp/edict/eblook/dist/:main \
20                http://green.ribbon.to/~ikazuhiro/lookup/files/:media
21patchfiles      patch-configure.diff
22checksums       ${name}-${ver_main}${extract.suffix} rmd160 32c37963d2627642a5799dd2a4222c511143b8d6 \
23                ${name}-${ver_main}+media-${ver_media}.patch.gz rmd160 bd4d0c42b2a62bd10dd34c03ee4a5be892b691d2
24
25depends_lib     port:eb \
26                port:gettext \
27                port:libiconv \
28                port:ncurses \
29                port:readline \
30                port:zlib
31
32extract.only    ${name}-${ver_main}${extract.suffix}
33worksrcdir      ${name}-${ver_main}
34post-extract {
35    system "cd ${worksrcpath} && gzip -dc ${distpath}/${name}-${ver_main}+media-${ver_media}.patch.gz | patch -p0"
36}
37
38configure.args   --infodir=${prefix}/share/info \
39                 --with-readline \
40                 --with-pager
41
42#use_parallel_build yes
43
44#test.run        yes
45#test.target     check
46
47post-destroot {
48    xinstall -d -m 755 ${destroot}/${prefix}/share/doc/${name}
49    set docs {AUTHORS COPYING ChangeLog INSTALL NEWS README VERSION}
50    foreach f ${docs} {
51        xinstall -m 644 ${worksrcpath}/${f} ${destroot}/${prefix}/share/doc/${name}
52    }
53
54    delete ${destroot}${prefix}/share/info/dir
55}
56
57universal_variant   no
58
59livecheck.type  regex
60livecheck.version ${ver_main}+media-${ver_media}
61livecheck.regex "${name}-(\[0-9.a-z\+\-\]+).patch.gz"
Note: See TracBrowser for help on using the repository browser.