openbsd-ports/mail/fetchmail/Makefile
fgsch 6c8c34dfa8 SECURITY FIX: update to 6.2.5.2, see
http://www.vuxml.org/openbsd/aee27100-fcf2-11d9-b3c7-00065bd5b0b6.html.
Update master sites and homepage (project moved to belios.de).
From Bernd Ahlers <b dot ahlers at ba-net dot org>.
2005-07-25 17:41:51 +00:00

48 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.102 2005/07/25 17:41:51 fgsch Exp $
COMMENT= "mail retrieval utility for POP2, POP3, KPOP, IMAP and more"
DISTNAME= fetchmail-6.2.5.2
CATEGORIES= mail
MASTER_SITES= http://download.berlios.de/fetchmail/
HOMEPAGE= http://fetchmail.berlios.de/
MAINTAINER= Federico Schwindt <fgsch@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c crypto krb5 ssl
MODULES= devel/gettext
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --disable-nls --enable-inet6 --with-ssl \
--with-kerberos5 --enable-NTLM
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
NO_REGRESS= Yes
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
@tbl ${WRKSRC}/fetchmail.man > ${WRKSRC}/fetchmail.tbl && \
cp -f ${WRKSRC}/fetchmail.tbl ${WRKSRC}/fetchmail.man
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fetchmail
@cd ${PREFIX}/man/man1 && ln -sf fetchmail.1 fetchmailconf.1
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/fetchmail
${INSTALL_SCRIPT} ${WRKSRC}/fetchmailconf \
${PREFIX}/libexec/fetchmailconf.bin
${INSTALL_SCRIPT} ${WRKDIR}/fetchmailconf ${PREFIX}/bin
.include <bsd.port.mk>