# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           github 1.0
PortGroup           qmake 1.0

github.setup        Arora arora 0.11.0
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            4
categories          www aqua
maintainers         nomaintainer
license             GPL-2

description         Cross-platform QtWebKit web browser

long_description    Arora is a lightweight cross-platform web browser based \
                    on QtWebKit. It's free (as in free speech and free beer).

# Remove on next github release
master_sites        macports_distfiles

checksums           rmd160  c8b010d5e540c8ee3a0604c4d24c19c8b8653798 \
                    sha256  6f5fef191935ed740aaa61d5f081abb823997abc20a993cbcb74a4d8adcad3b9 \
                    size    1072898

# Upstream patches through 2015.06.24
patchfiles-append   0001-fix-the-problem-in-the-downloadmanager-when-the-dele.patch \
                    0002-Show-the-number-of-downloads-in-the-download-manager.patch \
                    0003-Change-the-AutoFillManager-to-not-use-hard-coded-off.patch \
                    0004-Fixed-ssl-certificate-problem-with-sites-like-https-.patch \
                    0005-Autofill-webforms-in-Preferences-was-always-checked.patch \
                    0006-Autofill-manager-was-always-storing-forms.patch \
                    0007-Support-persistent-data-storage-HTML5-localStorage.patch \
                    0008-Fix-start-page-not-being-valid-XML-but-claiming-to-b.patch \
                    0009-Fix-for-fullscreen-on-Mac-issue931.patch \
                    0010-Fix-xhtml-warning-in-the-startpage.patch \
                    0011-Work-around-Qt-bug-in-QCompleter-found-in-Qt-4.8.2.patch \
                    0012-Create-autotest-for-BookmarkNode-class.patch \
                    0013-Don-t-output-error-when-checking-files-that-have-bee.patch \
                    0014-Expose-HistoryManager-addHistoryEntry-QString.patch \
                    0015-Add-unit-tests-for-functionality-that-wasn-t-unit-te.patch \
                    0016-Move-FrecencyTimer-to-the-HistoryFilterModel.patch \
                    0017-Fix-segfaults-in-history-manual-test.patch \
                    0018-Update-README-after-project-has-officially-moved-all.patch

depends_lib-append  path:lib/libssl.dylib:openssl

universal_variant   no

destroot {
    copy ${worksrcpath}/Arora.app ${destroot}${applications_dir}
}
