[88548] trunk/dports/www

ryandesign at macports.org ryandesign at macports.org
Tue Jan 3 19:06:56 PST 2012


Revision: 88548
          http://trac.macports.org/changeset/88548
Author:   ryandesign at macports.org
Date:     2012-01-03 19:06:56 -0800 (Tue, 03 Jan 2012)
Log Message:
-----------
QupZilla: new port, version 1.1.0; see http://lists.macosforge.org/pipermail/macports-dev/2012-January/017351.html and https://github.com/nowrep/QupZilla/issues/112

Added Paths:
-----------
    trunk/dports/www/QupZilla/
    trunk/dports/www/QupZilla/Portfile
    trunk/dports/www/QupZilla/files/
    trunk/dports/www/QupZilla/files/patch-src-src.pro.diff
    trunk/dports/www/QupZilla/files/qupzilla

Added: trunk/dports/www/QupZilla/Portfile
===================================================================
--- trunk/dports/www/QupZilla/Portfile	                        (rev 0)
+++ trunk/dports/www/QupZilla/Portfile	2012-01-04 03:06:56 UTC (rev 88548)
@@ -0,0 +1,61 @@
+# -*- 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
+# $Id$
+
+PortSystem          1.0
+PortGroup           qt4 1.0
+
+name                QupZilla
+version             1.1.0
+categories          www
+platforms           darwin
+maintainers         ryandesign openmaintainer
+license             GPL-3+
+
+description         fast lightweight web browser made with QtWebKit
+
+long_description    QupZilla is a ${description}. QupZilla has all the \
+                    standard features you expect from a web browser, \
+                    including bookmarks, history, tabbed browsing, RSS \
+                    feeds, ad blocking, Flash blocking, and an SSL \
+                    certificate manager.
+
+homepage            http://www.qupzilla.com/
+master_sites        https://github.com/nowrep/QupZilla/tarball/v${version}
+
+checksums           rmd160  92b481d1dacc3a572a29a2e2cdc07245f52c257a \
+                    sha256  5dfa45dbcf3c93fdaa461f64be70132464eda3886600db9a2067afad53113432
+
+depends_build-append port:makeicns
+
+post-extract {
+    move [glob ${workpath}/*] ${worksrcpath}
+}
+
+patchfiles          patch-src-src.pro.diff
+
+configure.cmd       ${prefix}/bin/qmake
+configure.pre_args
+configure.universal_args
+
+variant universal {}
+
+pre-build {
+    system -W ${worksrcpath} "${prefix}/bin/makeicns -in linux/hicolor/256x256/qupzilla.png -out src/qupzilla.icns"
+}
+
+build.args          CC="${configure.cc} [get_canonical_archflags cc]" \
+                    CXX="${configure.cxx} [get_canonical_archflags cxx]" \
+                    LINK="${configure.cxx} [get_canonical_archflags cxx]" \
+                    QUPZILLA_PREFIX=${prefix}/
+
+destroot.args       QUPZILLA_PREFIX=${prefix}/
+
+post-destroot {
+    move ${destroot}${prefix}/bin/qupzilla.app ${destroot}${applications_dir}/${name}.app
+    move ${destroot}${applications_dir}/${name}.app/Contents/MacOS/qupzilla ${destroot}${applications_dir}/${name}.app/Contents/MacOS/qupzilla-bin
+    xinstall ${filespath}/qupzilla ${destroot}${applications_dir}/${name}.app/Contents/MacOS
+}
+
+livecheck.type      regex
+livecheck.url       https://github.com/nowrep/QupZilla/tags
+livecheck.regex     {tarball/v([0-9.]+)"}


Property changes on: trunk/dports/www/QupZilla/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/www/QupZilla/files/patch-src-src.pro.diff
===================================================================
--- trunk/dports/www/QupZilla/files/patch-src-src.pro.diff	                        (rev 0)
+++ trunk/dports/www/QupZilla/files/patch-src-src.pro.diff	2012-01-04 03:06:56 UTC (rev 88548)
@@ -0,0 +1,7 @@
+--- src/src.pro.orig	2011-12-14 11:09:43.000000000 -0600
++++ src/src.pro	2012-01-03 20:53:55.000000000 -0600
+@@ -418,3 +418,4 @@
+ message($$DEFINES)
+ 
+ 
++macx:ICON = qupzilla.icns

Added: trunk/dports/www/QupZilla/files/qupzilla
===================================================================
--- trunk/dports/www/QupZilla/files/qupzilla	                        (rev 0)
+++ trunk/dports/www/QupZilla/files/qupzilla	2012-01-04 03:06:56 UTC (rev 88548)
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+exec "$(dirname "$0")/qupzilla-bin"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120103/36f82e54/attachment.html>


More information about the macports-changes mailing list