Ticket #8001: Portfile.diff

File Portfile.diff, 1.6 KB (added by rsky0711@…, 18 years ago)

diff for updating hyperestraier-1.1.6

  • Portfile

    old new  
    22
    33PortSystem              1.0
    44name                    hyperestraier
    5 version                 1.1.4
     5version                 1.1.6
    66categories              textproc
    77maintainers             pelopor@nifty.com
    88description             Hyper Estraier is a full-text search system.
     
    2828
    2929homepage                http://hyperestraier.sourceforge.net/
    3030platforms               darwin
     31depends_build   bin:pkg-config:pkgconfig
    3132depends_lib             port:qdbm port:libiconv port:zlib
    3233master_sites    http://hyperestraier.sourceforge.net/
    33 checksums               md5 591048c90f0d2a4a407b0eae05b61641
     34checksums                md5 a688ebda299a033f61321f0d70adad84 \
     35                sha1 3c0e2e3d46b1301e6bf1dc0c5d75a6474c925e54 \
     36                rmd160 6812098c80463f4eb548de8e248d6c71c8030dce
    3437
    35 configure.env   CFLAGS="-no-cpp-precomp -L${prefix}/lib" \
    36                                  CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
    37 configure.args  --mandir=${prefix}/share/man --datadir=${prefix}/share/doc --enable-regex
     38configure.args  --mandir=${prefix}/share/man --datadir=${prefix}/share/doc
     39
     40post-extract {
     41    reinplace "s|\$HOME|\${prefix}|g" \
     42        ${worksrcpath}/configure
     43    reinplace "s|\$(HOME)|\$(prefix)|g" \
     44        ${worksrcpath}/Makefile.in
     45    reinplace "s|install_name libestraier.\$(LIBVER).dylib|install_name \$(MYLIBDIR)/libestraier.\$(LIBVER).dylib|g" \
     46        ${worksrcpath}/Makefile.in
     47}
    3848
    3949test.run         yes
    4050platform  macosx {
     
    4353                  destroot.target       install-mac
    4454}
    4555
     56variant mecab {
     57    depends_lib-append      port:mecab
     58    configure.args-append   --enable-mecab
     59}