[20084] trunk/dports/mail/fetchmail/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Mon Oct 16 12:41:29 PDT 2006


Revision: 20084
          http://trac.macosforge.org/projects/macports/changeset/20084
Author:   pmq at macports.org
Date:     2006-10-16 12:41:29 -0700 (Mon, 16 Oct 2006)

Log Message:
-----------
Fixes the dependency on python by creating a new variant.
Please note that the default_variants still create a full-featured fetchmail install.
+ssl also now belongs to default_variants.

Modified Paths:
--------------
    trunk/dports/mail/fetchmail/Portfile

Modified: trunk/dports/mail/fetchmail/Portfile
===================================================================
--- trunk/dports/mail/fetchmail/Portfile	2006-10-16 19:38:57 UTC (rev 20083)
+++ trunk/dports/mail/fetchmail/Portfile	2006-10-16 19:41:29 UTC (rev 20084)
@@ -36,7 +36,9 @@
 checksums	sha1 e009d904454f7eb0744f3db468bcaf2f8fd2b443 \
   		rmd160 3032622b8e3d2171bc7d94357414ccc69bfa9f0d
 
-depends_lib	port:gettext port:py-tkinter
+default_variants +ssl +fetchmailconf
+
+depends_lib	port:gettext
 # depends_run	path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup
 
 configure.env	CFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
@@ -48,3 +50,13 @@
     configure.args-delete	--without-ssl
     configure.args-append	--with-ssl
 }
+
+variant fetchmailconf {
+    depends_lib-append		port:py-tkinter
+}
+
+post-destroot {
+    if { ! [variant_isset fetchmailconf] } {
+        system "find ${destroot}${prefix} -type f -iname '*fetchmailconf*' -delete"
+    }
+}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061016/cf75677b/attachment.html


More information about the macports-changes mailing list