openbsd-ports/mail/fetchmail/Makefile

36 lines
957 B
Makefile

# $OpenBSD: Makefile,v 1.38 2000/02/15 05:04:40 turan Exp $
DISTNAME= fetchmail-5.2.5
CATEGORIES= mail
MASTER_SITES= http://www.tuxedo.org/~esr/fetchmail/ \
ftp://ftp.ccil.org/pub/esr/fetchmail/
MAINTAINER= fgsch@openbsd.org
LICENSE_TYPE= GPL
PERMIT_PACKAGE_CDROM= YES
PERMIT_PACKAGE_FTP= YES
PERMIT_DISTFILES_CDROM= YES
PERMIT_DISTFILES_FTP= YES
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-nls
.if defined(WITH_KERBEROS) && ${WITH_KERBEROS:U} == YES
CONFIGURE_ARGS+= --with-kerberos
.endif
.if defined(WITH_SSL) && ${WITH_SSL:U} == YES
CONFIGURE_ARGS+= --with-ssl
.endif
.if defined(WITH_INET6) && ${WITH_INET6:U} == YES
CONFIGURE_ARGS+= --enable-inet6
.endif
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fetchmail
cd ${WRKSRC} && ${INSTALL_DATA} \
sample.rcfile FAQ NOTES FEATURES README COPYING \
fetchmail-FAQ.html fetchmail-features.html \
design-notes.html ${PREFIX}/share/doc/fetchmail
.include <bsd.port.mk>