5e2d5b2028
ok jakob@
73 lines
2.1 KiB
Makefile
73 lines
2.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.53 2007/10/19 11:30:37 ajacoutot 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/
|
|
|
|
# Apache License 2.0
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
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>
|