[53676] trunk/dports/mail/imap-uw/Portfile

snc at macports.org snc at macports.org
Sat Jul 11 11:23:54 PDT 2009


Revision: 53676
          http://trac.macports.org/changeset/53676
Author:   snc at macports.org
Date:     2009-07-11 11:23:54 -0700 (Sat, 11 Jul 2009)
Log Message:
-----------
whitespace changes

Modified Paths:
--------------
    trunk/dports/mail/imap-uw/Portfile

Modified: trunk/dports/mail/imap-uw/Portfile
===================================================================
--- trunk/dports/mail/imap-uw/Portfile	2009-07-11 18:17:52 UTC (rev 53675)
+++ trunk/dports/mail/imap-uw/Portfile	2009-07-11 18:23:54 UTC (rev 53676)
@@ -1,41 +1,41 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem		1.0
+PortSystem          1.0
 
-name			imap-uw
-version			2007
-revision        2
-categories		mail
-maintainers		nomaintainer
-description		University of Washington IMAP daemon
-long_description	IMAP (Internet Message Access Protocol) is a method \
-			of accessing electronic messages kept on a (possibly \
-			shared) mail server. This port provides the \
-			University of Washington IMAP toolkit (IMAP \
-			supporting software developed by the UW).
-homepage		http://www.washington.edu/imap/
-master_sites		ftp://ftp.cac.washington.edu/imap/ \
-			ftp://ftp.cac.washington.edu/imap/old/
-platforms		darwin
+name                imap-uw
+version             2007
+revision            2
+categories          mail
+maintainers         nomaintainer
+description         University of Washington IMAP daemon
+long_description    IMAP (Internet Message Access Protocol) is a method \
+                    of accessing electronic messages kept on a (possibly \
+                    shared) mail server. This port provides the \
+                    University of Washington IMAP toolkit (IMAP \
+                    supporting software developed by the UW).
+homepage            http://www.washington.edu/imap/
+master_sites        ftp://ftp.cac.washington.edu/imap/ \
+                    ftp://ftp.cac.washington.edu/imap/old/
+platforms           darwin
 
-distname		imap-${version}
-extract.suffix		.tar.Z
-checksums		md5 8162c341dd3a08d18b369a745cf83838 \
-				sha1 638fa748bd3eb32191799bc20db0cc383f9fedbe \
-				rmd160 7fe7f72c192e1d150b3c533261142459db600c3e
+distname            imap-${version}
+extract.suffix      .tar.Z
+checksums           md5    8162c341dd3a08d18b369a745cf83838 \
+                    sha1   638fa748bd3eb32191799bc20db0cc383f9fedbe \
+                    rmd160 7fe7f72c192e1d150b3c533261142459db600c3e
 
-use_configure		no
+use_configure       no
 
-build.target		oxp
+build.target        oxp
 # Enable IPv6 support
-build.args-append	IP=6
+build.args-append   IP=6
 
 # Patches for Darwin 7.x/Mac OS X 10.3.x support
 platform darwin 7 {
-	patchfiles	patch-src-osdep-unix-Makefile \
-			patch-src-osdep-unix-ckp_osx.c
-	build.target	osx
+   patchfiles       patch-src-osdep-unix-Makefile \
+                    patch-src-osdep-unix-ckp_osx.c
+   build.target     osx
 }
 
 # Default is to enable SSL support and plaintext authentication
