Revision: 83331 http://trac.macports.org/changeset/83331 Author: mk@macports.org Date: 2011-08-29 15:27:29 -0700 (Mon, 29 Aug 2011) Log Message: ----------- gwenhywfar4, aqbanking5: introduce gtk2-subports for use with gnucash (see ticket #31027) Modified Paths: -------------- trunk/dports/devel/aqbanking5/Portfile trunk/dports/devel/gwenhywfar4/Portfile Modified: trunk/dports/devel/aqbanking5/Portfile =================================================================== --- trunk/dports/devel/aqbanking5/Portfile 2011-08-29 22:20:52 UTC (rev 83330) +++ trunk/dports/devel/aqbanking5/Portfile 2011-08-29 22:27:29 UTC (rev 83331) @@ -11,6 +11,7 @@ categories devel net finance maintainers mk openmaintainer platforms darwin +license {GPL-2 OpenSSLException} description a generic online banking interface long_description aqbanking is a generic online banking interface mainly \ @@ -41,6 +42,16 @@ universal_variant no +if {$subport == $name} { + conflicts aqbanking5-gtk +} + +subport aqbanking5-gtk { + conflicts aqbanking5 + depends_lib-delete port:gwenhywfar4 port:qt4-mac + depends_lib-append port:gwenhywfar4-gtk +} + configure.cppflags-append "-L${prefix}/lib" configure.cflags-append "-L${prefix}/lib" configure.ldflags-append "-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib" Modified: trunk/dports/devel/gwenhywfar4/Portfile =================================================================== --- trunk/dports/devel/gwenhywfar4/Portfile 2011-08-29 22:20:52 UTC (rev 83330) +++ trunk/dports/devel/gwenhywfar4/Portfile 2011-08-29 22:27:29 UTC (rev 83331) @@ -1,3 +1,4 @@ +# -*- 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 @@ -11,6 +12,7 @@ categories devel net finance maintainers mk openmaintainer +license {LGPL-2.1 OpenSSLException} description a utility library required by aqbanking and related software long_description ${description} @@ -29,22 +31,32 @@ port:libgcrypt \ port:gettext \ port:libxml2 \ - port:gnutls \ - port:qt4-mac + port:gnutls depends_build port:libtool \ port:pkgconfig -configure.args --with-qt4-libs=${prefix}/lib \ - --with-qt4-includes=${prefix}/include \ - --with-qt4-moc=${prefix}/bin/moc \ - --with-qt4-uic=${prefix}/bin/uic \ - --with-guis=qt4 \ - --enable-static +configure.args --enable-static patch.dir ${workpath}/${distname} patch.pre_args -p1 +if {$subport == $name} { + conflicts gwenhywfar4-gtk + configure.args-append --with-qt4-libs=${prefix}/lib \ + --with-qt4-includes=${prefix}/include \ + --with-qt4-moc=${prefix}/bin/moc \ + --with-qt4-uic=${prefix}/bin/uic \ + --with-guis=qt4 + depends_lib-append port:qt4-mac +} + +subport gwenhywfar4-gtk { + conflicts gwenhywfar4 + depends_lib-append port:gtk2 + configure.args-append --with-guis=gtk2 --disable-qt4 +} + variant enable_local_install description "Enable local installation mode (plugins, data, locale and config are located relatively to the binary)" { configure.args-append --enable-local-install }
participants (1)
-
mk@macports.org