# $OpenBSD: Makefile,v 1.8 2013/03/11 11:23:53 espie Exp $ COMMENT-main= UW e-mail client COMMENT-c-client= UW c-client mail access routines COMMENT-imap= UW IMAP4rev1/POP2/POP3 mail servers COMMENT-mailutil= UW IMAP4rev1/POP2/POP3 mail utility COMMENT-pico= UW text editor COMMENT-pilot= UW file system navigator V= 2.03 DISTNAME= re-alpine-${V} EXTRACT_SUFX= .tar.bz2 SHARED_LIBS= c-client 5.1 # grep "PICO version" ${WRKSRC}/pico/pico.h PICO_V= 5.05 # grep PILOT_VERSION ${WRKSRC}/pico/pilot.c PILOT_V= 2.99 PKGNAME-main= alpine-${V} PKGNAME-c-client= c-client-${V} PKGNAME-imap= imap-uw-${V} PKGNAME-mailutil= mailutil-uw-${V} PKGNAME-pico= pico-${PICO_V} PKGNAME-pilot= pilot-${PILOT_V} EPOCH-c-client= 0 EPOCH-imap= 0 EPOCH-mailutil= 0 REVISION-pilot= 6 REVISION-pico= 0 CATEGORIES= mail CATEGORIES-main= mail news CATEGORIES-c-client= devel mail CATEGORIES-pico= editors CATEGORIES-pilot= sysutils HOMEPAGE= http://www.washington.edu/alpine/ # Apache 2.0 PERMIT_PACKAGE_CDROM= Yes MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=re-alpine/} MULTI_PACKAGES= -main -c-client -imap -mailutil -pico -pilot WANTLIB= asn1 c crypto gssapi krb5 ncurses ssl WANTLIB-main= ${WANTLIB} com_err crypto kafs pthread ssl WANTLIB-c-client= # empty WANTLIB-imap= ${WANTLIB} com_err crypto kafs ssl WANTLIB-mailutil= ${WANTLIB} com_err crypto kafs ssl WANTLIB-pico= ${WANTLIB} pthread WANTLIB-pilot= ${WANTLIB} pthread MODULES= devel/gettext BUILD_DEPENDS= textproc/aspell/core RUN_DEPENDS= textproc/aspell/core # Link error: c-client not found! USE_LIBTOOL= gnu SHLIB= libc-client.so.${LIBc-client_VERSION} MAKE_FLAGS= EXTRACFLAGS="${CFLAGS}" SHLIB="${SHLIB}" SHLIBNAME=${SHLIB} CC="${CC}" EXTRAAUTHENTICATORS="gss" CONFIGURE_STYLE= gnu CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ LIBS="-lgssapi -lkrb5 -lasn1 -lcrypto" \ ac_cv_search_regcomp=-lc CONFIGURE_ARGS= ${CONFIGURE_SHARED} \ --with-krb5-include-dir=/usr/include/kerberosV \ --with-system-pinerc=${SYSCONFDIR}/pine.conf \ --with-system-fixed-pinerc=${SYSCONFDIR}/pine.conf.fixed \ --with-system-mail-directory=/var/mail \ --with-ssl-certs-dir=/etc/ssl \ --with-simple-spellcheck=aspell \ --with-interactive-spellcheck=aspell \ --with-c-client-target=bso \ --with-debug-level=0 \ --without-ldap \ --without-tcl \ --enable-quotas \ --disable-debug HEADERS= c-client.h dummy.h env.h env_unix.h fdstring.h \ flockcyg.h flocksim.h flstring.h fs.h ftl.h \ imap4r1.h linkage.c linkage.h mail.h misc.h \ netmsg.h newsrc.h nl.h nntp.h osdep.h pseudo.h \ rfc822.h smtp.h sslio.h tcp.h tcp_unix.h unix.h \ utf8.h utf8aux.h post-install: # alpine, pico, pilot ${INSTALL_DATA_DIR} ${PREFIX}/share/{doc,examples}/alpine ${INSTALL_DATA} ${WRKSRC}/doc/tech-notes.txt \ ${WRKSRC}/doc/mailcap.unx \ ${WRKSRC}/doc/mime.types \ ${PREFIX}/share/doc/alpine ${WRKBUILD}/alpine/alpine -conf > \ ${PREFIX}/share/examples/alpine/pine.conf # c-client ${INSTALL_DATA_DIR} ${PREFIX}/include/c-client cd ${WRKSRC}/c-client; ${INSTALL_DATA} ${HEADERS} \ ${PREFIX}/include/c-client ${INSTALL_DATA} ${WRKBUILD}/c-client/c-client.a \ ${PREFIX}/lib/libc-client.a @if [ -f ${WRKBUILD}/imap/c-client/${SHLIB} ]; then \ ${INSTALL_DATA} ${WRKSRC}/c-client/${SHLIB} ${PREFIX}/lib; \ fi # imap-uw ${INSTALL_PROGRAM} ${WRKBUILD}/imap/imapd/imapd ${PREFIX}/libexec ${INSTALL_PROGRAM} ${WRKBUILD}/imap/ipopd/ipop2d ${PREFIX}/libexec ${INSTALL_PROGRAM} ${WRKBUILD}/imap/ipopd/ipop3d ${PREFIX}/libexec ${INSTALL_PROGRAM} ${WRKBUILD}/imap/mlock/mlock ${PREFIX}/libexec ${INSTALL_PROGRAM} ${WRKBUILD}/imap/dmail/dmail ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKBUILD}/imap/tmail/tmail ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/imap/src/{imapd,ipopd}/*.8 \ ${PREFIX}/man/man8 ${INSTALL_MAN} ${WRKSRC}/imap/src/{dmail,tmail}/*.1 \ ${PREFIX}/man/man1 ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/imap-uw ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/imap-uw ${INSTALL_DATA} ${FILESDIR}/c-client.cf \ ${PREFIX}/share/examples/imap-uw tar -C ${WRKSRC}/imap/docs -cf - . | \ tar -C ${PREFIX}/share/doc/imap-uw -xf - # mailutil ${INSTALL_PROGRAM} ${WRKBUILD}/imap/mailutil/mailutil ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/imap/src/mailutil/mailutil.1 ${PREFIX}/man/man1 .include .if defined(NO_SHARED_LIBS) && ${NO_SHARED_LIBS:L} == "yes" MAKE_ENV += NO_SHARED_LIBS=Yes .endif