2014-06-21 07:58:28 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.144 2014/06/21 07:58:28 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
|
|
|
|
2014-06-21 07:58:28 +00:00
|
|
|
DISTNAME= fetchmail-6.3.26
|
1997-11-15 00:04:24 +00:00
|
|
|
CATEGORIES= mail
|
2014-06-21 07:58:28 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fetchmail/}
|
2000-06-08 16:58:54 +00:00
|
|
|
|
2012-08-21 23:18:24 +00:00
|
|
|
HOMEPAGE= http://www.fetchmail.info/
|
2000-06-12 15:38:34 +00:00
|
|
|
|
2011-08-24 19:18:57 +00:00
|
|
|
# GPLv2+
|
2000-06-08 16:58:54 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2013-06-17 19:30:22 +00:00
|
|
|
|
2014-04-21 13:18:31 +00:00
|
|
|
WANTLIB += c crypto ssl
|
2000-04-26 18:43:53 +00:00
|
|
|
|
2011-08-24 19:18:57 +00:00
|
|
|
MODULES= devel/gettext \
|
|
|
|
lang/python
|
|
|
|
MODPY_RUNDEP= No
|
|
|
|
MODPY_ADJ_FILES= fetchmailconf.py
|
|
|
|
SUBST_VARS+= MODPY_LIBDIR
|
2010-11-19 07:23:05 +00:00
|
|
|
BUILD_DEPENDS= devel/bison
|
2002-09-10 10:14:24 +00:00
|
|
|
|
2012-03-29 13:38:12 +00:00
|
|
|
SEPARATE_BUILD= Yes
|
2014-04-21 13:18:31 +00:00
|
|
|
CONFIGURE_STYLE= gnu
|
2012-06-22 14:38:28 +00:00
|
|
|
CFLAGS= -I${LOCALBASE}/include
|
2010-05-19 15:27:18 +00:00
|
|
|
CONFIGURE_ENV= PYTHON=: YACC="bison -y"
|
2009-10-11 20:52:17 +00:00
|
|
|
CONFIGURE_ARGS= --with-ssl \
|
|
|
|
--enable-NTLM
|
2013-10-31 21:12:12 +00:00
|
|
|
|
|
|
|
USE_GROFF= Yes# uses www.tmac for .URL tags
|
1997-11-15 00:04:24 +00:00
|
|
|
|
2014-06-21 07:58:28 +00:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
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:
|
2011-08-24 19:18:57 +00:00
|
|
|
${SUBST_CMD} -c ${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>
|