aboutsummaryrefslogblamecommitdiff
path: root/mail/getmail/Makefile
blob: 5dfcc9ff418597a7cc03a369b3e6b38d65d7de35 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                
           

                       
                      
                           
                                                                  
                                                     
 
                                                
                                                                           
 

                     
                 
                   
 
                                                                          
                                                                    
 
                   
 
                             
 

                              
             
                                                           
                             
                                
                                                                        
      
                         
                                               
                            
                                                                   
      
                             
 
                      
# Created by: Yukihiro Nakai <nakai@FreeBSD.org>
# $FreeBSD$

PORTNAME=	getmail
PORTVERSION=	4.43.0
CATEGORIES=	mail python
MASTER_SITES=	http://pyropus.ca/software/getmail/old-versions/ \
		http://mirrors.closedsrc.org/getmail/

MAINTAINER=	question+fbsdports@closedsrc.org
COMMENT=	POP3/IMAP4 mail retriever with Maildir and command delivery

LICENSE=	GPLv2

USE_PYTHON=	2
USE_PYDISTUTILS=yes

MAN1=		getmail.1 getmail_fetch.1 getmail_maildir.1 getmail_mbox.1
PORTDOCS=	README BUGS CHANGELOG THANKS TODO *.txt *.html *.css

NO_STAGE=	yes

OPTIONS_DEFINE=	DOCS EXAMPLES

.include <bsd.port.options.mk>

post-install:
	@${CHMOD} -R 644 ${PYTHON_SITELIBDIR}/getmailcore/*
.if ${PORT_OPTIONS:MEXAMPLES}
	@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/docs/getmailrc-examples ${EXAMPLESDIR}
.endif
.if ${PORT_OPTIONS:MDOCS}
	@${CP} ${WRKSRC}/README ${WRKSRC}/docs/
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${DOCSDIR}
.endif
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>