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