openbsd-ports/mail/fetchmail/Makefile

52 lines
1.4 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.120 2010/03/31 19:12:06 jasper Exp $
1997-11-14 19:04:24 -05:00
COMMENT= mail retrieval utility for POP2, POP3, KPOP, IMAP and more
DISTNAME= fetchmail-6.3.15
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
HOMEPAGE= http://fetchmail.berlios.de/
2000-06-12 11:38:34 -04:00
2009-02-17 07:08:44 -05: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
MODULES= devel/gettext
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CFLAGS= -I${LOCALBASE}/include
CONFIGURE_ENV= PYTHON=:
CONFIGURE_ARGS= --with-ssl \
--with-kerberos5 \
--enable-NTLM
1997-11-14 19:04:24 -05:00
EXTRACT_SUFX= .tar.bz2
2002-10-27 12:21:39 -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
# Remove those so they get rebuild. Fixes problems with gcc2.
post-extract:
@rm -f ${WRKSRC}/rcfile_y.[ch]
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
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.py \
${PREFIX}/libexec/fetchmailconf.bin
${INSTALL_SCRIPT} ${WRKDIR}/fetchmailconf ${PREFIX}/bin
1997-11-14 19:04:24 -05:00
.include <bsd.port.mk>