spring cleaning:

- build kerberos support by default
- change maintainer (to ajacoutot@ as per his own request)
- fold some lines

ok ajacoutot
This commit is contained in:
mbalmer 2007-01-12 08:53:48 +00:00
parent 23f5dc1b64
commit 4eebce084a

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.33 2006/10/12 08:23:25 jakob Exp $
# $OpenBSD: Makefile,v 1.34 2007/01/12 08:53:48 mbalmer Exp $
COMMENT= "University of Washington's c-client mail access routines"
NO_REGRESS= Yes
VERSION= 4.64
DISTNAME= pine${VERSION}
PKGNAME= c-client-${VERSION}p0
PKGNAME= c-client-${VERSION}p1
SHARED_LIBS= c-client 4.0
CATEGORIES= mail devel
MASTER_SITES= ftp://ftp.cac.washington.edu/pine/ \
@ -13,24 +13,17 @@ MASTER_SITES= ftp://ftp.cac.washington.edu/pine/ \
HOMEPAGE= http://www.washington.edu/imap/
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
PERMIT_PACKAGE_CDROM= No
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= No
PERMIT_DISTFILES_FTP= Yes
FLAVORS= kerberos
FLAVOR?=
SHLIB= libc-client.so.${LIBc-client_VERSION}
MAKE_FLAGS= EXTRACFLAGS="${CFLAGS}" SHLIB="${SHLIB}" \
SSLTYPE="unix" CC="${CC}"
.if ${FLAVOR:L:Mkerberos}
MAKE_FLAGS+= EXTRAAUTHENTICATORS="gss"
.endif
MAKE_FLAGS= EXTRACFLAGS="${CFLAGS}" SHLIB="${SHLIB}" SSLTYPE="unix" \
CC="${CC}" EXTRAAUTHENTICATORS="gss"
ALL_TARGET= bso
@ -42,8 +35,10 @@ HEADERS= c-client.h env.h env_unix.h flstring.h fs.h ftl.h imap4r1.h \
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/include/c-client
cd ${WRKSRC}/c-client; ${INSTALL_DATA} ${HEADERS} ${PREFIX}/include/c-client
${INSTALL_DATA} ${WRKSRC}/c-client/c-client.a ${PREFIX}/lib/libc-client.a
cd ${WRKSRC}/c-client; ${INSTALL_DATA} ${HEADERS} \
${PREFIX}/include/c-client
${INSTALL_DATA} ${WRKSRC}/c-client/c-client.a \
${PREFIX}/lib/libc-client.a
@if [ -f ${WRKSRC}/c-client/${SHLIB} ]; then \
${INSTALL_DATA} ${WRKSRC}/c-client/${SHLIB} ${PREFIX}/lib; \
fi