@@ -43,88 +43,90 @@
 
 # Variant to enable SSL support and plaintext authentication
 variant ssl_plain {
-	patchfiles	patch-Makefile.diff
-	build.args-append	SSLTYPE=unix
+   patchfiles       patch-Makefile.diff
+   build.args-append    SSLTYPE=unix
 }
 
 # Variant to enable SSL with PAM support for Mac OS X
 variant ssl_pam {
-	depends_lib	lib:libssl.0.9:openssl
+   depends_lib      lib:libssl.0.9:openssl
 
-	patchfiles	patch-Makefile.diff
-	build.target	oxp
-	build.args-append	SSLTYPE=unix
+   patchfiles       patch-Makefile.diff
+   build.target     oxp
+   build.args-append    SSLTYPE=unix
 
-	post-destroot { xinstall -m 0644 ${filespath}/README-MACOSX \
-			${filespath}/etc-pam.d-imap \
-			${filespath}/etc-xinetd.d-imap \
-			${filespath}/etc-xinetd.d-imaps \
-			${destroot}${prefix}/share/doc/${name}/
-			reinplace "s|__PREFIX|${prefix}|" \
-			${filespath}/README-MACOSX \
-			${destroot}${prefix}/share/doc/${name}/etc-xinetd.d-imap \
-			${destroot}${prefix}/share/doc/${name}/etc-xinetd.d-imaps
-			ui_msg "-----------------------------------------------------------"
-			ui_msg "For use of IMAP-UW using SSL and PAM on Mac OS X 10.3,"
-			ui_msg "please see the following:"
-			ui_msg "\t${prefix}/share/doc/${name}/README-MACOSX"
-			ui_msg "for further installation and setup details."
-			ui_msg "-----------------------------------------------------------"
-	}
+    post-destroot {
+        xinstall -m 0644 ${filespath}/README-MACOSX \
+            ${filespath}/etc-pam.d-imap \
+            ${filespath}/etc-xinetd.d-imap \
+            ${filespath}/etc-xinetd.d-imaps \
+            ${destroot}${prefix}/share/doc/${name}/
+        reinplace "s|__PREFIX|${prefix}|" \
+            ${filespath}/README-MACOSX \
+            ${destroot}${prefix}/share/doc/${name}/etc-xinetd.d-imap \
+            ${destroot}${prefix}/share/doc/${name}/etc-xinetd.d-imaps
+        
+        ui_msg "-----------------------------------------------------------"
+        ui_msg "For use of IMAP-UW using SSL and PAM on Mac OS X 10.3,"
+        ui_msg "please see the following:"
+        ui_msg "\t${prefix}/share/doc/${name}/README-MACOSX"
+        ui_msg "for further installation and setup details."
+        ui_msg "-----------------------------------------------------------"
+    }
 }
 
 # Variant to disable plaintext authentication outside of SSL/TSL
 # i.e. prohibit unencrypted plaintext passwords
 variant nopwd {
-	build.args-delete	SSLTYPE=unix
-	build.args-append	SSLTYPE=unix.nopwd
+    build.args-delete   SSLTYPE=unix
+    build.args-append   SSLTYPE=unix.nopwd
 }
 
 # Variant to set the default for creating new mailboxes to "mbx" format
