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