2004-07-18 18:30:19 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.30 2004/07/18 22:30:19 jakob Exp $
|
2001-04-13 19:22:49 -04:00
|
|
|
|
|
|
|
COMMENT= "University of Washington's c-client mail access routines"
|
2002-12-01 16:15:38 -05:00
|
|
|
NO_REGRESS= Yes
|
2000-07-18 17:52:43 -04:00
|
|
|
|
2004-07-18 18:30:19 -04:00
|
|
|
VERSION= 4.61
|
2001-09-27 12:28:09 -04:00
|
|
|
DISTNAME= pine${VERSION}
|
2001-11-18 20:56:13 -05:00
|
|
|
PKGNAME= c-client-${VERSION}
|
2000-07-18 17:52:43 -04:00
|
|
|
CATEGORIES= mail devel
|
2001-09-27 12:28:09 -04:00
|
|
|
MASTER_SITES= ftp://ftp.cac.washington.edu/pine/ \
|
2002-12-01 16:15:38 -05:00
|
|
|
ftp://ftp.sunet.se/pub/unix/mail/pine/
|
2001-09-27 12:28:09 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.washington.edu/imap/
|
2000-07-18 17:52:43 -04:00
|
|
|
|
2002-11-25 15:08:48 -05:00
|
|
|
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
|
|
|
|
2000-09-15 05:44:12 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= No
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= No
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-07-18 17:52:43 -04:00
|
|
|
|
2003-06-15 17:41:16 -04:00
|
|
|
FLAVORS= kerberos
|
|
|
|
FLAVOR?=
|
|
|
|
|
2001-11-18 20:56:13 -05:00
|
|
|
SHLIB= libc-client.so.4.0
|
2000-09-15 05:44:12 -04:00
|
|
|
SUBST_VARS= SHLIB
|
|
|
|
|
2000-12-12 09:44:24 -05:00
|
|
|
MAKE_FLAGS= EXTRACFLAGS="${CFLAGS}" SHLIB="${SHLIB}" \
|
2003-06-15 17:41:16 -04:00
|
|
|
SSLTYPE="unix" CC="${CC}"
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mkerberos}
|
|
|
|
MAKE_FLAGS+= EXTRAAUTHENTICATORS="gss"
|
|
|
|
.endif
|
2000-07-18 17:52:43 -04:00
|
|
|
|
|
|
|
ALL_TARGET= bso
|
|
|
|
|
2001-09-27 12:28:09 -04:00
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME}/imap
|
|
|
|
|
2001-08-02 18:01:26 -04:00
|
|
|
HEADERS= c-client.h env.h env_unix.h flstring.h fs.h ftl.h imap4r1.h \
|
2001-02-18 10:24:39 -05:00
|
|
|
linkage.c linkage.h mail.h misc.h nl.h nntp.h osdep.h \
|
2004-07-18 18:30:19 -04:00
|
|
|
rfc822.h smtp.h tcp.h utf8.h
|
2000-07-18 17:52:43 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/c-client
|
2000-09-15 05:44:12 -04:00
|
|
|
cd ${WRKSRC}/c-client; ${INSTALL_DATA} ${HEADERS} ${PREFIX}/include/c-client
|
2000-07-18 17:52:43 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/c-client/c-client.a ${PREFIX}/lib/libc-client.a
|
2000-09-15 05:44:12 -04:00
|
|
|
@if [ -f ${WRKSRC}/c-client/${SHLIB} ]; then \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/c-client/${SHLIB} ${PREFIX}/lib; \
|
|
|
|
fi
|
2000-07-18 17:52:43 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
2000-09-15 05:44:12 -04:00
|
|
|
|
|
|
|
.if defined(NO_SHARED_LIBS) && ${NO_SHARED_LIBS:L} == "yes"
|
2001-09-27 12:28:09 -04:00
|
|
|
MAKE_ENV+= NO_SHARED_LIBS=Yes
|
2000-09-15 05:44:12 -04:00
|
|
|
.endif
|