mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
7c69724a7a
the next release (it's not quite here yet). In the meantime, they have moved the imap-4.7c tarball into an 'old' subdirectory. This updates the c-client ports to find the tarball in it's new location. While I was in there, I also removed an obsolete MASTER_SITE and updated my e-mail address in the MAINTAINER field. Hopefully, the imap-uw port maintainer will do something similar in the near future to get it building again. Submitted by: Mike Silbersack <silby@silby.com>
69 lines
1.8 KiB
Makefile
69 lines
1.8 KiB
Makefile
# New ports collection makefile for: cclient
|
|
# Date created: 2 July 2000
|
|
# Whom: Kelly Yancey <kbyanc@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cclient
|
|
PORTVERSION= 4.7c
|
|
CATEGORIES= mail devel
|
|
MASTER_SITES= ftp://ftp.cac.washington.edu/imap/old/ \
|
|
ftp://ftp.funet.fi/pub/mirrors/ftp.cac.washington.edu/imap/old/ \
|
|
http://mirror.nucba.ac.jp/mirror/imap/old/
|
|
DISTNAME= imap-${PORTVERSION}2
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= kbyanc@FreeBSD.org
|
|
|
|
WRKSRC= ${WRKDIR}/imap-${PORTVERSION}
|
|
|
|
INSTALLS_SHLIB= yes
|
|
PAMAUTH?= yes
|
|
.if ${PAMAUTH} != "no"
|
|
ALL_TARGET= bfp
|
|
.else
|
|
ALL_TARGET= bsf
|
|
.endif
|
|
|
|
SHLIBBASE= c-client4
|
|
SHLIBMAJ= 7
|
|
SHLIBNAME= lib${SHLIBBASE}.so.${SHLIBMAJ}
|
|
MAKE_ENV= SHLIBNAME=${SHLIBNAME} SHLIBBASE=${SHLIBBASE}
|
|
PLIST_SUB= SHLIBNAME=${SHLIBNAME} SHLIBBASE=${SHLIBBASE}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PORTOBJFORMAT} == "aout"
|
|
SHLIBNAME= lib${SHLIBBASE}.so.${SHLIBMAJ}.0
|
|
.endif
|
|
|
|
post-configure:
|
|
@${ECHO_MSG} ">> The c-client shared library will be named ${SHLIBNAME}"
|
|
.if ${PAMAUTH} != "no"
|
|
@${ECHO_MSG} ">> Building with PAM support"
|
|
@${ECHO_MSG} ">> You can disable PAM support building with \"PAMAUTH=no\""
|
|
.endif
|
|
|
|
HEADERS= dummy.h env.h env_unix.h fdstring.h flstring.h fs.h ftl.h \
|
|
imap4r1.h linkage.c linkage.h mail.h misc.h nl.h nntp.h \
|
|
osdep.h pop3.h rfc822.h smtp.h tcp.h
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/include/c-client
|
|
.for f in ${HEADERS}
|
|
${INSTALL_DATA} ${WRKSRC}/c-client/${f} ${PREFIX}/include/c-client
|
|
.endfor
|
|
${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
|
|
${WRKSRC}/c-client/${SHLIBNAME} ${PREFIX}/lib
|
|
${LN} -sf ${SHLIBNAME} ${PREFIX}/lib/lib${SHLIBBASE}.so
|
|
${INSTALL_DATA} ${WRKSRC}/c-client/c-client.a \
|
|
${PREFIX}/lib/lib${SHLIBBASE}.a
|
|
|
|
post-install:
|
|
.if ${PAMAUTH} != "no"
|
|
@${CAT} ${FILESDIR}/MESSAGE.PAM
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|