[103678] trunk/dports/gnome/genius/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Mar 4 10:24:43 PST 2013
Revision: 103678
https://trac.macports.org/changeset/103678
Author: ryandesign at macports.org
Date: 2013-03-04 10:24:43 -0800 (Mon, 04 Mar 2013)
Log Message:
-----------
genius: update to 1.0.16; use xz distfile; switch without_gnome variant to default gnome variant; add dependencies; use full path to scrollkeeper-update (is that even still needed?)
Modified Paths:
--------------
trunk/dports/gnome/genius/Portfile
Modified: trunk/dports/gnome/genius/Portfile
===================================================================
--- trunk/dports/gnome/genius/Portfile 2013-03-04 17:12:16 UTC (rev 103677)
+++ trunk/dports/gnome/genius/Portfile 2013-03-04 18:24:43 UTC (rev 103678)
@@ -4,7 +4,7 @@
PortSystem 1.0
name genius
-version 1.0.9
+version 1.0.16
set branch [join [lrange [split ${version} .] 0 1] .]
description Genius is a calculator program.
long_description Genius is a calculator program similiar in some aspects to \
@@ -18,37 +18,55 @@
homepage http://www.jirka.org/genius.html
master_sites gnome:sources/${name}/${branch} \
http://ftp.5z.com/pub/genius/
+use_xz yes
-checksums md5 4a40f1eb45044101e563385a132cb29d \
- sha1 04cc07365418f2f4c428cd40bd7fea85a83a151a \
- rmd160 d2765d07aa790ff3aeb88b4ad71d882e711d49a1
+checksums rmd160 e338aa0cac7a86c5f92182e29df912a2e69a4a42 \
+ sha256 4db26338fb413b13d43ae063de8b1ad4024fe58e3ee3db6873165750aa75f16d
depends_build port:pkgconfig \
port:intltool \
port:rarian
-depends_lib port:gnome-vfs \
- port:gtksourceview2 \
- port:vte \
- port:mpfr
+depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
+ port:mpfr \
+ port:ncurses \
+ port:readline
-configure.args --enable-gnome \
- --enable-gtksourceview \
+depends_run port:rarian \
+ port:shared-mime-info
+
+configure.args --disable-gnome \
+ --disable-gtksourceview \
--disable-update-mimedb \
--disable-scrollkeeper
configure.cflags-append -std=gnu89
-variant without_gnome description {Compile without the GNOME frontend (no GUI, no plotting} {
- depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2
- configure.args-delete --enable-gnome \
+variant gnome conflicts without_gnome description {Compile with the GNOME frontend (GUI, plotting} {
+ depends_lib-append \
+ port:gnome-vfs \
+ port:gtksourceview2 \
+ port:vte
+
+ configure.args-append \
+ --enable-gnome \
--enable-gtksourceview
- configure.args-append --disable-gnome \
+ configure.args-delete \
+ --disable-gnome \
--disable-gtksourceview
}
+# Legacy without_gnome variant to be removed after March 2014
+variant without_gnome conflicts gnome description {Legacy compatibility variant} {}
+
+if {[variant_isset without_gnome]} {
+ default_variants -gnome
+} else {
+ default_variants +gnome
+}
+
post-activate {
- system "scrollkeeper-update"
+ system "${prefix}/bin/scrollkeeper-update"
system "${prefix}/bin/update-mime-database ${prefix}/share/mime; true"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130304/f8963400/attachment-0001.html>
More information about the macports-changes
mailing list