2004-02-07 04:59:52 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.19 2004/02/07 09:59:52 xsa Exp $
|
2002-09-21 15:07:34 -04:00
|
|
|
|
|
|
|
COMMENT= "POP3 mail retriever"
|
|
|
|
|
2003-10-14 12:55:08 -04:00
|
|
|
DISTNAME= getmail-3.2.1
|
2002-09-21 15:07:34 -04:00
|
|
|
CATEGORIES= mail
|
|
|
|
|
2003-02-10 15:44:24 -05:00
|
|
|
HOMEPAGE= http://www.qcc.ca/~charlesc/software/getmail-3.0/
|
2002-09-21 15:07:34 -04:00
|
|
|
|
2002-11-22 11:43:44 -05:00
|
|
|
MAINTAINER= Nikolay Sturm <sturm@openbsd.org>
|
2002-09-21 15:07:34 -04:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2003-02-22 03:41:47 -05:00
|
|
|
MASTER_SITES= ${HOMEPAGE} ${HOMEPAGE}old-versions/
|
2002-09-21 15:07:34 -04:00
|
|
|
|
2004-02-07 04:59:52 -05:00
|
|
|
MODULES= python
|
2002-09-21 15:07:34 -04:00
|
|
|
|
|
|
|
NO_BUILD= Yes
|
2002-10-27 12:21:39 -05:00
|
|
|
NO_REGRESS= Yes
|
2004-02-02 12:45:22 -05:00
|
|
|
PKG_ARCH= *
|
2002-09-21 15:07:34 -04:00
|
|
|
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/getmail
|
2003-01-28 07:57:35 -05:00
|
|
|
EXDIR= ${PREFIX}/share/examples/getmail
|
2003-02-22 03:41:47 -05:00
|
|
|
GMDIR= ${PREFIX}/share/getmail
|
|
|
|
|
2004-02-07 04:59:52 -05:00
|
|
|
HELPERS= ${WRKDIST}/getmail_maildir ${WRKDIST}/getmail_mbox
|
2002-09-21 15:07:34 -04:00
|
|
|
|
2003-05-30 05:45:09 -04:00
|
|
|
do-configure:
|
2003-08-01 07:49:28 -04:00
|
|
|
@perl -i -p -e "s#/usr/lib/getmail#${GMDIR}#;" \
|
2003-02-22 03:41:47 -05:00
|
|
|
-e "s#/usr/bin/python#${LOCALBASE}/bin/python#;" \
|
|
|
|
${WRKDIST}/getmail ${HELPERS}
|
2002-09-21 15:07:34 -04:00
|
|
|
|
|
|
|
do-install:
|
2003-02-22 03:41:47 -05:00
|
|
|
${INSTALL_DATA_DIR} ${GMDIR}
|
2002-09-21 15:07:34 -04:00
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
2003-01-28 07:57:35 -05:00
|
|
|
${INSTALL_DATA_DIR} ${EXDIR}
|
2002-09-21 15:07:34 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIST}/getmail ${PREFIX}/bin
|
2003-02-22 03:41:47 -05:00
|
|
|
${INSTALL_SCRIPT} ${HELPERS} ${PREFIX}/libexec
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/*.py ${GMDIR}
|
2002-09-21 15:07:34 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/docs.txt ${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/faq.txt ${DOCDIR}
|
2003-02-22 03:41:47 -05:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/getmailrc-example ${EXDIR}
|
2002-09-21 15:07:34 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/getmail.1 ${PREFIX}/man/man1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|