-variant mbx	{
-	build.args-append	CREATEPROTO=mbxproto
+variant mbx   {
+    build.args-append   CREATEPROTO=mbxproto
 }
 
 # Variant to set the default mail subdirectory name to "Mail"
 variant subdir {
-	patchfiles-append	patch-env_unix.c.diff
+    patchfiles-append   patch-env_unix.c.diff
 }
 
 destroot {
-	# Warn user if not running as root
-	if {$env(USER) != "root"} {
-		ui_msg "-----------------------------------------------------------"
-		ui_msg "Note that you are not running as root, so files installed"
-		ui_msg "by this port will not end up with proper ownership and"
-		ui_msg "will likely not work correctly."
-		ui_msg "-----------------------------------------------------------"
-	}
-	xinstall -m 0755 -d ${destroot}${prefix}/libexec
-	xinstall -m 0755 -d ${destroot}${prefix}/bin
-	xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}
-	xinstall -m 0755 -d ${destroot}${prefix}/share/man/man8
-	xinstall -m 0755 -d ${destroot}${prefix}/share/man/man1
-	xinstall -m 0755 ${worksrcpath}/imapd/imapd ${destroot}${prefix}/libexec
-	xinstall -m 0755 ${worksrcpath}/ipopd/ipop2d ${destroot}${prefix}/libexec
-	xinstall -m 0755 ${worksrcpath}/ipopd/ipop3d ${destroot}${prefix}/libexec
-	xinstall -m 0755 ${worksrcpath}/mailutil/mailutil ${destroot}${prefix}/bin
-	xinstall -m 0755 ${worksrcpath}/tmail/tmail ${destroot}${prefix}/bin
-	xinstall -m 0755 ${worksrcpath}/dmail/dmail ${destroot}${prefix}/bin
-	xinstall -m 0755 ${worksrcpath}/mtest/mtest ${destroot}${prefix}/bin/mboxtest
-	if {$env(USER) == "root"} {
-		xinstall -g mail -m 2711 ${worksrcpath}/mlock/mlock ${destroot}${prefix}/libexec
-	} else {
-		xinstall -m 0711 ${worksrcpath}/mlock/mlock ${destroot}${prefix}/libexec
-	}
-	xinstall -m 0755 ${worksrcpath}/src/imapd/imapd.8 ${destroot}${prefix}/share/man/man8
-	xinstall -m 0755 ${worksrcpath}/src/ipopd/ipopd.8 ${destroot}${prefix}/share/man/man8
-	xinstall -m 0755 ${worksrcpath}/src/mailutil/mailutil.1 ${destroot}${prefix}/share/man/man1
-	xinstall -m 0755 ${worksrcpath}/src/tmail/tmail.1 ${destroot}${prefix}/share/man/man1
-	xinstall -m 0755 ${worksrcpath}/src/dmail/dmail.1 ${destroot}${prefix}/share/man/man1
-	xinstall -m 0644 ${worksrcpath}/docs/RELNOTES ${destroot}${prefix}/share/doc/${name}
-	xinstall -m 0644 ${worksrcpath}/docs/FAQ.html ${destroot}${prefix}/share/doc/${name}
-	foreach file [glob ${worksrcpath}/docs/*.txt] {
-		xinstall -m 0644 ${file} ${destroot}${prefix}/share/doc/${name}
-	}
+    # Warn user if not running as root
+    if {$env(USER) != "root"} {
+        ui_msg "-----------------------------------------------------------"
+        ui_msg "Note that you are not running as root, so files installed"
+        ui_msg "by this port will not end up with proper ownership and"
+        ui_msg "will likely not work correctly."
+        ui_msg "-----------------------------------------------------------"
+    }
+    xinstall -m 0755 -d ${destroot}${prefix}/libexec
+    xinstall -m 0755 -d ${destroot}${prefix}/bin
+    xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 0755 -d ${destroot}${prefix}/share/man/man8
+    xinstall -m 0755 -d ${destroot}${prefix}/share/man/man1
+    xinstall -m 0755 ${worksrcpath}/imapd/imapd ${destroot}${prefix}/libexec
+    xinstall -m 0755 ${worksrcpath}/ipopd/ipop2d ${destroot}${prefix}/libexec
+    xinstall -m 0755 ${worksrcpath}/ipopd/ipop3d ${destroot}${prefix}/libexec
+    xinstall -m 0755 ${worksrcpath}/mailutil/mailutil ${destroot}${prefix}/bin
+    xinstall -m 0755 ${worksrcpath}/tmail/tmail ${destroot}${prefix}/bin
+    xinstall -m 0755 ${worksrcpath}/dmail/dmail ${destroot}${prefix}/bin
+    xinstall -m 0755 ${worksrcpath}/mtest/mtest ${destroot}${prefix}/bin/mboxtest
+    if {$env(USER) == "root"} {
+        xinstall -g mail -m 2711 ${worksrcpath}/mlock/mlock ${destroot}${prefix}/libexec
+    } else {
+        xinstall -m 0711 ${worksrcpath}/mlock/mlock ${destroot}${prefix}/libexec
+    }
+    xinstall -m 0755 ${worksrcpath}/src/imapd/imapd.8 ${destroot}${prefix}/share/man/man8
+    xinstall -m 0755 ${worksrcpath}/src/ipopd/ipopd.8 ${destroot}${prefix}/share/man/man8
+    xinstall -m 0755 ${worksrcpath}/src/mailutil/mailutil.1 ${destroot}${prefix}/share/man/man1
+    xinstall -m 0755 ${worksrcpath}/src/tmail/tmail.1 ${destroot}${prefix}/share/man/man1
+    xinstall -m 0755 ${worksrcpath}/src/dmail/dmail.1 ${destroot}${prefix}/share/man/man1
+    xinstall -m 0644 ${worksrcpath}/docs/RELNOTES ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 0644 ${worksrcpath}/docs/FAQ.html ${destroot}${prefix}/share/doc/${name}
+    foreach file [glob ${worksrcpath}/docs/*.txt] {
+        xinstall -m 0644 ${file} ${destroot}${prefix}/share/doc/${name}
+    }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090711/fac835a8/attachment.html>


More information about the macports-changes mailing list