1997-01-09 21:38:36 -05:00
|
|
|
# New ports collection makefile for: imap-uw
|
|
|
|
# Date created: 9 Jan 1997
|
|
|
|
# Whom: pst
|
|
|
|
#
|
1999-08-25 02:51:17 -04:00
|
|
|
# $FreeBSD$
|
1997-01-09 21:38:36 -05:00
|
|
|
#
|
|
|
|
|
2000-04-13 16:01:08 -04:00
|
|
|
PORTNAME= imap-uw
|
|
|
|
PORTVERSION= 4.7b
|
1997-01-09 21:38:36 -05:00
|
|
|
CATEGORIES= mail
|
1999-12-24 21:29:04 -05:00
|
|
|
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/ \
|
1999-05-04 10:41:38 -04:00
|
|
|
ftp://ftp.uni-halle.de/pub/mail/pine/
|
2000-04-13 16:01:08 -04:00
|
|
|
DISTNAME= imap-${PORTVERSION}
|
1997-01-09 21:38:36 -05:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
1999-12-24 21:29:04 -05:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
2000-02-14 18:20:16 -05:00
|
|
|
imap-utils${EXTRACT_SUFX}
|
1997-01-09 21:38:36 -05:00
|
|
|
|
1998-05-30 12:45:51 -04:00
|
|
|
MAINTAINER= imap-uw@freebsd.ady.ro
|
1997-01-09 21:38:36 -05:00
|
|
|
|
1999-01-12 21:47:33 -05:00
|
|
|
Y2K= http://www.washington.edu/imap/IMAP-FAQs/FAQ-00002.html
|
|
|
|
|
2000-02-14 18:45:56 -05:00
|
|
|
PAMAUTH?= yes
|
1999-12-24 21:29:04 -05:00
|
|
|
.if ${PAMAUTH} != "no"
|
|
|
|
ALL_TARGET= bfp
|
|
|
|
.else
|
1997-06-03 02:27:17 -04:00
|
|
|
ALL_TARGET= bsf
|
1999-12-24 21:29:04 -05:00
|
|
|
.endif
|
1997-01-10 00:18:07 -05:00
|
|
|
MAN8= ipopd.8 imapd.8
|
1997-01-09 21:38:36 -05:00
|
|
|
|
1998-11-21 15:01:56 -05:00
|
|
|
SHLIBBASE= c-client4
|
1999-12-24 21:29:04 -05:00
|
|
|
SHLIBMAJ= 7
|
1998-11-21 15:01:56 -05:00
|
|
|
SHLIBNAME= lib${SHLIBBASE}.so.${SHLIBMAJ}
|
|
|
|
MAKE_ENV= SHLIBNAME=${SHLIBNAME} SHLIBBASE=${SHLIBBASE}
|
|
|
|
PLIST_SUB= SHLIBNAME=${SHLIBNAME} SHLIBBASE=${SHLIBBASE}
|
|
|
|
|
1998-11-14 04:43:39 -05:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1998-11-21 15:01:56 -05:00
|
|
|
.if ${PORTOBJFORMAT} == "aout"
|
|
|
|
SHLIBNAME= lib${SHLIBBASE}.so.${SHLIBMAJ}.0
|
1998-11-14 04:43:39 -05:00
|
|
|
.endif
|
|
|
|
|
1998-11-21 15:01:56 -05:00
|
|
|
post-configure:
|
|
|
|
@${ECHO_MSG} ">> The c-client shared library will be named ${SHLIBNAME}"
|
1999-12-24 21:29:04 -05:00
|
|
|
.if ${PAMAUTH} != "no"
|
|
|
|
@${ECHO_MSG} ">> Building with PAM support"
|
2000-02-14 18:45:56 -05:00
|
|
|
@${ECHO_MSG} ">> You can disable PAM support building with \"PAMAUTH=no\""
|
1999-12-24 21:29:04 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-build:
|
|
|
|
@(cd ${WRKDIR}/mlock; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} all)
|
1997-05-03 23:17:41 -04:00
|
|
|
|
1997-01-09 21:38:36 -05:00
|
|
|
do-install:
|
1998-12-24 13:26:22 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/c-client/mail.h ${PREFIX}/include
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/c-client/rfc822.h ${PREFIX}/include
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/c-client/linkage.h ${PREFIX}/include
|
1998-11-21 15:01:56 -05:00
|
|
|
${INSTALL} ${COPY} ${STRIP} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
|
|
|
|
${WRKSRC}/c-client/${SHLIBNAME} ${PREFIX}/lib
|
|
|
|
${LN} -sf ${SHLIBNAME} ${PREFIX}/lib/lib${SHLIBBASE}.so
|
1999-05-04 10:41:38 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/c-client/c-client.a \
|
|
|
|
${PREFIX}/lib/lib${SHLIBBASE}.a
|
1997-01-12 11:10:38 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/imapd/imapd ${PREFIX}/libexec
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ipopd/ipop2d ${PREFIX}/libexec
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ipopd/ipop3d ${PREFIX}/libexec
|
1999-12-24 21:29:04 -05:00
|
|
|
${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g mail -m 2711 \
|
|
|
|
${WRKDIR}/mlock/mlock ${PREFIX}/libexec
|
1997-01-12 11:10:38 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mtest/mtest ${PREFIX}/bin/mboxtest
|
|
|
|
${INSTALL_MAN} \
|
1997-01-09 21:38:36 -05:00
|
|
|
${WRKSRC}/src/imapd/imapd.8c ${PREFIX}/man/man8/imapd.8
|
1997-01-12 11:10:38 -05:00
|
|
|
${INSTALL_MAN} \
|
1997-01-09 21:38:36 -05:00
|
|
|
${WRKSRC}/src/ipopd/ipopd.8c ${PREFIX}/man/man8/ipopd.8
|
1997-12-06 20:02:52 -05:00
|
|
|
|
1998-07-17 16:19:14 -04:00
|
|
|
post-install:
|
1998-10-13 19:25:07 -04:00
|
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
1999-12-24 21:29:04 -05:00
|
|
|
.if ${PAMAUTH} != "no"
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.endif
|
1998-07-17 16:19:14 -04:00
|
|
|
|
1998-11-14 04:43:39 -05:00
|
|
|
.include <bsd.port.post.mk>
|