source: trunk/dports/python/py-hyperestraier/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem      1.0
4PortGroup       python24 1.0
5name            py-hyperestraier
6version         0.0.15
7
8platforms       darwin
9maintainers     gmail.com:rsky0711
10description     a Python module for Hyper Estraier
11long_description ${description}
12
13homepage        http://hyperestraier.sourceforge.net/
14master_sites    http://hyperestraier.sourceforge.net/binding/:main \
15                macports:takanori:sub
16distfiles       hyper_estraier_wrappers-${version}.tar.gz:main \
17                HyperEstraier.py:sub HyperEstraier_wrap.cxx:sub
18extract.only    hyper_estraier_wrappers-${version}.tar.gz
19distname        hyper_estraier_wrappers-${version}
20dist_subdir     hyperestraier
21checksums       hyper_estraier_wrappers-${version}.tar.gz md5 26f81dbc06954a6030f801b4d8b06fa9 \
22                                                          sha1 e348fd6c337ca2e41a322f210902a0d4aeaad056 \
23                                                          rmd160 d53a872587f370e39e193dfc3de1d1316db77695 \
24                HyperEstraier.py md5 7d577bf8a50a34ef50b3b6ebbecd3993 \
25                                 sha1 05f63a3af75ba7d0aaaa6041dd96f8c9f7fafc01 \
26                                 rmd160 a51d15e42b1f71b76861c8ee83d5b4ef5fce6099 \
27                HyperEstraier_wrap.cxx md5 44c0d0abdc6bc67ed5667f98f155e409 \
28                                       sha1 5df821e6f9510bca05949c395e57049fb58e8fa8 \
29                                       rmd160 2a666360ebc68de1faf4079db2aae172317d57fd
30
31patchfiles      patch-setup.py patch-examples-search.py
32patch.pre_args  -p0
33
34categories-append   textproc
35depends_lib-append  port:hyperestraier
36#depends_build      bin:swig:swig
37
38post-extract {
39    file copy ${distpath}/HyperEstraier.py ${worksrcpath}
40    file copy ${distpath}/HyperEstraier_wrap.cxx ${worksrcpath}
41}
42
43#pre-build {
44#    system "cd ${worksrcpath}; swig -python -c++ HyperEstraier.i"
45#}
46
47post-destroot {
48    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples
49    xinstall -m 644 -W ${worksrcpath}/examples \
50        dbinfo.py gatherer.py iter.py oogatherer.py search.py \
51        ${destroot}${prefix}/share/doc/${name}/examples
52
53    reinplace s|'/tmp/casket'|'casket'| \
54        ${destroot}${prefix}/share/doc/${name}/examples/dbinfo.py
55    reinplace s|'/tmp/casket'|'casket'| \
56        ${destroot}${prefix}/share/doc/${name}/examples/iter.py
57
58    file copy ${worksrcpath}/examples/subway \
59        ${destroot}${prefix}/share/doc/${name}/examples
60
61    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/test
62    xinstall -m 644 ${worksrcpath}/test/python.py \
63        ${destroot}${prefix}/share/doc/${name}/test
64}
Note: See TracBrowser for help on using the repository browser.