[110984] trunk/dports/devel/gwenhywfar4/Portfile
mk at macports.org
mk at macports.org
Thu Sep 12 15:12:08 PDT 2013
Revision: 110984
https://trac.macports.org/changeset/110984
Author: mk at macports.org
Date: 2013-09-12 15:12:08 -0700 (Thu, 12 Sep 2013)
Log Message:
-----------
gwenhywfar4: introduce subport gwenhywfar4-devel
Modified Paths:
--------------
trunk/dports/devel/gwenhywfar4/Portfile
Modified: trunk/dports/devel/gwenhywfar4/Portfile
===================================================================
--- trunk/dports/devel/gwenhywfar4/Portfile 2013-09-12 22:08:39 UTC (rev 110983)
+++ trunk/dports/devel/gwenhywfar4/Portfile 2013-09-12 22:12:08 UTC (rev 110984)
@@ -4,28 +4,19 @@
PortSystem 1.0
name gwenhywfar4
-version 4.3.3
-revision 2
+# This port offers the latest stable version (also as a gtk subport)
+# as well as the latest beta version as gwenhywfar4-devel!
-# this is specific to this port and *version* for downloading it
-set release 67
-platforms darwin
-
categories devel net finance
maintainers mk dports openmaintainer
+platforms darwin
license {LGPL-2.1 OpenSSLException}
description a utility library required by aqbanking and related software
long_description ${description}
homepage http://www2.aquamaniac.de/sites/aqbanking/index.php
-master_sites http://www2.aquamaniac.de/sites/download/download.php?package=01&release=${release}&file=01&dummy=
-distname gwenhywfar-${version}
-checksums md5 c5b9d52a25960f84f9264a5a5dd484d1 \
- sha1 c2ba4c45f1eeb379db6c2ae09122c592893f3bd0 \
- rmd160 61f56c7a8550003fe41be20cb35f370375390f6d
-
conflicts gwenhywfar
depends_lib port:openssl \
@@ -39,11 +30,34 @@
configure.args --enable-static
-patch.dir ${workpath}/${distname}
-patch.pre_args -p1
if {$subport == $name} {
- conflicts-append gwenhywfar4-gtk
+ conflicts-append gwenhywfar4-devel gwenhywfar4-gtk
+}
+
+if {$subport == $name || $subport =="gwenhywfar4-gtk"} {
+ version 4.3.3
+ revision 2
+ # this is specific to this port and *version* for downloading it
+ set release 67
+
+ checksums md5 c5b9d52a25960f84f9264a5a5dd484d1 \
+ sha1 c2ba4c45f1eeb379db6c2ae09122c592893f3bd0 \
+ rmd160 61f56c7a8550003fe41be20cb35f370375390f6d
+}
+
+subport gwenhywfar4-devel {
+ conflicts-append gwenhywfar4 gwenhywfar4-gtk
+ version 4.7.0beta
+ # this is specific to this port and *version* for downloading it
+ set release 70
+
+ checksums md5 6dd96360050e419793ed0bccd067c944 \
+ sha1 96de1b99e09c46ceddbaeb8bf2abbedf47c2e9a5 \
+ rmd160 2b893255398a9a0fbf97d583d1d69e7342110ecb
+}
+
+if {$subport == $name || $subport == "gwenhywfar4-devel"} {
configure.args-append --with-qt4-libs=${prefix}/lib \
--with-qt4-includes=${prefix}/include \
--with-qt4-moc=${prefix}/bin/moc \
@@ -52,8 +66,11 @@
depends_lib-append path:bin/qmake:qt4-mac
}
+master_sites http://www2.aquamaniac.de/sites/download/download.php?package=01&release=${release}&file=01&dummy=
+distname gwenhywfar-${version}
+
subport gwenhywfar4-gtk {
- conflicts-append gwenhywfar4
+ conflicts-append gwenhywfar4 gwenhywfar4-devel
depends_lib-append port:gtk2
configure.args-append --with-guis=gtk2 --disable-qt4
@@ -79,7 +96,7 @@
}
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
+ configure.args-append --enable-local-install
}
variant debug description "Enable debug." {
@@ -88,4 +105,8 @@
livecheck.type regex
livecheck.url http://www2.aquamaniac.de/sites/download/packages.php?package=01&showall=1
-livecheck.regex gwenhywfar-(\[0-9.\]*)\\.tar
+if {$subport != "gwenhywfar4-devel"} {
+ livecheck.regex gwenhywfar-(\[0-9.\]*)\\.tar
+} else {
+ livecheck.regex gwenhywfar-(\[0-9.\]*beta)\\.tar
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130912/12815357/attachment-0001.html>
More information about the macports-changes
mailing list