openbsd-ports/mail/imap-uw/Makefile
2007-01-01 21:25:20 +00:00

72 lines
2.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.51 2007/01/01 21:25:20 jakob Exp $
COMMENT-server= "University of Washington IMAP4rev1/POP2/POP3 mail servers"
COMMENT-mailutil= "University of Washington IMAP4rev1/POP2/POP3 mail utility"
VERSION= 2006d
DISTNAME= imap-2006d
PKGNAME-server= 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.cac.washington.edu/imap/old/ \
ftp://ftp.sunet.se/pub/unix/mail/imap/ \
ftp://ftp.sunet.se/pub/unix/mail/imap/old/
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= -server -mailutil
SUBPACKAGE?= -server
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 mixfmt.txt naming.txt RELNOTES
post-configure:
touch ${WRKSRC}/ip6
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>