diff options
author | steve <steve@FreeBSD.org> | 1999-12-25 10:29:04 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-12-25 10:29:04 +0800 |
commit | c8e8353b8674e235b60959c5b90482ed60c7edf8 (patch) | |
tree | 6e256ba617653c7478dc2665b80200afe672e9bc /mail/imap-uw/Makefile | |
parent | 985b061c7dbaa5831348de68e762d27ae61100c1 (diff) | |
download | freebsd-ports-gnome-c8e8353b8674e235b60959c5b90482ed60c7edf8.tar.gz freebsd-ports-gnome-c8e8353b8674e235b60959c5b90482ed60c7edf8.tar.zst freebsd-ports-gnome-c8e8353b8674e235b60959c5b90482ed60c7edf8.zip |
Update to version 4.7.
PR: 14359
Submitted by: maintainer
Diffstat (limited to 'mail/imap-uw/Makefile')
-rw-r--r-- | mail/imap-uw/Makefile | 37 |
1 files changed, 31 insertions, 6 deletions
diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile index 4509deda9cd7..f0f50e9a5a3d 100644 --- a/mail/imap-uw/Makefile +++ b/mail/imap-uw/Makefile @@ -1,28 +1,37 @@ # New ports collection makefile for: imap-uw -# Version required: 4.5 +# Version required: 4.7 # Date created: 9 Jan 1997 # Whom: pst # # $FreeBSD$ # -DISTNAME= imap-4.5 -PKGNAME= imap-uw-4.5 +DISTNAME= imap-4.7 +PKGNAME= imap-uw-4.7 CATEGORIES= mail -MASTER_SITES= ftp://ftp.cac.washington.edu/imap/old/ \ - ftp://ftp.funet.fi/pub/mirrors/ftp.cac.washington.edu/mail/old/ \ +MASTER_SITES= ftp://ftp.cac.washington.edu/imap/ \ + ftp://ftp.funet.fi/pub/mirrors/ftp.cac.washington.edu/mail/ \ + http://mirror.nucba.ac.jp/mirror/imap/ \ ftp://ftp.uni-halle.de/pub/mail/pine/ EXTRACT_SUFX= .tar.Z +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ + imap-utils${EXTRACT_SUFX} \ + ${DISTNAME}.lock-patch.tar MAINTAINER= imap-uw@freebsd.ady.ro Y2K= http://www.washington.edu/imap/IMAP-FAQs/FAQ-00002.html +PAMAUTH?= no +.if ${PAMAUTH} != "no" +ALL_TARGET= bfp +.else ALL_TARGET= bsf +.endif MAN8= ipopd.8 imapd.8 SHLIBBASE= c-client4 -SHLIBMAJ= 5 +SHLIBMAJ= 7 SHLIBNAME= lib${SHLIBBASE}.so.${SHLIBMAJ} MAKE_ENV= SHLIBNAME=${SHLIBNAME} SHLIBBASE=${SHLIBBASE} PLIST_SUB= SHLIBNAME=${SHLIBNAME} SHLIBBASE=${SHLIBBASE} @@ -35,6 +44,17 @@ SHLIBNAME= lib${SHLIBBASE}.so.${SHLIBMAJ}.0 post-configure: @${ECHO_MSG} ">> The c-client shared library will be named ${SHLIBNAME}" +.if ${PAMAUTH} != "no" + @${ECHO_MSG} ">> Building with PAM support" +.else + @${ECHO_MSG} ">> You can use PAM authentication building with \"PAMAUTH=yes\"" +.endif + +pre-patch: + @${CP} -f ${WRKDIR}/lock-patch/*.c ${WRKSRC}/src/osdep/unix/ + +post-build: + @(cd ${WRKDIR}/mlock; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} all) do-install: ${INSTALL_DATA} ${WRKSRC}/c-client/mail.h ${PREFIX}/include @@ -48,6 +68,8 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/imapd/imapd ${PREFIX}/libexec ${INSTALL_PROGRAM} ${WRKSRC}/ipopd/ipop2d ${PREFIX}/libexec ${INSTALL_PROGRAM} ${WRKSRC}/ipopd/ipop3d ${PREFIX}/libexec + ${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g mail -m 2711 \ + ${WRKDIR}/mlock/mlock ${PREFIX}/libexec ${INSTALL_PROGRAM} ${WRKSRC}/mtest/mtest ${PREFIX}/bin/mboxtest ${INSTALL_MAN} \ ${WRKSRC}/src/imapd/imapd.8c ${PREFIX}/man/man8/imapd.8 @@ -56,5 +78,8 @@ do-install: post-install: ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib +.if ${PAMAUTH} != "no" + @${CAT} ${PKGMESSAGE} +.endif .include <bsd.port.post.mk> |