Ticket #43772: poedit-1.6.3-oss.unfinished.diff
File poedit-1.6.3-oss.unfinished.diff, 3.1 KB (added by raimue (Rainer Müller), 10 years ago) |
---|
-
Portfile
2 2 # $Id$ 3 3 4 4 PortSystem 1.0 5 PortGroup github 1.0 5 6 PortGroup wxWidgets 1.0 6 7 7 name poedit 8 version 1.5.79 revision 2 8 github.setup vslavik poedit 1.6.3-oss v 9 version [lindex [split ${github.version} -] 0 ] 10 distname ${github.project}-${git.branch} 10 11 categories devel aqua 11 12 platforms darwin 12 13 license MIT … … 16 17 description Poedit is a cross-platform gettext catalogs (.po files) editor. 17 18 long_description Poedit is a cross-platform gettext catalogs (.po files) editor. It aims to \ 18 19 provide more convenient approach to editing catalogs than editing the file by \ 19 hand. This port installs Poedit.app.20 hand. This port installs the Open Source version of Poedit.app. 20 21 21 22 homepage http://www.poedit.net/ 22 master_sites sourceforge:poedit23 23 24 checksums md5 f5b53ec66a606f088b0aa388595ea5f9 \ 25 sha1 e83c08ca33997829be946e1dcf1a35149856d184 \ 26 rmd160 46436e98caf2b41b61188fc1b79db62f2f218817 \ 27 sha256 24535cac22c8f7fb4f995710f6638ebc26825056076a04210ee66e19d65c0f78 24 checksums rmd160 d9fea68829276b40b881e268f7f9fe728ad4c7e6 \ 25 sha256 18e82376e6da8ec9965d87ae68f4663189b9c36a547d20f55dc2b1972a92a06d 28 26 29 27 wxWidgets.use wxWidgets-3.0 30 28 … … 32 30 port:pkgconfig \ 33 31 port:boost 34 32 depends_lib port:gettext \ 35 port:${wxWidgets.port} 33 port:${wxWidgets.port} \ 34 port:db47 \ 35 port:icu \ 36 port:LucenePlusPlus 36 37 37 38 depends_skip_archcheck grep pkgconfig boost 38 39 39 # remove some additional features, especially sparkle because macports handles updates 40 post-patch { 41 file attributes ${worksrcpath}/configure -permissions a+x 42 } 43 44 # Add explicit paths for selected BDB version 45 configure.cppflags-append -I${prefix}/include/db47 46 configure.ldflags-append -L${prefix}/lib/db47 47 40 48 configure.args --disable-spellchecking \ 41 --disable-transmem \42 --without-sparkle \43 49 --with-wxdir=${wxWidgets.wxdir} 44 50 45 51 build.dir ${build.dir}/src 46 build.target bundle47 52 build.env-append GETTEXT_PREFIX=${prefix} \ 48 53 WX_ROOT=${wxWidgets.prefix} 49 54 … … 59 64 file copy ${worksrcpath}/src/Poedit.app ${destroot}${applications_dir}/Poedit.app 60 65 } 61 66 62 variant transmem description {Enables translation memory for often used phrases} {63 depends_lib-append port:db4464 configure.args-delete --disable-transmem65 configure.args-append --enable-transmem66 }67 68 67 variant spellcheck description {Enables spellchecking} { 69 68 depends_lib-append port:gtkspell2 70 69 configure.args-delete --disable-spellchecking