[121575] trunk/dports/x11/xournal/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Jun 30 19:17:56 PDT 2014


Revision: 121575
          https://trac.macports.org/changeset/121575
Author:   ryandesign at macports.org
Date:     2014-06-30 19:17:56 -0700 (Mon, 30 Jun 2014)
Log Message:
-----------
xournal: update to 0.4.8

Modified Paths:
--------------
    trunk/dports/x11/xournal/Portfile

Modified: trunk/dports/x11/xournal/Portfile
===================================================================
--- trunk/dports/x11/xournal/Portfile	2014-07-01 02:11:04 UTC (rev 121574)
+++ trunk/dports/x11/xournal/Portfile	2014-07-01 02:17:56 UTC (rev 121575)
@@ -2,10 +2,10 @@
 # $Id$
 
 PortSystem              1.0
+PortGroup               active_variants 1.1
 
 name                    xournal
-version                 0.4.7
-revision        1
+version                 0.4.8
 categories              x11
 platforms               darwin
 maintainers             ryandesign
@@ -20,24 +20,18 @@
                         and keeping a journal using a stylus. It's similar to \
                         other applications such as Jarnal, Gournal, and NoteLab.
 
-checksums               rmd160  7735e37ba07c57fb89231a2a27cf6357490af699 \
-                        sha256  d1ceb9c3a0b0172f7c2389bfe188a13cdc9f9f4c3ddc30095d635edf1367ac89
+checksums               rmd160  4e2afb964fc8b4808c125cd65e9c36f6124f8542 \
+                        sha256  233887a38136452dcb4652c35d08366fc7355f57ed46753db83e3e0f3193ef30
 
 depends_build           port:pkgconfig
 
-depends_lib             port:libgnomecanvas \
+depends_lib             port:gtk2 \
+                        port:libgnomecanvas \
                         port:poppler \
                         port:zlib
 
-configure.ldflags-append -lz
+require_active_variants gtk2 x11
 
-pre-configure {
-    if {![file exists ${prefix}/include/gtk-2.0/gdk/gdkx.h]} {
-        ui_error "${name} requires gtk2 installed with X11 support; please reinstall gtk2 and all its dependencies with the +x11 variant."
-        return -code error "incompatible gtk2 installation"
-    }
-}
-
 post-destroot {
     xinstall -d ${destroot}${prefix}/share/doc/${name}
     xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README ${destroot}${prefix}/share/doc/${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140630/ebb1a962/attachment.html>


More information about the macports-changes mailing list