1997-01-09 21:38:36 -05:00
|
|
|
# New ports collection makefile for: imap-uw
|
1998-07-31 02:47:02 -04:00
|
|
|
# Version required: 4.2
|
1997-01-09 21:38:36 -05:00
|
|
|
# Date created: 9 Jan 1997
|
|
|
|
# Whom: pst
|
|
|
|
#
|
1998-10-26 08:54:24 -05:00
|
|
|
# $Id: Makefile,v 1.20 1998/10/23 18:42:49 asami Exp $
|
1997-01-09 21:38:36 -05:00
|
|
|
#
|
|
|
|
|
1998-07-31 02:47:02 -04:00
|
|
|
DISTNAME= imap-4.2
|
|
|
|
PKGNAME= imap-uw-4.2
|
1997-01-09 21:38:36 -05:00
|
|
|
CATEGORIES= mail
|
1998-09-22 11:14:57 -04:00
|
|
|
MASTER_SITES= ftp://ftp.cac.washington.edu/imap/old/ \
|
1998-09-19 17:29:29 -04:00
|
|
|
http://www.freebsd.org/~steve/
|
1997-01-09 21:38:36 -05:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
1998-05-30 12:45:51 -04:00
|
|
|
MAINTAINER= imap-uw@freebsd.ady.ro
|
1997-01-09 21:38:36 -05:00
|
|
|
|
1997-06-03 02:27:17 -04:00
|
|
|
ALL_TARGET= bsf
|
1997-01-10 00:18:07 -05:00
|
|
|
MAN8= ipopd.8 imapd.8
|
1997-01-09 21:38:36 -05:00
|
|
|
|
1998-07-17 16:19:14 -04:00
|
|
|
#pre-build:
|
|
|
|
# @chmod 755 ${WRKSRC}/src/osdep/unix/drivers ${WRKSRC}/src/osdep/unix/mkauths
|
1997-05-03 23:17:41 -04:00
|
|
|
|
1997-12-06 20:02:52 -05:00
|
|
|
# this rule currently isn't called or used, because it's not sufficient to
|
|
|
|
# install just the .a file and mail.h, so we shouldn't install anything at all!
|
|
|
|
install-lib:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/c-clinet/mail.h ${PREFIX}/include
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/c-client/c-client.a ${PREFIX}/lib/libc-client.a
|
|
|
|
|
1997-01-09 21:38:36 -05:00
|
|
|
do-install:
|
1998-10-13 19:25:07 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/c-client/${SHLIB} ${PREFIX}/lib
|
|
|
|
${LN} -sf ${SHLIB} ${PREFIX}/lib/libc-client.so
|
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
|
|
|
|
${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
|
1998-07-17 16:19:14 -04:00
|
|
|
|
1997-01-09 21:38:36 -05:00
|
|
|
.include <bsd.port.mk>
|
1998-10-13 19:25:07 -04:00
|
|
|
|
|
|
|
.if ${PORTOBJFORMAT} == "elf"
|
|
|
|
SHLIB= libc-client.so.2
|
|
|
|
.else
|
|
|
|
SHLIB= libc-client.so.2.1
|
|
|
|
.endif
|