[59139] trunk/dports/mail/getmail/Portfile

blb at macports.org blb at macports.org
Fri Oct 9 23:44:38 PDT 2009


Revision: 59139
          http://trac.macports.org/changeset/59139
Author:   blb at macports.org
Date:     2009-10-09 23:44:36 -0700 (Fri, 09 Oct 2009)
Log Message:
-----------
mail/getmail - switch to python 2.6, ticket #21192 (maintainer timeout)

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

Modified: trunk/dports/mail/getmail/Portfile
===================================================================
--- trunk/dports/mail/getmail/Portfile	2009-10-10 06:18:33 UTC (rev 59138)
+++ trunk/dports/mail/getmail/Portfile	2009-10-10 06:44:36 UTC (rev 59139)
@@ -1,10 +1,11 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python25 1.0
+PortGroup python26 1.0
 
 name			getmail
 version			4.11.0
+revision		1
 categories		mail python
 platforms		darwin
 maintainers		mww
@@ -23,3 +24,17 @@
 dist_subdir		${name}
 patchfiles		patch-setup.py.diff
 
+post-destroot {
+	foreach binfile [glob -tails -directory ${destroot}${python.prefix}/bin *] {
+		ln -s ${python.prefix}/bin/${binfile} \
+			${destroot}${prefix}/bin/${binfile}
+	}
+	foreach manfile [glob -tails -directory ${destroot}${python.prefix}/share/man/man1 *] {
+		ln -s ${python.prefix}/share/man/man1/${manfile} \
+			${destroot}${prefix}/share/man/man1/${manfile}
+	}
+	delete ${destroot}${prefix}/share/doc/${name}
+	move ${destroot}${python.prefix}/share/doc/${name} \
+		${destroot}${prefix}/share/doc
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091009/372afbe1/attachment.html>


More information about the macports-changes mailing list