[33278] trunk/dports/net/avahi/Portfile
nox at macports.org
nox at macports.org
Tue Jan 22 04:44:28 PST 2008
Revision: 33278
http://trac.macosforge.org/projects/macports/changeset/33278
Author: nox at macports.org
Date: 2008-01-22 04:44:22 -0800 (Tue, 22 Jan 2008)
Log Message:
-----------
avahi: Whitespace changes.
Modified Paths:
--------------
trunk/dports/net/avahi/Portfile
Modified: trunk/dports/net/avahi/Portfile
===================================================================
--- trunk/dports/net/avahi/Portfile 2008-01-22 12:17:11 UTC (rev 33277)
+++ trunk/dports/net/avahi/Portfile 2008-01-22 12:44:22 UTC (rev 33278)
@@ -1,69 +1,72 @@
# $Id$
-PortSystem 1.0
-name avahi
-version 0.6.17
-revision 2
-categories net devel
-maintainers nomaintainer
-description A system which facilitates service discovery on a local network
+
+PortSystem 1.0
+
+name avahi
+version 0.6.17
+revision 2
+categories net devel
+maintainers nox
+platforms darwin
+description A system which facilitates service discovery on a local network
+
long_description \
- Avahi is a system which facilitates service discovery on a local \
- network. This means that you can plug your laptop or computer into \
- a network and instantly be able to view other people who you can \
- chat with, find printers to print to or find files being shared. \
- This kind of technology is already found in Mac OS X (branded \
- Rendezvous, Bonjour and sometimes Zeroconf) and is very convenient. \
- Avahi is mainly based on Lennart Poettering's flexmdns mDNS \
- implementation for Linux which has been discontinued in favour \
- of Avahi.
+ Avahi is a system which facilitates service discovery on a local \
+ network. This means that you can plug your laptop or computer into \
+ a network and instantly be able to view other people who you can \
+ chat with, find printers to print to or find files being shared. \
+ This kind of technology is already found in Mac OS X (branded \
+ Rendezvous, Bonjour and sometimes Zeroconf) and is very convenient. \
+ Avahi is mainly based on Lennart Poettering's flexmdns mDNS \
+ implementation for Linux which has been discontinued in favour \
+ of Avahi.
+
homepage http://avahi.org/
-platforms darwin
-master_sites http://avahi.org/download/
-checksums md5 29ebb2181958d5721ee5fc45f035a77c \
- sha1 3f7d293b72ca1c5269fa4b1e68b453d8ec3ff8f9 \
- rmd160 cac51c09730e1faf10bf0e11f091be3fd5f138d8
+master_sites http://avahi.org/download/
distname avahi-${version}
-use_bzip2 no
-depends_lib \
- port:libdaemon \
- port:gtk2 \
- port:dbus \
- port:dbus-glib \
- port:dbus-python25 \
- port:expat \
- port:gdbm \
- port:py25-gdbm \
- port:py25-gtk
+checksums md5 29ebb2181958d5721ee5fc45f035a77c \
+ sha1 3f7d293b72ca1c5269fa4b1e68b453d8ec3ff8f9 \
+ rmd160 cac51c09730e1faf10bf0e11f091be3fd5f138d8
+depends_lib port:libdaemon \
+ port:gtk2 \
+ port:dbus \
+ port:dbus-glib \
+ port:dbus-python25 \
+ port:expat \
+ port:gdbm \
+ port:py25-gdbm \
+ port:py25-gtk
+
# enable python-dbus once dbus python bindings are correctly ported
# all other disabled items should be placed in variants qt3/4 & mono
-configure.args \
- --disable-autoipd \
- --disable-qt3 \
- --disable-qt4 \
- --disable-mono \
- --disable-monodoc
-
-configure.cppflags-append "-L${prefix}/lib"
-configure.env PYTHON=${prefix}/bin/python2.5
+configure.args --disable-autoipd \
+ --disable-qt3 \
+ --disable-qt4 \
+ --disable-mono \
+ --disable-monodoc
+
+configure.cppflags-append -L${prefix}/lib
+configure.env PYTHON=${prefix}/bin/python2.5
pre-activate {
- addgroup avahi
- adduser avahi gid=[existsgroup avahi] realname=Avahi Service
+ addgroup avahi
+ adduser avahi gid=[existsgroup avahi] realname=Avahi Service
}
-platform darwin {
- configure.args-append \
- --with-distro=darwin
- post-patch {
- reinplace s|/System|${destroot}|g ${worksrcpath}/initscript/darwin/Makefile.in
- }
- post-activate {
- # remove cruft from versions < 0.6.17_2
- if {[file exists /System/Library/LaunchDaemons/org.freedesktop.avahi-dnsconfd.plist]} {
- delete /System/Library/LaunchDaemons/org.freedesktop.avahi-dnsconfd.plist
- delete /System/Library/LaunchDaemons/org.freedesktop.avahi-daemon.plist
- }
- }
+platform darwin {
+ configure.args-append --with-distro=darwin
+
+ post-patch {
+ reinplace "s|/System|${destroot}|g" ${worksrcpath}/initscript/darwin/Makefile.in
+ }
+
+ post-activate {
+ # remove cruft from versions < 0.6.17_2
+ if {[file exists /System/Library/LaunchDaemons/org.freedesktop.avahi-dnsconfd.plist]} {
+ delete /System/Library/LaunchDaemons/org.freedesktop.avahi-dnsconfd.plist
+ delete /System/Library/LaunchDaemons/org.freedesktop.avahi-daemon.plist
+ }
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080122/44f27bb7/attachment-0001.html
More information about the macports-changes
mailing list