[33890] trunk/dports/gnome/liboobs/Portfile
nox at macports.org
nox at macports.org
Wed Feb 6 15:56:22 PST 2008
Revision: 33890
http://trac.macosforge.org/projects/macports/changeset/33890
Author: nox at macports.org
Date: 2008-02-06 15:56:21 -0800 (Wed, 06 Feb 2008)
Log Message:
-----------
liboobs:
* Fixed use of crypt functions (should close #13243).
* Added rmd160 checksum.
* Fixed livecheck.
* Fixed dependencies.
Modified Paths:
--------------
trunk/dports/gnome/liboobs/Portfile
Modified: trunk/dports/gnome/liboobs/Portfile
===================================================================
--- trunk/dports/gnome/liboobs/Portfile 2008-02-06 23:35:03 UTC (rev 33889)
+++ trunk/dports/gnome/liboobs/Portfile 2008-02-06 23:56:21 UTC (rev 33890)
@@ -4,6 +4,8 @@
name liboobs
version 2.20.0
+revision 1
+set branch [join [lrange [split ${version} .] 0 1] .]
maintainers nomaintainer
categories gnome
platforms darwin
@@ -16,19 +18,39 @@
applications to integrate with the system details.
homepage http://www.gnome.org/
-master_sites gnome:sources/${name}/[strsed ${version} {/\.[0-9]*$//}]/
+master_sites gnome:sources/${name}/${branch}/
use_bzip2 yes
checksums md5 c0562e115af4777da471182b9d462b40 \
sha1 1c33bb12c97d5bea48cca1a6650426a0d4a15ba2 \
- rmd150 adsjfhalksjdfhakljsdhf
+ rmd160 fb1acb99e41e63e396e8a766e0bc7067f78a24d6
-depends_lib port:dbus \
+post-patch {
+ # Crypt functions are in the System library.
+ reinplace "s/-lcrypt/-lSystem/" ${worksrcpath}/configure
+
+ # Crypt functions are declared in unistd.h system header.
+ reinplace "s/<crypt.h>/<unistd.h>/" \
+ ${worksrcpath}/oobs/oobs-user.c \
+ ${worksrcpath}/oobs/oobs-group.c
+}
+
+depends_build port:scrollkeeper
+
+depends_lib port:glib2 \
+ port:dbus \
port:dbus-glib \
+ port:gettext \
port:system-tools-backends
+depends_run port:scrollkeeper
+
configure.args --disable-scrollkeeper
post-activate {
- system "scrollkeeper-update"
+ system "${prefix}/bin/scrollkeeper-update"
}
+
+livecheck.check regex
+livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080206/d419b040/attachment.html
More information about the macports-changes
mailing list