[81232] trunk/dports/mail/offlineimap/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Jul 27 16:03:08 PDT 2011


Revision: 81232
          http://trac.macports.org/changeset/81232
Author:   ryandesign at macports.org
Date:     2011-07-27 16:03:06 -0700 (Wed, 27 Jul 2011)
Log Message:
-----------
offlineimap: update to 6.3.3, fix homepage and master_sites (#30146); use python27 (#29820); adjust destroot; fix license format; indicate noarch

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

Modified: trunk/dports/mail/offlineimap/Portfile
===================================================================
--- trunk/dports/mail/offlineimap/Portfile	2011-07-27 22:51:53 UTC (rev 81231)
+++ trunk/dports/mail/offlineimap/Portfile	2011-07-27 23:03:06 UTC (rev 81232)
@@ -1,14 +1,16 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python26 1.0
+PortGroup python27 1.0
 
 name			offlineimap
-version			6.2.0
+version			6.3.3
 categories		mail python
 platforms		darwin
-license			GPLv2+
+license			GPL-2+
 maintainers		boeyms openmaintainer
+supported_archs	noarch
+
 # The following were borrowed from the Debian package.
 description		IMAP/Maildir synchronization and reader support
 long_description	OfflineIMAP is a tool to simplify your e-mail reading.\
@@ -32,21 +34,28 @@
 			  support\
 			In short, OfflineIMAP is a tool to let you read mail\
 			how YOU want to.
-homepage		http://software.complete.org/offlineimap
-master_sites    debian:o/offlineimap/
-distname		${name}_${version}
-worksrcdir		${name}
-checksums		md5 a23dab23ac08de063e330fe26d08e9b9 \
-				sha1 fb4194d0911d064c5810c4f1fc147fe719125b4e
 
+homepage		http://offlineimap.org/
+master_sites	https://github.com/nicolas33/offlineimap/tarball/v${version}
+dist_subdir		${name}
+
+checksums		sha1    90b822d481d79fd3f0146636038edadafda7fc40 \
+				rmd160  2194e5819b212c9bf129178569a0d099a6a4921e
+
+post-extract {
+	move [glob ${workpath}/*] ${worksrcpath}
+}
+
+python.link_binaries_suffix
+
 post-destroot {
-	ln -s ${python.prefix}/bin/offlineimap ${destroot}${prefix}/bin
-	xinstall -m 644 ${worksrcpath}/FAQ.html \
-		${destroot}${prefix}/share/doc/offlineimap
+	xinstall -m 644 -W ${worksrcpath} COPYRIGHT COPYING README.rst \
+		docs/FAQ.rst docs/MANUAL.rst \
+		${destroot}${prefix}/share/doc/${name}
 	xinstall -m 644 ${worksrcpath}/offlineimap.conf \
-		${destroot}${prefix}/etc/example-offlineimap.conf
+		${destroot}${prefix}/etc/offlineimap.conf.sample
 	xinstall -m 644 ${worksrcpath}/offlineimap.conf.minimal \
-		${destroot}${prefix}/etc/example-offlineimap.conf.minimal
+		${destroot}${prefix}/etc/offlineimap.conf.minimal.sample
 }
 
 livecheck.type	regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110727/e7796464/attachment.html>


More information about the macports-changes mailing list