forked from ports/contrib
23 lines
614 B
Plaintext
23 lines
614 B
Plaintext
|
# Maintainer: Han Boetes <han@mijncomputer.nl>
|
||
|
# Description: POP3 mail retriever with reliable Maildir and command delivery
|
||
|
# URL: http://www.qcc.ca/~charlesc/software/getmail-3.0/
|
||
|
# Depends on: python
|
||
|
|
||
|
name=getmail
|
||
|
version=4.6.5
|
||
|
release=1
|
||
|
source="
|
||
|
http://pyropus.ca/software/getmail/old-versions/getmail-$version.tar.gz
|
||
|
getmail.diff
|
||
|
"
|
||
|
|
||
|
build()
|
||
|
{
|
||
|
cd $name-$version
|
||
|
patch < $SRC/getmail.diff
|
||
|
python setup.py build
|
||
|
python setup.py install --prefix $PKG/usr
|
||
|
rm -rf $PKG/usr/share/doc
|
||
|
sed -i 's|#!/usr/bin/python|& -Wignore:.:DeprecationWarning:.:0|' $PKG/usr/bin/getmail
|
||
|
}
|