1997-01-10 02:38:36 +00:00
|
|
|
# New ports collection makefile for: imap-uw
|
1998-11-21 20:01:56 +00:00
|
|
|
# Version required: 4.4
|
1997-01-10 02:38:36 +00:00
|
|
|
# Date created: 9 Jan 1997
|
|
|
|
# Whom: pst
|
|
|
|
#
|
1998-12-24 18:26:22 +00:00
|
|
|
# $Id: Makefile,v 1.23 1998/11/21 20:01:51 steve Exp $
|
1997-01-10 02:38:36 +00:00
|
|
|
#
|
|
|
|
|
1998-11-21 20:01:56 +00:00
|
|
|
DISTNAME= imap-4.4
|
|
|
|
PKGNAME= imap-uw-4.4
|
1997-01-10 02:38:36 +00:00
|
|
|
CATEGORIES= mail
|
1998-11-21 20:01:56 +00:00
|
|
|
MASTER_SITES= ftp://ftp.cac.washington.edu/imap/
|
1997-01-10 02:38:36 +00:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
1998-05-30 16:45:51 +00:00
|
|
|
MAINTAINER= imap-uw@freebsd.ady.ro
|
1997-01-10 02:38:36 +00:00
|
|
|
|
1997-06-03 06:27:17 +00:00
|
|
|
ALL_TARGET= bsf
|
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
|
|
|
|
SHLIBMAJ= 4
|
|
|
|
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}"
|
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
|
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
|
|
|
|
${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
|
1998-07-17 20:19:14 +00:00
|
|
|
|
1998-11-14 09:43:39 +00:00
|
|
|
.include <bsd.port.post.mk>
|