2001-04-13 16:35:49 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.64 2001/04/13 20:35:49 brad Exp $
|
1997-11-14 19:04:24 -05:00
|
|
|
|
2001-04-13 16:35:49 -04:00
|
|
|
COMMENT= "mail retrieval utility for POP2, POP3, KPOP, IMAP and more"
|
|
|
|
|
|
|
|
DISTNAME= fetchmail-5.8.1
|
1997-11-14 19:04:24 -05:00
|
|
|
CATEGORIES= mail
|
2001-04-13 16:35:49 -04:00
|
|
|
NEED_VERSION= 1.384
|
1999-09-22 12:32:37 -04:00
|
|
|
MASTER_SITES= http://www.tuxedo.org/~esr/fetchmail/ \
|
|
|
|
ftp://ftp.ccil.org/pub/esr/fetchmail/
|
2000-06-08 12:58:54 -04:00
|
|
|
|
2000-06-12 11:38:34 -04:00
|
|
|
HOMEPAGE= http://www.tuxedo.org/~esr/fetchmail/
|
|
|
|
|
2000-10-16 09:30:30 -04:00
|
|
|
MAINTAINER= Federico Schwindt <fgsch@openbsd.org>
|
1997-11-14 19:04:24 -05:00
|
|
|
|
2000-06-08 12:58:54 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-04-26 14:43:53 -04:00
|
|
|
|
2001-04-13 16:35:49 -04:00
|
|
|
SEPARATE_BUILD= concurrent
|
2000-11-17 16:56:33 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
2000-09-07 02:48:01 -04:00
|
|
|
CONFIGURE_ARGS= --disable-nls --enable-inet6 --with-ssl
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2000-09-07 02:48:01 -04:00
|
|
|
FLAVORS= kerberos
|
2000-06-27 19:22:03 -04:00
|
|
|
FLAVOR?=
|
2000-07-15 03:18:01 -04:00
|
|
|
|
2000-08-29 23:40:23 -04:00
|
|
|
.if ${FLAVOR:L:Mkerberos}
|
1999-12-25 02:48:19 -05:00
|
|
|
CONFIGURE_ARGS+= --with-kerberos
|
1997-11-14 19:04:24 -05:00
|
|
|
.endif
|
|
|
|
|
2001-02-15 16:21:37 -05:00
|
|
|
DOCS= FAQ NOTES FEATURES README COPYING fetchmail-FAQ.html \
|
|
|
|
fetchmail-features.html design-notes.html todo.html
|
|
|
|
|
2000-07-23 18:42:52 -04:00
|
|
|
pre-patch:
|
|
|
|
@sed -e "s|@PREFIX@|${LOCALBASE}|" \
|
2000-08-04 18:49:55 -04:00
|
|
|
${FILESDIR}/fetchmailconf > ${WRKDIR}/fetchmailconf
|
2000-08-04 19:41:33 -04:00
|
|
|
@tbl ${WRKSRC}/fetchmail.man > ${WRKSRC}/fetchmail.tbl; \
|
|
|
|
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
|
2000-07-23 18:42:52 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/fetchmailconf \
|
2000-08-04 18:49:55 -04:00
|
|
|
${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>
|