2010-03-31 19:12:06 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.120 2010/03/31 19:12:06 jasper Exp $
|
1997-11-15 00:04:24 +00:00
|
|
|
|
2007-09-16 00:17:04 +00:00
|
|
|
COMMENT= mail retrieval utility for POP2, POP3, KPOP, IMAP and more
|
2001-04-13 20:35:49 +00:00
|
|
|
|
2010-03-31 19:12:06 +00:00
|
|
|
DISTNAME= fetchmail-6.3.15
|
1997-11-15 00:04:24 +00:00
|
|
|
CATEGORIES= mail
|
2006-08-01 18:38:22 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_BERLIOS:=fetchmail/}
|
2000-06-08 16:58:54 +00:00
|
|
|
|
2005-07-25 17:41:51 +00:00
|
|
|
HOMEPAGE= http://fetchmail.berlios.de/
|
2000-06-12 15:38:34 +00:00
|
|
|
|
2009-02-17 12:08:44 +00:00
|
|
|
# GPLv2(+)
|
2000-06-08 16:58:54 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2005-01-02 12:56:04 +00:00
|
|
|
WANTLIB= c crypto krb5 ssl
|
2000-04-26 18:43:53 +00:00
|
|
|
|
2006-01-31 14:30:34 +00:00
|
|
|
MODULES= devel/gettext
|
2002-09-10 10:14:24 +00:00
|
|
|
|
2006-01-31 14:30:34 +00:00
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
CONFIGURE_STYLE= gnu
|
2009-10-11 20:52:17 +00:00
|
|
|
CFLAGS= -I${LOCALBASE}/include
|
|
|
|
CONFIGURE_ENV= PYTHON=:
|
|
|
|
CONFIGURE_ARGS= --with-ssl \
|
|
|
|
--with-kerberos5 \
|
|
|
|
--enable-NTLM
|
1997-11-15 00:04:24 +00:00
|
|
|
|
2006-01-31 14:30:34 +00:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2002-10-27 17:21:39 +00:00
|
|
|
|
2006-01-31 14:30:34 +00:00
|
|
|
DOCS= FAQ NOTES FEATURES README COPYING fetchmail-FAQ.html \
|
|
|
|
fetchmail-features.html design-notes.html todo.html
|
2001-02-15 21:21:37 +00:00
|
|
|
|
2008-10-30 15:33:59 +00:00
|
|
|
# Remove those so they get rebuild. Fixes problems with gcc2.
|
|
|
|
post-extract:
|
|
|
|
@rm -f ${WRKSRC}/rcfile_y.[ch]
|
|
|
|
|
2000-07-23 22:42:52 +00:00
|
|
|
pre-patch:
|
|
|
|
@sed -e "s|@PREFIX@|${LOCALBASE}|" \
|
2006-01-31 14:30:34 +00:00
|
|
|
${FILESDIR}/fetchmailconf > ${WRKDIR}/fetchmailconf
|
2001-07-09 00:19:47 +00:00
|
|
|
@tbl ${WRKSRC}/fetchmail.man > ${WRKSRC}/fetchmail.tbl && \
|
2006-01-31 14:30:34 +00:00
|
|
|
cp -f ${WRKSRC}/fetchmail.tbl ${WRKSRC}/fetchmail.man
|
2000-07-23 22:42:52 +00:00
|
|
|
|
1997-11-15 00:04:24 +00:00
|
|
|
post-install:
|
1999-12-18 19:51:57 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fetchmail
|
2000-07-15 07:18:01 +00:00
|
|
|
@cd ${PREFIX}/man/man1 && ln -sf fetchmail.1 fetchmailconf.1
|
2001-02-15 21:21:37 +00:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/fetchmail
|
2006-01-31 14:30:34 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/fetchmailconf.py \
|
|
|
|
${PREFIX}/libexec/fetchmailconf.bin
|
2000-07-23 22:42:52 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/fetchmailconf ${PREFIX}/bin
|
1997-11-15 00:04:24 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|