openbsd-ports/mail/imap-uw/Makefile
mbalmer d37d691bff Update to version 2004g.
Security information:  This fixes a a remote vulnerability where a registered
user potentially could execute code on the mailserver.
2005-10-07 12:22:07 +00:00

67 lines
1.9 KiB
Makefile

# $OpenBSD: Makefile,v 1.47 2005/10/07 12:22:07 mbalmer Exp $
COMMENT= "University of Washington IMAP4rev1/POP2/POP3 mail servers"
COMMENT-mailutil= "University of Washington IMAP4rev1/POP2/POP3 mail utility"
VERSION= 2004g
DISTNAME= imap-2004g
PKGNAME= imap-uw-${VERSION}
PKGNAME-mailutil= mailutil-uw-${VERSION}
CATEGORIES= mail
EXTRACT_SUFX= .tar.Z
HOMEPAGE= http://www.washington.edu/imap/
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
MASTER_SITES= ftp://ftp.cac.washington.edu/imap/ \
ftp://ftp.sunet.se/pub/unix/mail/imap/
PERMIT_PACKAGE_CDROM= no
PERMIT_PACKAGE_FTP= yes
PERMIT_DISTFILES_CDROM= no
PERMIT_DISTFILES_FTP= yes
WANTLIB= asn1 c com_err crypto des gssapi kafs krb5 ssl
ALL_TARGET= bso
MAKE_FLAGS= EXTRACFLAGS="${CFLAGS}" EXTRAAUTHENTICATORS="gss" IP=6
MULTI_PACKAGES= -mailutil
SUBPACKAGE?=
FLAVORS= plaintext
FLAVOR?=
.if ${FLAVOR:L:Mplaintext}
MAKE_FLAGS+= SSLTYPE="unix"
.else
MAKE_FLAGS+= SSLTYPE="unix.nopwd"
.endif
NO_REGRESS= Yes
DOCDIR= share/doc/imap-uw
DOCFILES= FAQ.txt FAQ.html commndmt.txt drivers.txt formats.txt \
imaprc.txt md5.txt naming.txt RELNOTES
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/imapd/imapd ${PREFIX}/libexec
${INSTALL_PROGRAM} ${WRKSRC}/ipopd/ipop2d ${PREFIX}/libexec
${INSTALL_PROGRAM} ${WRKSRC}/ipopd/ipop3d ${PREFIX}/libexec
${INSTALL_PROGRAM} ${WRKSRC}/dmail/dmail ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/mailutil/mailutil ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/tmail/tmail ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/src/imapd/imapd.8 ${PREFIX}/man/man8/imapd.8
${INSTALL_MAN} ${WRKSRC}/src/ipopd/ipopd.8 ${PREFIX}/man/man8/ipopd.8
${INSTALL_MAN} ${WRKSRC}/src/dmail/dmail.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/src/mailutil/mailutil.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/src/tmail/tmail.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/${DOCDIR}
.for f in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/docs/${f} ${PREFIX}/${DOCDIR}
.endfor
.include <bsd.port.mk>