openbsd-ports/mail/c-client/Makefile

42 lines
1.1 KiB
Makefile
Raw Normal View History

2001-02-02 11:43:55 -05:00
# $OpenBSD: Makefile,v 1.9 2001/02/02 16:43:55 brad Exp $
2001-02-02 11:43:55 -05:00
DISTNAME= imap-2000c
PKGNAME= c-client-2000c
CATEGORIES= mail devel
2000-11-11 11:32:45 -05:00
NEED_VERSION= 1.336
MASTER_SITES= ftp://ftp.cac.washington.edu/imap/
2000-09-15 05:44:12 -04:00
EXTRACT_SUFX= .tar.Z
2000-11-11 11:32:45 -05:00
MAINTAINER= Brad Smith <brad@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-12-12 09:44:24 -05:00
SHLIB= libc-client.so.2.1
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}" \
SPECIALAUTHENTICATORS="ssl"
ALL_TARGET= bso
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 \
2000-11-11 11:32:45 -05:00
osdep.h pop3.h rfc822.h smtp.h tcp.h utf8.h
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
${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
.include <bsd.port.mk>
2000-09-15 05:44:12 -04:00
.if defined(NO_SHARED_LIBS) && ${NO_SHARED_LIBS:L} == "yes"
2000-12-12 09:44:24 -05:00
MAKE_ENV= NO_SHARED_LIBS= Yes
2000-09-15 05:44:12 -04:00
.endif