openbsd-ports/mail/fetchmail/Makefile

49 lines
1.4 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.64 2001/04/13 20:35:49 brad Exp $
1997-11-14 19:04:24 -05: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
NEED_VERSION= 1.384
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
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?=
.if ${FLAVOR:L:Mkerberos}
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
pre-patch:
@sed -e "s|@PREFIX@|${LOCALBASE}|" \
${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
1997-11-14 19:04:24 -05:00
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fetchmail
@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
${INSTALL_SCRIPT} ${WRKSRC}/fetchmailconf \
${PREFIX}/libexec/fetchmailconf.bin
${INSTALL_SCRIPT} ${WRKDIR}/fetchmailconf ${PREFIX}/bin
1997-11-14 19:04:24 -05:00
.include <bsd.port.mk>