Ticket #8288: Portfile.diff
File Portfile.diff, 1.6 KB (added by rsky0711@…, 19 years ago) |
---|
-
Portfile
old new 31 31 depends_build bin:pkg-config:pkgconfig 32 32 depends_lib port:qdbm port:libiconv port:zlib 33 33 master_sites http://hyperestraier.sourceforge.net/ 34 checksums md5 a688ebda299a033f61321f0d70adad84\35 sha1 3c0e2e3d46b1301e6bf1dc0c5d75a6474c925e54\36 rmd160 6812098c80463f4eb548de8e248d6c71c8030dce34 checksums md5 91e2c859510a9e30fad8b49f6affe6f1 \ 35 sha1 e1aad3d5c1bdd758c2f118fa54450e8eccfa6129 \ 36 rmd160 2a157a685b1df8e4e8d1c9f093c447e3a188951c 37 37 38 38 configure.args --mandir=${prefix}/share/man --datadir=${prefix}/share/doc 39 39 40 40 post-extract { 41 # configure 41 42 reinplace "s|\$HOME|${prefix}|g" \ 42 43 ${worksrcpath}/configure 44 # Makefile.in 43 45 reinplace "s|\$(HOME)|${prefix}|g" \ 44 46 ${worksrcpath}/Makefile.in 45 47 reinplace "s|install_name libestraier.\$(LIBVER).dylib|install_name \$(MYLIBDIR)/libestraier.\$(LIBVER).dylib|g" \ 46 48 ${worksrcpath}/Makefile.in 49 # myconf.h 50 reinplace "s|lzo/|lzo2/|g" \ 51 ${worksrcpath}/myconf.h 47 52 } 48 53 49 54 test.run yes … … 57 62 depends_lib-append port:mecab 58 63 configure.args-append --enable-mecab 59 64 } 65 variant no-zlib { 66 depends_lib-delete lib:libz:zlib 67 configure.args-append --disable-zlib 68 } 69 variant lzo { 70 depends_lib-append lib:liblzo2:lzo2 71 configure.args-append --enable-lzo 72 } 73 variant bzip2 { 74 depends_lib-append lib:libbz2:bzip2 75 configure.args-append --enable-bzip 76 }